mass_properties
Calculate volume, surface area, centroid, bounding box, and inertia tensor for a shaped object. Provide density to also get mass in kg.
Instructions
Mass properties of a shaped object: volume (mm³), surface area (mm²), centroid, bounding box, inertia tensor. If density (kg/mm³) is given, also returns mass (kg). Steel = 7.9e-6, aluminum = 2.7e-6, ABS = 1.05e-6.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handle | Yes | ||
| density | No |