mass_properties
Calculates volume, mass, center of mass, and combined inertia tensor for CAD objects, using material density or overrides; reports volume only when no material is set.
Instructions
Volume, mass (g), centre of mass (mm) per object and for the set, plus the combined inertia tensor (g*mm2, about the
combined centre of mass, world axes). Density comes from each object's material (set_properties) unless material
or density_kg_m3 overrides it for all objects. Objects without material report volume only.
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": "<doc>"
},
"name": "mass_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | ||
| objects | No | ||
| material | No | ||
| density_kg_m3 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |