find_faces
Locates faces in an Autodesk Inventor part or assembly by surface type, normal, position, diameter, and area, returning references for selection and constraints.
Instructions
Find faces, filtered by type, direction, position or size. Without path: the active
part (the index feeds create_sketch, sheet_metal_cut). With path: a component of the
active assembly at any depth, in TOP assembly coordinates, with a ref ("Sub:1/Part:1#F12")
for constrain; a sub-assembly path searches every part in it.
Args: path: Component path (manage_occurrences list, depth=2). Empty = the active part. surface: "plane", "cylinder", "cone", … (empty = any). normal: Outward normal of a plane, e.g. [0, 0, 1] for faces looking up. at: Face center coordinates to match, e.g. {"Z": 182.5}. diameter: Cylinder diameter in mm. min_area: Skip faces smaller than this (mm²). max_count: Most results to return.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | ||
| path | No | ||
| normal | No | ||
| surface | No | ||
| diameter | No | ||
| instance | No | Which connected Inventor to use (list_instances). Leave empty when only one is connected. | |
| min_area | No | ||
| max_count | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |