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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"doc_name": "<doc_name>",
"obj_name": "<obj_name>"
},
"name": "measure_geometry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_name | Yes | ||
| obj_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |