LinkageDesigner Package Paclet SymbolSee Also »|More About »

RearrangeDParametersB

RearrangeDParametersB[linkage, {vars}]
function rearranges the derived parameters - if it is possible - in such a way that the list of {vars} become the new list of driving variables.
  • The loop closing variables are selected by default with a simple heuristic during the kinematic pair definition process. This automatic selection can be overrided with the RearrangeDParametersB function.
  • This function selects vars as the list of driving variables and distribute the remaining list of variables among the $LDDerivedParametersB records.
  • The number of new driving variables (vars) should be equal with the old ones.
  • The function checks whether the rearrangement is possible and retruns the new linkage only if the rearrangement does not violate constraints.
Load the LinkageDesigner package
In[1]:=
Click for copyable input
Define a crank slider mechanism
In[2]:=
Click for copyable input
Out[2]=
The automatic loop closing variable selection took 2 and d variables and leave 1 variable as driving variable
In[3]:=
Click for copyable input
Out[3]=
The two equation in the crank@RotationalJoint-4 records expresses {2, d} variables
In[4]:=
Click for copyable input
Out[4]=
Rearrange the linkage by setting d as driving variable
In[5]:=
Click for copyable input
Out[5]=
The rearrangement is possible since {1, 2} variables could also expressed from the existing loop closing equations
In[6]:=
Click for copyable input
Out[6]=
In[7]:=
Click for copyable input
Out[7]=