measure
Get complete geometric summary of a 3D shape including volume, surface area, topology, bounding box, center of mass, inertia tensor, and face-type classification. Optionally compute mass with density or material preset.
Instructions
Measure a shape and return a complete geometric summary: volume (mm³), surface area (mm²), topology (face/edge/vertex counts), bounding box with per-axis size and center, volumetric center of mass, 6-component inertia tensor (Ixx/Iyy/Izz/Ixy/Ixz/Iyz), and a face-type inventory classifying every face as Plane/Cylinder/Cone/Sphere/Torus/BSpline with area and type-specific params (e.g. cylinder diameter and axis); identical faces are collapsed with a count, non-analytic sliver faces folded into one summary line. Prefer measure over render_view for verifying geometry — numbers are unambiguous. topology is the fastest confirmation that a boolean operation succeeded: a failed cut leaves face/edge/vertex counts unchanged. object_name: named object from show() (default: current shape). density (g/cm³) or material preset (steel, stainless, aluminum/6061, brass, copper, titanium, abs, pla, petg, nylon) adds mass_g and scales inertia to true mass moments in g·mm².
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object_name | No | ||
| density | No | ||
| material | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |