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.
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": "smallest_faces"
}
}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. |