AssignMass

AssignMass[linkage, link, m]
sets mass (m) to link and returns the resulted LinkageData object.
  • The unit of the mass is defined in the $LDMechanismID record of the linkage.
  • If the linkage does not have $LDMassProperties record, the function inserts one with default CM marker and moment of inertia values.
Load the LinkageDesigner package
In[1]:=
Click for copyable input
Load the predefined crank slider linkage
In[2]:=
Click for copyable input
Out[2]=
Assign mass to link2
In[3]:=
Click for copyable input
Out[3]=
List the $MassProperties record
In[4]:=
Click for copyable input
Out[4]=