measure_geometry
Measure a FreeCAD object's shape to verify design targets numerically, returning volume, area, bounding box, center of mass, and validity.
Instructions
Measure an object's Shape (the object must have one) to verify a design target numerically.
Returns: JSON volume_mm3, area_mm2, bbox, center_of_mass, element counts, is_valid, shape_type. Numbers carry 6 significant digits; the bbox is OCC's bound box, exact for planar shapes and within about 0.1 mm on curved ones.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_name | Yes | ||
| obj_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |