Calculate Mass Properties
calculate_mass_propertiesMeasure the active part or assembly's mass properties—volume, mass, center of mass, and inertia—using this deprecated alias for get_mass_properties.
Instructions
Deprecated: use get_mass_properties.
Measure the active part or assembly's mass properties (the old name of get_mass_properties).
It returns exactly what get_mass_properties returns; use that instead. 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²) and principal_axes.
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": {
"input_data": "<input_data>"
},
"name": "calculate_mass_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | Nothing: it always measures the active model. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||