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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | ||
| objects | No | ||
| material | No | ||
| density_kg_m3 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |