CommonParameters

CommonParameters
is an option for MergeLinkage function,that specifies the list of parameters that are kept identical after merging. The other parameters are replaced with unique names.
  • Linkages have a set of symbol that are stored in Linkage Record such as:
  • In case merging two linkages subset of these parameters might occur in both LinkageData records. Depending on the user's intent the variables might merged, or should be stored separately. In the first case the common variable names are not renamed but Union. The latter case the common variable names are renamed to maintained their unique function.
  • Renamed variables are use the q->qc1 , qci->qci+1 rename patterns
  • Common variable could be defined with Except[{Subscript[q, 1], q2, ...}] list. This case all parameters are considered common except the specified list.
Load LinkageDesigner package
In[1]:=
Click for copyable input
Load the fourbar-mechanism from the example linkages repository
In[2]:=
Click for copyable input
Out[2]=
Create 3 copies of linkage1 each linkage rotated 120° around its origin
In[3]:=
Click for copyable input
Attache the tree fourbar mechanisms to the workbench of the mechSum linkage keeping identical the driving variable and dimensional simple parameters
In[4]:=
Click for copyable input
Out[4]=
Display the graph of the resulting linkage
In[5]:=
Click for copyable input
Out[5]=
Animate the created linkage by driving the common driving variable
In[6]:=
Click for copyable input
Out[6]=