Mesh Mass Properties
robosim_mesh_mass_propertiesCompute mass, center of mass, and inertia tensor from a closed STL or OBJ mesh using geometry integration. Input mesh file and density to obtain inertial properties.
Instructions
Compute mass, center of mass, and inertia tensor of a closed STL/OBJ mesh, integrated from the geometry. Coordinates in meters, density in kg/m^3.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| density | No | ||
| filename | Yes | ||
| content_base64 | Yes | Mesh bytes, base64 (binary STL, ASCII STL, or OBJ). |