Linkage2D

Linkage2D[linkage]
renders linkage in the actual posture in 2D as Graphics object. The function renders linkage first with Linkage3D, than project the geometries to x-y coordinate plane.
Linkage2D[linkage, dir]
porject the 3D graphics primitive to the dir plane. Possible values for dir: {Top, Bottom, Left, Right, Front, Back}.
Linkage2D[Dynamic[linkage]]
renders linkage in the actual posture as dynamic Graphics object.
  • Linkage2D displays the geometric representation of the linkage as a Graphics object.
  • The function projects Linkage3D object to the x-y plane.
  • Linkage2D[linkage] renders the linkage with flattened topology of the linkage graph. Every link geometries are transformed to the spatial position defined by the posture of the linkage before rendering it.
  • Linkage2D[Dynamic[linkage]] renders linkage with graph topology. Link geometries are transformed to the spatial posture using GeometricTransformation nodes at rendering time.
  • Linkage2D[Dynamic[linkage]] generates a temporary unique variable and adds to the $Dynamic record of the LinkageData. This variable is used to dynamically update the visualization during the session. A new variable is generated any time one of the dynamic visualization function is called with linkage.
  • Possible projection values:
Top project to the upper x-y plane
Bottomproject to the lower x-y plane
Leftproject to the left y-z plane
Rightproject to the righ y-z plane
Frontproject to the front x-z plane
Backproject to the back x-z plane
  • The following options can be given:
LinkMarkersNonedefines the name of the links, of that the LLRF should be displayed.
LinkGeometryAlldefines the name of the links, of that the geometry should be displayed.
JointMarkersNonespecifies the joint markers tob shown.
MarkerSize1 define the length of the axes of the marker.
MarkerLabels{x, y, z}MarkerLabels is an option for Marker3D function, that specifies the labels of the axes.
MarkerLabelStyle{}MarkerLabelStyle is an option for Marker3D function, that specifies the style of the marker labels.
MarkerAxesStyleAutomaticMarkerAxesStyle is an option for Marker3D function, that defines the sytle of the axes. The style can contain a list of Arrow3D options.
ForceSize5specifies the size of the maximum force vector
ForceStyleAutomaticgraphics directrives of the force elements
AnnotateLinkageFalseadd mouse annotation to the linkage
  • Linkage2D also accepts all Graphics options
Load LinkageDesigner package
In[1]:=
Click for copyable input
Load the pre-defined LinkageData of the four bar mechanism
In[2]:=
Click for copyable input
Out[2]=
Display the LLRF markers and the geometry of the linkage
In[3]:=
Click for copyable input
Out[3]=