Get mass properties
onshape_mass_propertiesRetrieve volume, mass, centroid, and inertia for bodies in an Onshape Part Studio by providing document, workspace, and element IDs.
Instructions
Volume, mass, centroid and inertia for the Part Studio's bodies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ws | Yes | Workspace id — the <ws> segment of the document URL. | |
| doc | Yes | Document id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>. | |
| elem | Yes | Element id (tab) — the <elem> segment of the document URL. | |
| configuration | No | Encoded configuration string from onshape_encode_configuration. |