VolumeIntegration

VolumeIntegration[gr, density]
calculates the mass properties of gr polytope, assuming uniform density . The function returns the {frame,mass,moment of inertia } of the Graphics3D object.
VolumeIntegration[linkage, density]
calculates the mass properties of all links of linkage assuming uniform density
  • The function calculates volume integrals needed for determining mass properties of polyhedral bodies.
  • The function assumes that the faces of the object are polygons with vertices in clockwise order. If the vertices are anti-clockwise order the material is placed the other side of the polygon, which results incorrect volume calculation.
  • If the Graphics3D object (gr) does not define a volume limited by polygons, the function returns $Failed.
Load the LinkageDesigner package
In[1]:=
Click for copyable input
This loads the "SpaceShuttle" example graphics
In[2]:=
Click for copyable input
Out[2]=
Calculate the mass properties of the example graphics assuming unit density
In[3]:=
Click for copyable input
Display the calculated mass properties
In[4]:=
Click for copyable input
Out[4]=
Display the center of mass and the reference frame of the Moment of Inertia tensor together with the graphics
In[5]:=
Click for copyable input
Out[5]=