LinkageDesigner Package Paclet SymbolMore About »

MeasureDistance

MeasureDistance[linkage, linki, linkj]
calculates the parameterized distance vector measured from the origin of linki to origin of linkj markers.
MeasureDistance[linkage, {linki, pi}, {linkj, pj}]
calculates the parameterized distance vector measured from the pi point of linki to pj point of linkj markers.
MeasureDistance[linkage, linki]
calculates the parameterized coordinates of origin of linki w.r.t world reference frame.
MeasureDistance[linkage, {linki, pi}]
calculates the parameterized coordinates of pi point of linki w.r.t world reference frame.
  • The following options can be given:
ReferenceFrameAutomaticReferenceFrame is an option for GetLLRFMatrix function, that specifies the name of the refrence link. The LLRF of this link is the reference coordinate system.
SubstituteParametersFalseSubstituteParameters is an option for GetLLRFMatrix and GetLinkageRules functions,that specifies, whether the numerical values of the linkage parameters should be substitued into the result or not.
SubstitutionListNoneSubstitutionList is an option for GetLLRFMatrix function that defines the substitution list for the calculation
Load LinkageDesigner package
In[1]:=
Click for copyable input
Load the pre-defined crank slider mechanism
In[2]:=
Click for copyable input
Out[2]=
Display the linkage
In[3]:=
Click for copyable input
Out[3]=
Measure the distance between link0 and link3 marker
In[4]:=
Click for copyable input
Out[4]=
Get substitution list for one full rotation of link1
In[5]:=
Click for copyable input
Display the x coordinates of the measured distance as a function of q1 angle ( which is the driving variable of the mechanism)
In[6]:=
Click for copyable input
Out[6]=
Display the y coordinates of the measured distance as a function of q1 angle
In[7]:=
Click for copyable input
Out[7]=