AssignMassTo

AssignMassTo[linkage, link, m]
set mass (m) of the link and resets the resulted LinkageData to linkage.
  • 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]=
Assign inertia to link2
In[4]:=
Click for copyable input
Out[4]=
List the $MassProperties record
In[5]:=
Click for copyable input
Out[5]=