DefineLinkage

DefineLinkage[str, ls]
creates a new linkage with str name and with list of kinematic pair definitions (ls).
DefineLinkage[linkage, ls]
appends kinematic pair definitions (ls) to linkage.
  • In case of the first argument of DefineLinkage function is a string(str), than it calls CreateLinkage function with str argument. The resulted LinkageData is populated with the list of kinematic pair definition in ls.
  • In case of the first argument of DefineLinkage function is a LinkageData, than this database is appended with the list of kinematic pair definition in ls.
  • The items in ls list can be specified using the planar and spatial joint definition helper functions such as R2 , T2 , F2 , R3, T3, F3, S3, U3, C3, P3.
  • The function calls the DefLinkGeometryTo function and assigns simplified geometries to every links of the linkage. The type of link geometry assigned is determined by the LinkGeometryType option.
  • The following options can be given:
WorkbenchNamelink0Specifies the name of the workbench link.
LinkGeometryTypeAutomaticSpecifies the type of geometry to add to the links. Possible list of values {"Line", "Shape", "None"}.
WorkbenchPlacementAutomaticWorkbenchPlacement specifies the placement of the Workbench link w.r.t to the Ground.
SimpleParameters{}Specifies the parameters used in the function together with their numerical substitutional values.
LinkageUnitsAutomaticSpecifies the default units used in the linkage. E.g. LinkageUnits-> {Meter,Kilogramm,Second,Newton}
PlacementNameAutomaticPlacementName specifies the simple name of the Ground-Workbench kinematic-pair in the $LDStructure record.
Load the LinkageDesigner package
In[1]:=
Click for copyable input
Define the planar 4-bar mechanism using the following link names
Click for copyable input
To define the linkage a list of kinematic pair should be defined as the second arument of the function
In[2]:=
Click for copyable input
Out[2]=
Display the kinematic graph of the linkage
In[3]:=
Click for copyable input
Out[3]=