inspect_part
Inspect a 3D model's bbox, counts, holes, bosses, patterns, and cross-section profile. Compare against expected JSON to get explicit PASS/FAIL and mismatches for design validation.
Instructions
Return one compact generation-checkpoint inventory: bbox, solid/topology counts, holes grouped by axis/diameter/depth/bottom, bosses grouped by axis/diameter/height, recognised patterns with member counts, and a cross-section area profile. expected is an optional JSON object derived from the drawing/spec; supported keys are bbox [x,y,z], solid_count, holes/bosses/patterns group lists, section_varying, and tolerance. Pattern groups can check type, diameter, pitch, direction, center, member_count, and member_diameter. A supplied feature category is an exact inventory: unexpected or ambiguously matched groups fail. With expectations, returns explicit PASS/FAIL plus mismatches. Without them, returns INVENTORY plus heuristic warnings for shallow partial cuts and nearly constant sections. Unsupported expectation keys are rejected; this tool contains no built-in fixture expectations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expected | No | ||
| object_name | No | ||
| section_axis | No | Z | |
| section_slices | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |