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.
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": {
"filename": "<filename>",
"content_base64": "<content_base64>"
},
"name": "robosim_mesh_mass_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| density | No | ||
| filename | Yes | ||
| content_base64 | Yes | Mesh bytes, base64 (binary STL, ASCII STL, or OBJ). |