Mechanism parts library: Open and modify mechanisms from this site in the linkage builder
This library collects the mechanisms explained on this site that use pin and sliding joints. Click "Open in the linkage builder" to load a mechanism into linkage the linkage builder, where you can modify it by moving points, adding links, and more.
Each mechanism is run with the same general-purpose solver as the linkage builder. We check whether the input makes a full rotation and how far it swings before including it.
Four-bar linkage types and parallel linkages
-
Crank-rocker
- Points and links
- 5 points, 5 links
- Input motion
- Full rotation
- Degrees of freedom
- 1
-
Double-crank
- Points and links
- 5 points, 5 links
- Input motion
- Full rotation
- Degrees of freedom
- 1
-
Parallel linkage (parallelogram)
- Points and links
- 5 points, 5 links
- Input motion
- Full rotation
- Degrees of freedom
- 1
-
Double-rocker
- Points and links
- 5 points, 5 links
- Input motion
- Reciprocation of 61°
- Degrees of freedom
- 1
Mechanisms with sliding joints
-
Slider-crank mechanism
- Points and links
- 4 points, 2 links
- Input motion
- Full rotation
- Degrees of freedom
- 1
-
Scotch yoke
- Points and links
- 7 points, 4 links
- Input motion
- Full rotation
- Degrees of freedom
- 1
-
Quick-return mechanism (shaper)
- Points and links
- 7 points, 3 links
- Input motion
- Full rotation
- Degrees of freedom
- 1
Push-driven and dual-input mechanisms
-
Elliptic trammel
- Points and links
- 6 points, 3 links
- Input motion
- Full rotation
- Degrees of freedom
- 1
-
Toggle mechanism (knee press)
- Points and links
- 4 points, 2 links
- Input motion
- Reciprocation of 198 mm
- Degrees of freedom
- 1
-
Pantograph (two inputs)
- Points and links
- 6 points, 8 links
- Input motion
- Reciprocation of 230 mm, Two (hold one still)
- Degrees of freedom
- 2
Straight-line mechanisms
-
Watt's linkage (straight line)
- Points and links
- 5 points, 5 links
- Input motion
- Reciprocation of 86°
- Degrees of freedom
- 1
-
Chebyshev linkage
- Points and links
- 5 points, 5 links
- Input motion
- Reciprocation of 64°
- Degrees of freedom
- 1
-
Hoeken linkage
- Points and links
- 5 points, 5 links
- Input motion
- Full rotation
- Degrees of freedom
- 1
-
Roberts linkage
- Points and links
- 5 points, 5 links
- Input motion
- Reciprocation of 179°
- Degrees of freedom
- 1
-
Peaucellier–Lipkin linkage
- Points and links
- 6 points, 7 links
- Input motion
- Reciprocation of 164°
- Degrees of freedom
- 1
Six- and eight-bar mechanisms (multi-link)
-
Watt six-bar linkage
- Points and links
- 7 points, 7 links
- Input motion
- Full rotation
- Degrees of freedom
- 1
-
Stephenson six-bar linkage
- Points and links
- 7 points, 7 links
- Input motion
- Full rotation
- Degrees of freedom
- 1
-
Jansen's linkage (ratio)
- Points and links
- 8 points, 11 links
- Input motion
- Full rotation
- Degrees of freedom
- 1
Lengths are ratios (unitless)
-
Klann linkage
- Points and links
- 8 points, 9 links
- Input motion
- Full rotation
- Degrees of freedom
- 1
How to use
- Choose a mechanism and click "Open in the linkage builder" The point table, link table, rotation input, and trajectory point are filled in with that mechanism's values.
- Change the point coordinates Link lengths are determined by point positions, so moving a point changes the mechanism's dimensions. If it can no longer move, the degrees-of-freedom diagnosis explains why (degrees of freedom of mechanisms).
- Save Use "Save" in the linkage builder or "Save JSON" on this page to create a model file. You can load it into the linkage builder later (Saving and exporting data).
A straight bar with three holes in a row
The couplers in Watt's linkage and Hoekens's linkage are single bars with three holes in a straight line.
When connected by three links
Even when the middle point shifts sideways, the lengths barely change. The pose then becomes indeterminate in the calculation, and the mechanism cannot move.
How the linkage builder handles it
When three points connected by links are in a straight line, the middle point is constrained to stay "on the line of the bar." This lets Hoekens's linkage make a full rotation too.
In a saved file, this point is written as a constraint for a "point on a line." When loaded, it becomes part of the same bar again.
A pose where two assembly modes meet (change point)
In a parallel linkage (parallelogram), there are two poses where the crank is in a straight line with the ground link. At these poses, the parallelogram assembly mode and the crossed assembly mode meet. The next pose cannot be determined from the angle alone.
Without special handling
A calculation that determines the next pose from the angle alone stops just before the change point.
How the linkage builder handles it
It skips past the stopped pose and solves again from a pose that extends the previous motion. It continues along the same motion only if the solution settles at almost the same place.
The parallel linkage makes a full rotation while remaining a parallelogram, and the angles it passes through are shown in the linkage builder diagnosis.
Sliding joints (slider and slot)
When you add a "sliding" joint in the linkage builder, a point can move only along the straight line through two other points.
Fix two points
This makes a slider guide (the piston in a slider-crank mechanism).
Make it a point on a moving link
This makes a slot in a link (the lever in a quick-return mechanism, or the yoke in a Scotch yoke).
For the library, we check that the following positions match at every pose.
Push-to-move inputs and two inputs
Link orientation
Used to rotate a crank or tilt the bar of an ellipse-drawing compass, for example.
Point x or y
Used to push down the knee of a toggle mechanism or move the needle of a pantograph, for example.
For mechanisms that need two inputs, such as a pantograph, set the value of the second input and hold it fixed, then move the first input to run the mechanism. In the pantograph example, the needle height y is held fixed while the needle moves left and right.
We check that the following paths are traced at every pose.
- Ellipse-drawing compass pointTraces the ellipse.
- Toggle mechanism sliderTraces the position 2√(100² − y²).
- Pantograph penTraces a position exactly twice that of the needle.
What is not in this library
- Cams, gears, and beltsTry these in the experiments on their respective pages.
- Mechanisms with curved slotsThese are not included in the library, but you can draw and test a curved slot fixed to the ground in The linkage builder (a circular-arc slot produces the same motion with a "center point + link").
How the values are calculated
For each mechanism, we place the points using the same dimensions as on its respective page (for straight-line mechanisms, values scaled to a stroke of 100 mm; for Jansen's linkage, ratios), then move the input in 1° increments with the same general-purpose solver as the linkage builder.
For the 8 types of 4-bar linkages, each time we build a page, we check that the joints and trajectory points calculated by the general-purpose solver match the closed-form equation values at every pose, and that the reciprocating input reaches within 1° of both ends of the movable range from the closed-form equation. The calculation engine version is 0.1.0.