list_faces
Lists faces of the active part or a specified feature, with type, on-face point, area, normal, and cylinder data for selecting, measuring, or referencing faces instead of guessing coordinates.
Instructions
Faces of the active part (or only those created by 'feature'), each with its type, a point lying ON it (point_mm, model coordinates: pass it to select_face_at_point, hole, shell, fillet face_points, create_plane face_point...), area, outward normal of planar faces, and diameter / axis of cylinders (concave=True for holes). Use it instead of guessing coordinates.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_faces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of faces returned | |
| feature | No | ||
| face_type | No | any |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| faces | Yes | ||
| total | Yes | ||
| truncated | Yes |