AssignCMMarker

AssignCMMarker[linkage, link, mx]
Defines the Center of Mass marker (mx) of the link. The function adds one subrecord to the $LDMassProperties record and returns the resulted LinkageData object.
  • If the linkage does not have $LDMassProperties record, the function inserts one with default mass and moment of inertia values.
  • Center of Mass marker is defined with a 4x4 homogenous transformation matrix.
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 a Center of Mass marker to link2
In[3]:=
Click for copyable input
Out[3]=
List the $MassProperties record
In[4]:=
Click for copyable input
Out[4]=