Find the smallest faces
smallest_facesList N faces sorted by area ascending to detect sliver or near-zero-area import defects in STEP/IGES models. Returns face indices, areas, edge counts, and centers.
Instructions
Lists the N smallest faces of a body, sorted by area ascending. Each entry has the 1-based face index, area in mm^2, edge count, surface type and center point in mm. Also returns the body's total face count and total area. Use it to find import defects such as sliver or near-zero-area faces from STEP/IGES files; the returned indices work with face_neighbors and unwrap_try.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | 1-based index of the solid/surface body in the part, as listed by `model_info`. Most parts have one body. | |
| count | No | How many of the smallest faces to return. | |
| document | No | Display name of an open document, as listed by `status` (e.g. "Bracket.ipt"). Omit or leave empty to use the active document. |