Get Mass Properties
get_mass_propertiesMeasures the active part or assembly's mass properties—volume, surface area, mass, center of mass, and moments of inertia—for CAD model analysis and validation.
Instructions
Measure the active part or assembly's mass properties: volume, surface area, mass, centre of mass and moments of inertia.
The same as calculate_mass_properties, which it calls. To compare a model with
the values you expect, use verify_model. Mass depends on the assigned material
(set_material). Needs: an open part or assembly. Read-only. It rebuilds first.
Returns: mass_properties with volume (mm³), surface_area (mm²), mass
(kg), center_of_mass (mm), moments_of_inertia (kg·mm², about the centre
of mass) and principal_axes.
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": "get_mass_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | No | Optional, and empty: it always measures the active model. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||