find_face
Locate a planar face by centroid coordinates to get its face index for sketching on the correct outer panel during sheet metal cuts.
Instructions
Find a planar face by its centroid coordinates (mm). Returns face index (string). Useful for sheet metal Cut — locate the outer panel face to sketch on.
Args: x/y/z: Target centroid coordinates (mm). use_x/y/z: Set True for each coord that should be matched. min_area: Minimum area in mm² (filters tiny edge faces). Default 100. tolerance: Centroid match tolerance (mm). Default 0.5.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| z | No | ||
| use_x | No | ||
| use_y | No | ||
| use_z | No | ||
| instance | No | Which connected Inventor to use (list_instances). Leave empty when only one is connected. | |
| min_area | No | ||
| tolerance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |