Skip to content
You Start with one site
Amounts in Start with one site
Mechanical Engineering & Design · Course

Four-Bar Linkage Mechanism

Lesson 2 of 10 23 min read
Made with FreeCAD 1.1checked November 2026Newer version?
Stays the same
  • Sketches, constraints and degrees of freedom
  • Design intent: spreadsheet, sketch, feature, assembly
  • Part Design features: pad, pocket, revolve, fillet
  • Drawings from the model, not drawn by hand
May look different
  • Menu and toolbar places
  • The Assembly workbench, new in 1.0 and growing fast
  • Dialog layouts and default settings

A step looks different? Hover the toolbars, or use the menu of the workbench named in the step. The command name is the part that stays.

The ideas in this lesson do not depend on the version. Where a click moved, the lesson still names the command.

Found this useful?

A single rotating shaft can drive a windshield wiper, a rocking sprinkler, or a walking robot leg, all with the same basic mechanism: four rigid links and four pin joints. The difference between a smooth, reliable motion and a mechanism that locks up mid-cycle comes down to link length ratios, which is exactly what Grashof’s Theorem predicts. In this lesson you will design a four-bar linkage in FreeCAD using master sketch techniques and expression-driven dimensions, then verify Grashof’s condition to guarantee full rotation of the input crank. #FreeCAD #FourBarLinkage #GrashofTheorem #MasterSketch

Learning Objectives

By the end of this lesson, you will be able to:

  1. Create master sketches for kinematic layout control
  2. Apply construction geometry as reference for multiple parts
  3. Implement spreadsheet-driven parametric mechanisms
  4. Understand Grashof’s Theorem and link length relationships
  5. Assemble pin-jointed linkage systems with motion verification

Engineering Context: Why This Mechanism Matters



The four-bar linkage is one of the simplest yet most versatile planar mechanisms in mechanical engineering. It forms the backbone of countless mechanical systems, from vehicle suspensions to robotic arms, and understanding its design is fundamental to mechanism synthesis.

Real-World Applications

The four-bar linkage appears in countless engineering applications:

The Engineering Problem

Design Challenge: Given four rigid links connected by revolute joints with one link fixed, how do we create controlled motion transformation with predictable path characteristics and full rotation capability?

Mechanism Fundamentals



Components and Motion

A four-bar linkage consists of four elements working together:

1. Ground Link (Link 1)

  • Fixed base providing reference frame
  • Contains pivot points for moving links

2. Input Link/Crank (Link 2)

  • Driven link, may rotate fully or oscillate
  • Determines mechanism configuration

3. Coupler (Link 3)

  • Connects crank and follower
  • Points on coupler trace complex curves

4. Output Link/Follower (Link 4)

  • Produces desired motion output
  • May rotate or oscillate depending on design

What You’ll Build



By completing this lesson, you’ll create:

Master Sketch Layout

One kinematic sketch controlling all four parts simultaneously

Parametric Linkage

Four interacting parts driven by spreadsheet parameters

Working Assembly

Pin-jointed mechanism demonstrating Grashof’s Theorem

Technical Drawing

Professional documentation for manufacturing linkage plates

Parametric Design Strategy



We’ll use a master sketch approach: defining the complete kinematic layout once, then referencing it from all parts. This is how professionals design mechanisms where geometric relationships between parts are more critical than individual part dimensions.

Our Design Approach

Master Sketch Philosophy

We’ll control the entire four-bar mechanism with one master sketch plus four length parameters:

Link1 = 100 mm Link2 = 40 mm Link3 = 80 mm Link4 = 70 mm

Change the master sketch → all parts update automatically!

This is the power of kinematic-first parametric design.

Design Workflow

  1. Create Spreadsheet (parameter table)

  2. Create Master Sketch (kinematic layout)

  3. Create Link 1 - Ground (reference master)

  4. Create Link 2 - Crank (reference master)

  5. Create Link 3 - Coupler (reference master)

  6. Create Link 4 - Follower (reference master)

  7. Assemble with pin joints

  8. Create technical drawing

  9. Test Grashof configurations

Part 3: Creating the Parameter Spreadsheet



Building Your Parameter Table

  1. Create a new document

    File → New (or Ctrl+N)

    Save it as FourBarLinkage.FCStd

  2. Switch to Part Design workbench

    Use the workbench dropdown at top

  3. Insert a spreadsheet

    Insert → Spreadsheet

    A “Spreadsheet” object appears in the left tree

  4. Double-click to open the spreadsheet

    Click on “Spreadsheet” in the tree

Entering Parameters

In the spreadsheet, create this table:

CellValueMeaning
A1ParameterHeader
B1ValueHeader
C1UnitHeader
A2Link1Ground link length
B2100Numeric value
C2mmUnit (documentation)
A3Link2Crank length
B340Numeric value
C3mmUnit
A4Link3Coupler length
B480Numeric value
C4mmUnit
A5Link4Follower length
B570Numeric value
C5mmUnit
A6LinkWidthLink plate width
B620Numeric value
C6mmUnit
A7LinkThicknessLink plate thickness
B78Numeric value
C7mmUnit
A8PinRadiusPin hole radius
B84Numeric value
C8mmUnit

Close the spreadsheet when done (click the Close button).

Your parameter foundation is ready!

Part 4: Creating the Master Sketch



What is a Master Sketch?

Master Sketch Concept

A master sketch defines the kinematic layout: where joints are located and how links connect. All parts reference this sketch geometry as their positional truth.

Key Benefits:

  • Change joint positions once → all parts update
  • Ensures geometric consistency across all links
  • Makes mechanism reconfiguration effortless

Creating the Master Sketch

  1. Ensure you’re in Part Design workbench

  2. Create new sketch on XY_Plane

    • Click Create Sketch button
    • Select XY_Plane
    • Click OK

    This sketch won’t belong to a body; it’s standalone reference geometry!

Drawing the Linkage Layout

Draw a horizontal line:

  1. Line tool (press L)

  2. Click at origin (0, 0)

  3. Move horizontally to the right

  4. Click to place endpoint

  5. Press Escape

  6. Make it horizontal:

    • Select the line
    • Press H key
  7. Fix the start point:

    • Coincident constraint
    • Click left endpoint
    • Click origin
  8. Dimension the link:

    • Distance constraint
    • Click both endpoints
    • Click ƒx button
    • Formula: Spreadsheet.Link1
    • Press Enter


Design Intent

Link 1 Requirements

Link 1 is a rectangular plate with:

  • Two circular holes at joints A and B for pivot pins
  • Parametric dimensions controlled by spreadsheet
  • References master sketch for joint positions
  1. Create a Body

    • Click Create Body button
    • Right-click Body → Rename
    • Type: Link1_Ground
  2. Create a Sketch

    • Select Link1_Ground body
    • Create sketch on XY_Plane

Reference master sketch geometry:

  1. External geometry tool (press E)

  2. Click the master sketch in the tree

  3. Select joint A endpoint (origin)

  4. Select joint B endpoint (right end of Link 1)

  5. Press Escape



Quick Creation Process

  1. Create Body → Rename to Link2_Crank

  2. Create Sketch on XY_Plane

  3. Reference Master Sketch Geometry:

    • External geometry tool (E)
    • Select master sketch from tree
    • Click Link 2 endpoints (point A and point C)
    • Purple reference points appear!
  4. Draw the Link:

    • Circle at point A, radius = Spreadsheet.PinRadius
    • Circle at point C, radius = Spreadsheet.PinRadius
    • Rectangle connecting them
    • Symmetric constraint about Link 2 centerline
    • Width = Spreadsheet.LinkWidth
  5. Verify fully constrained and Close sketch

  6. Pad:

    • Thickness = Spreadsheet.LinkThickness

Link 2 complete!



Quick Creation Process

  1. Body: Create and rename to Link3_Coupler

  2. Sketch on XY_Plane

  3. Reference points C and D from master sketch (External geometry tool)

  4. Draw the link:

    • Circles at both ends
    • Rectangle connecting them
    • Symmetric constraint
    • All dimensions from spreadsheet
  5. Pad with thickness parameter

Link 3 complete!



Quick Creation Process

  1. Body: Create and rename to Link4_Follower

  2. Sketch on XY_Plane

  3. Reference points B and D from master sketch

  4. Draw the link:

    • Circles, rectangle, symmetric constraint
    • Spreadsheet-driven dimensions
  5. Pad with thickness parameter

Part 9: Assembly



Assembly is where your individual linkage plates come together as a functioning mechanism. By applying pin joint constraints, you’ll see Grashof’s Theorem in action as the crank rotates and the follower oscillates!

Assembly Strategy

Constraint Plan

  1. Link 1 (Ground): Fixed; provides reference frame
  2. Link 2 (Crank): Rotates about joint A
  3. Link 3 (Coupler): Pivots at joints C and D
  4. Link 4 (Follower): Pivots at joints B and D (oscillates)

All joints use Axial Align constraints to allow rotation!

Creating the Assembly

  1. Switch to Assembly workbench

    Use workbench dropdown

  2. Create new assembly

    Assembly → Create Assembly

  3. Add all four parts

    Drag from tree or use “Add Part” button:

    • Link1_Ground
    • Link2_Crank
    • Link3_Coupler
    • Link4_Follower

Part 10: Technical Drawing



Creating Professional Documentation

  1. Switch to TechDraw workbench

  2. Create a page:

    • Insert Page
    • Choose template: A4_Portrait
  3. Add views:

    • Insert View → Select Link3_Coupler body
    • Position the view by dragging
    • Add additional projections: top view, side view
  4. Add dimensions:

    • Use Dimension tools: Horizontal, Vertical, Radius
    • Click features to dimension them
    • Include: Overall length, width, hole diameters, hole spacing
  5. Title block:

    • Double-click text fields in template
    • Enter:
      • Part name: “Link 3 - Coupler Plate”
      • Material: (e.g., “Steel”, “Aluminum 6061”)
      • Scale
      • Your name and date
  6. Export:

    • Right-click page → Export as PDF

Part 11: Testing Parametric Control



This is the moment of truth! A truly parametric mechanism updates correctly when you change parameters. Let’s verify your design is intelligent, test Grashof’s Theorem, and explore different linkage configurations.

Verification Tests

  1. Open Spreadsheet

    Double-click Spreadsheet in tree

  2. Change Link2 to 50mm

    • Click cell B3
    • Type: 50
    • Press Enter
  3. Recompute

    Press Ctrl+R or click Recompute button

  4. Observe changes:

    • Crank is now longer!
    • Master sketch updates!
    • All four parts adapt!
    • Assembly maintains constraints!

✅ Success! Your mechanism is parametric!

Learning Outcomes



Congratulations! By completing this lesson, you have:

Master Sketch Technique

Created kinematic layout controlling multiple parts

Construction Geometry

Used reference-only geometry for design intent

External References

Referenced geometry across multiple sketches

Grashof's Theorem

Applied link length theory in practice

Pin-Jointed Assembly

Assembled four-link mechanism with motion

Parametric Mechanism

Built intelligent, reconfigurable design

Most importantly: You’ve designed a complete four-bar linkage mechanism using professional kinematic-first methodology!

Design Verification Checklist



Use this checklist to verify your design:

Extension Challenges



Ready for more? Try these enhancements:

  1. Add fillets

    Use Fillet tool to round sharp edges (2mm radius)

  2. Add more parameters

    Control all dimensions via spreadsheet (currently some are hardcoded)

  3. Create drawings for all four links

    Generate complete documentation set

Common Issues and Solutions



“Parts don’t align in assembly”

“Mechanism is locked/won’t move”

Next Steps



  • Simulate it: Use the Four-Bar Linkage Simulator to analyze the kinematics of the mechanism you just built. Adjust parameters in real time and see angular position, velocity, transmission angle, and coupler curve plots.
  • Run experiments: Follow the Four-Bar Linkage Experiments for nine structured lab exercises with Python data analysis.
  • Read more: See the 2D Mechanisms Analyzer for a full overview of the simulator’s capabilities and downloadable resources.

In Lesson 3: Scissor Lift Mechanism, you’ll explore:

Repeating Linkages

Create arrays of identical four-bar units

Symmetric Design

Mirror constraints and balanced mechanisms

Motion Amplification

How cascading linkages multiply displacement

Load Path Analysis

Understanding forces in pin-jointed structures

Each lesson builds on the parametric CAD fundamentals while introducing new mechanism types and advanced design techniques!



Comments

Loading comments...
© 2021-2026 SiliconWit®. All rights reserved.
Coming here first?

This lesson assumes four skills. Each link opens the part that teaches it:

Words used here
  • Four-bar linkage: four bars joined by four pins into a loop
  • Kinematics: the geometry of motion, without forces
  • Transmission angle: the angle between coupler and follower; near 90° the push turns the follower best
  • Degrees of freedom: the ways a part or a sketch can still move
  • Pressed in: a pin in a hole of its own size: it turns with the part
  • Clearance: a hole 0.2 mm larger than its pin, so the part turns on it
  • Counterbore: a short, wider hole that sinks a pin head below the face
  • E-clip: a spring clip that snaps into a groove on a pin and holds it in
  • Fit, section, GD&T: used on the drawing at the end. Five minutes each: limits and fits, section views, GD&T basics
Predict first

Four bars are joined by pins into a closed loop. Their lengths are 100, 40, 80 and 70 mm. The 100 mm bar is fixed to the table. A motor drives the 40 mm bar. Can the motor turn that bar through a full circle?

40 mm crank: turns fully60 mm crank: stops swings 69.8°stopin one line 140 ≤ 150160 > 150
each part typed by handone master sketch the loop does not closeevery hole meets
See it: four lengths decide the motion
  • Link 2, crank
  • Link 3, coupler
  • Link 4, follower
  • Path of the marker P

Shortest + longest (S + L)
The other two (P + Q)
Full swing of the follower
Coupler angle, link 3
Follower angle, link 4
Angle between links 3 and 4 at D

The start values are the lesson's: 100, 40, 80 and 70 mm, with the crank at the 30° of the master sketch. The joints have the lesson's names: A and B are fixed, C is the end of the crank and D is the end of the follower. All three angles are measured from the ground line A to B, counterclockwise. The marker P sits at the middle of the coupler, and the last slider moves it off the line of the coupler. A loop of four bars can be closed in two ways. This figure shows the one with D above the line from C to B, which is the one you sketch in the lesson. Set link 2 to 60 mm, as in the lesson's third test, and the crank can no longer go round.

Check yourself

Three questions. Each wrong choice is a mistake people really make, so read the note after you answer.

1. In the lesson's linkage (100, 40, 80, 70 mm) the crank makes one full turn. What does link 4, the follower, do in that time?

2. You change link 2 from 40 mm to 60 mm, as in the lesson's third test. The other links stay at 100, 80 and 70 mm. What can the crank do now?

3. You keep the same four lengths but fix a different link: now link 1, the ground, is 40 mm and link 2 is 100 mm. Links 3 and 4 stay at 80 and 70 mm. S + L is still 140 mm and P + Q is still 150 mm. How does the linkage move?

Watch it build: four lines become a linkage
16 freedoms4 lines, 4 each 8 freedoms4 pin joints, 2 each 4 freedomslengths 100, 40, 80, 70 ABCD 1 freedomground on the origin 30° crank angle free30° fixes it: 0 left
  1. Four lines, drawn anywhere. Each has 4 freedoms (two ends, x and y): 16 in all.
  2. Coincident ends make four pin joints. Each removes 2: 8 freedoms left.
  3. Four lengths from the spreadsheet: the loop has its true shape but can still slide and turn. 4 left.
  4. Ground horizontal, A on the origin: 3 more gone. 1 freedom is left.
  5. That last freedom is the crank angle, the motion of the real linkage. A 30° angle fixes it.
Spreadsheet4 lengthsnamevalue, mmLink1100Link240Link380Link470Master sketchjoints A, B, C, DABCDfour lines, no solidFour partstwo joints eachLink1Link2Link3Link4
The lengths live in one place. The master sketch places the joints, and each part copies its two holes from it.

One spreadsheet and one master sketch drive eight parts and an assembly you can turn by hand.

PartJob
BaseLink 1, the ground: a plate with the pivots A and B that screws to a bench
Crank, coupler, followerLinks 2, 3 and 4, rounded plates
Four pinsTwo pivot pins (one part, used twice), the crank pin with a knob to turn it, and pin D

Each moving part has its own layer, 0.5 mm clear of the next, so nothing rubs or collides.

Older version: a video of the first design of this lesson, before the base, the pins and FreeCAD 1.1.

  1. File → New, then File → Save As: FourBarLinkage.FCStd.
  2. In the workbench list on the toolbar, pick Spreadsheet.
  3. Create spreadsheet (Spreadsheet toolbar). Check: Spreadsheet appears in the model tree on the left.
  4. Double-click Spreadsheet in the tree. A grid opens in its own tab.

Type this table: names in column A, values in B, units in C (C is a note for you). The four link lengths set the motion. The rest are sizes for strength and fit.

A (name)BWhat it is
Link1 to Link4100, 40, 80, 70the link lengths, mm
LinkWidth20plate width
LinkThickness8plate thickness
PinRadius4pins 8 mm across
Clearance0.2added to a hole a pin turns in
CrankAngle30the angle the parts are drawn at, deg

An alias gives a cell a name, so a sketch can ask for Spreadsheet.Link1 instead of B2.

  1. Click cell B2.
  2. In the Alias box above the grid, type Link1, press Enter. (Or right-click B2, Properties, Alias tab.)
  3. Do the same for B3 to B10, each with the name in column A of its row.
  4. Close the Spreadsheet tab.

An alias may not be a unit name, such as mm or deg: FreeCAD would read it as a unit.

A B C 1 Parameter Value Unit 2 Link1 100 mm 3 Link2 40 mm 4 Link3 80 mm 5 Link4 70 mm 6 LinkWidth 20 mm 7 LinkThickness 8 mm 8 PinRadius 4 mm 9 Clearance 0.2 mm 10 CrankAngle 30 deg alias Link1 alias CrankAngle every B cell has an alias:the name in column A B9: 4 + 0.2 = 4.2 mm, a holea pin turns in
Check it. Nine shaded cells, each with a name. Click any of them: the Alias box shows the name. Menus move between versions; this result does not.
  1. In the workbench list, pick Sketcher. Do not make a body: this sketch stands alone.
  2. Create sketch (Sketcher toolbar). Pick XY_Plane, OK. Check: you look straight down on the grid, and the Tasks panel on the left shows the solver messages.

ƒx fills a dimension from the spreadsheet: in the box that asks for a value, click the small ƒx icon at its right end (or type =), type the name, press Enter.

  1. Line (G, L): click on the origin, where the red and green axes cross, then about 100 mm to the right. Right-click to stop. This is link 1, from A to B.
  2. Check the line has a small horizontal mark. If not: select it, Constrain horizontal (H).
  3. Select the line, Constrain distance (K, D), ƒx Spreadsheet.Link1.
  4. Line: click on A, then up and to the right, about 40 mm. Right-click. This is the crank, A to C. Select it, Constrain distance, ƒx Spreadsheet.Link2.
  5. Line: click on B, then up and a little to the left, about 70 mm. This is the follower, B to D. Constrain distance, ƒx Spreadsheet.Link4.
  6. Line: click on C, then on D. This is the coupler. Constrain distance, ƒx Spreadsheet.Link3. Check: the Tasks panel says 1 degree of freedom.
  7. Select the crank line, Constrain angle (K, A), ƒx Spreadsheet.CrankAngle. Check: Fully constrained, and the lines turn green.
  8. Close (top of the Tasks panel). In the tree, select the sketch, press F2, rename it MasterSketch.

More than 1 freedom at step 6? An end did not snap. Select the two ends, Constrain coincident (C). D below the line from C to B? Drag D up before step 7: the loop can close two ways, and the solver keeps the one you drew.

Check it: hover each corner. A (0, 0), B (100, 0), C (34.64, 20.00), D (97.14, 69.94). Leave the four lines as normal lines, not construction lines: the parts can only copy normal lines.

Design intent

Link 1 never moves, so make it the base: a plate that carries pivots A and B and screws to a bench. Its sketches take A and B from the master sketch, so the pivots move when Link1 changes.

  • Plate 180 × 150 × 8 mm, under the whole motion.
  • Two bosses at A and B, 24 mm across, 6 mm tall: the crank and the follower turn on them.
  • A blind bore 8 mm in each boss for a pivot pin.
  • Four 4.5 mm holes for M4 screws, a 1 mm chamfer on the top edges.

A sketch in a body may only use geometry from that body (FreeCAD 1.1 says "not allowed as external geometry"). A Sub-Shape Binder is a live copy of the master sketch placed inside the body.

Steps

  1. In the workbench list, pick Part Design. Create body. Select it in the tree, F2, rename it Base.
  2. Select MasterSketch in the tree, then Sub-Shape Binder (Part Design toolbar, with the datum tools). Check: a Binder appears inside Base.
  3. Select MasterSketch, press Space to hide it, so the next clicks pick the binder.
  4. Select Base, Create sketch, XY_Plane, OK.
  5. External geometry (G, X; called External projection in 1.1): click the binder's line from A to B. Escape. Check: the line and its ends turn purple.
  6. Rectangle (G, R): click below left of A, then above right of B.
  7. Four dimensions. For each, select the purple point, then the corner, then the tool:
    • A and the bottom left corner: Constrain horizontal distance (L) 60, then Constrain vertical distance (I) 60.
    • B and the top right corner: L 20.
    • A and the top right corner: I 90.
    Check: Fully constrained.
  8. Close. Pad, Length 8 mm. Check: a plate 180 × 150 × 8.
  9. Click the plate's top face, Create sketch. External geometry: the binder line A to B again.
  10. Circle (G, C): click on purple A for the centre, drag out. Same on B. Constrain radius (K, R) 12 on each.
  11. Close. Pad 6 mm. Check: two round bosses.
  12. Click the top of a boss, Create sketch, External geometry A to B, a circle on A and one on B (any size: they only mark centres). Close.
  13. Hole: Diameter 8, Depth 12, Drill point Flat, OK. Check: a blind bore in each boss.
  14. Plate top face, Create sketch: four circles 8 mm in from each corner (L and I from the nearest purple point: A for the left two, B for the right two). Close. Hole 4.5, Through all.
  15. Ctrl+click the four top edges of the plate, Chamfer 1 mm.
The base: a grey plate with a fixing hole in each corner and two round bosses, each with a bore. In front stand the three kinds of pin: a pivot pin with a thin head, the crank pin with a dark knob, and pin D with a groove.
Check it. Body Base: Pad, Pad, Hole, Hole, Chamfer, no red marks. Bosses 100 mm apart, centre to centre. The pins in front come in Part 8.

Design intent

A rounded plate, 20 mm wide and 8 thick, with its two hole centres on A and C.

  • Hole at A, radius PinRadius + Clearance = 4.2: the crank turns on the pivot pin with 0.2 mm to spare.
  • Hole at C, radius PinRadius = 4: the crank pin is pressed in and turns with the crank.
  • A counterbore 14 mm wide and 3 deep at A: the pivot pin's head sinks below the top face, because the coupler passes right over A.

Steps

  1. Create body, rename it Link2_Crank. Select MasterSketch, Sub-Shape Binder. Hide Base (Space).
  2. Create sketch, XY_Plane. External geometry: the binder line from A to C. Escape.
  3. Slot (Sketcher toolbar, with the arc tools; G, S): click on A, then on C. Check: a rounded outline, two half circles joined by two lines.
  4. If a half circle's centre is not on its purple point: select both, Constrain coincident (C).
  5. Select one half circle, Constrain radius, ƒx Spreadsheet.LinkWidth / 2. Both ends follow: the slot keeps them equal.
  6. Circle centred on A, Constrain radius, ƒx Spreadsheet.PinRadius + Spreadsheet.Clearance.
  7. Circle centred on C, Constrain radius, ƒx Spreadsheet.PinRadius. Check: Fully constrained.
  8. Close. Pad, Length ƒx Spreadsheet.LinkThickness.
  9. Click the top face, Create sketch. External geometry: the binder line A to C. A Circle centred on A, radius 7. Close.
  10. Pocket, Length 3 mm.

Why the Slot tool: trimming circles by hand here goes wrong in FreeCAD 1.1, because the purple line crosses each circle and Trim cuts at it too.

The finished crank: a teal rounded plate with a counterbored hole at one end and a plain hole at the other.
Check it. One body: Binder, Pad, Pocket. Holes 40 mm apart, the counterbore at A.

The same plate on C and D. Both holes are running holes: the coupler turns on both pins.

  1. Create body Link3_Coupler, Sub-Shape Binder of MasterSketch. Hide the crank.
  2. Create sketch on XY_Plane, External geometry: the binder line C to D.
  3. Slot from C to D, radius ƒx Spreadsheet.LinkWidth / 2.
  4. Two circles, on C and on D, each radius ƒx Spreadsheet.PinRadius + Spreadsheet.Clearance. Check: Fully constrained.
  5. Close, Pad ƒx Spreadsheet.LinkThickness. No counterbore.
The finished coupler: a gold rounded plate with a hole in each end.
Check it. Holes 8.4 mm across, 80 mm apart.

The crank's steps again on B and D: a running hole with a counterbore at B, a pressed hole at D for pin D.

  1. Create body Link4_Follower, Sub-Shape Binder. Hide the coupler.
  2. Sketch on XY_Plane, External geometry: the binder line B to D. Slot from B to D, radius ƒx Spreadsheet.LinkWidth / 2.
  3. Circle on B, ƒx Spreadsheet.PinRadius + Spreadsheet.Clearance. Circle on D, ƒx Spreadsheet.PinRadius.
  4. Close, Pad ƒx Spreadsheet.LinkThickness.
  5. Top face, sketch, External geometry B to D, circle on B radius 7. Pocket 3.
The finished follower: a blue rounded plate with a counterbored hole at one end and a plain hole at the other.
Check it. Holes 70 mm apart, the counterbore at B.

Pins

A pin is round, so draw half its outline and turn it a full circle. For each pin:

  1. Create body, named as in the table. Create sketch on XZ_Plane.
  2. Polyline (G, M): click the points in the table in order, then back on the first. The left edge lies on the vertical axis.
  3. Fix each point with Constrain horizontal distance (L) and vertical distance (I) from the origin. Check: Fully constrained.
  4. Close. Revolution, Axis V_Axis, Angle 360.
BodyPoints (radius, height), mmJob
PivotPin0,0 · 3.6,0 · 4,0.4 · 4,17.2 · 6.5,17.2 · 6.5,19.5 · 0,19.5used twice, at A and B
CrankPin0,0 · 3.6,0 · 4,0.4 · 4,17 · 8,17 · 8,29 · 0,29; then Fillet 2 on the top edgethe knob turns the crank
PinD0,0 · 3.6,0 · 4,0.4 · 4,17 · 3.4,17 · 3.4,17.8 · 4,17.8 · 4,19 · 3.5,19.5 · 0,19.5the groove takes an e-clip

The 0.4 mm step at the bottom of each pin is a chamfer, so it starts straight into its hole.

LayerHeight above the table, mm
Base plate, bosses0 to 8, bosses to 14
Crank and follower (on the bosses)14 to 22
Pivot pin heads (in the counterbores)19.2 to 21.5
Coupler (0.5 above both)22.5 to 30.5
Crank pin knob31 to 43

The crank and the follower share a layer. Their centre lines stay at least 40 mm apart over a full turn, so the 20 mm plates never meet.

A pin pressed into a part moves with it: a Fixed joint. A part that turns on a pin: a Revolute joint. The last pin of the loop is Cylindrical, because a fourth Revolute repeats what the other three hold and the solver can fail.

Count: crank, coupler and follower have 3 freedoms each in the plane, 9 in all. Four pin joints remove 2 each: 9 − 8 = 1, the crank angle.

These steps use the Assembly workbench built into FreeCAD 1.0 and later.

  1. In the workbench list, pick Assembly. Create Assembly. Check: Assembly with Joints inside, in the tree.
  2. Insert Component (I): click Base, Link2_Crank, Link3_Coupler, Link4_Follower, CrankPin, PinD, and PivotPin twice. Click in the view to place each. The links land in place: they were drawn where the master sketch puts them.
  3. Select Base, Toggle Grounded (G).
  4. Fixed (F), four times, the holder first: the bottom edge of the bore at A, then the bottom end of a pivot pin. The same at B with the second pivot pin. The crank's hole at C (bottom edge), the bottom end of CrankPin. The follower's hole at D (bottom edge), the bottom end of PinD.
  5. Revolute (R): the top edge of the bore at A, then the crank's hole at A (bottom edge). Check: the crank sits on boss A.
  6. Revolute: the top edge of the bore at B, then the follower's hole at B (bottom edge).
  7. Revolute: the coupler's hole at C (bottom edge) first, then the crank's hole at C (top edge). Offset 0.5 mm, the running gap.
  8. Cylindrical (C): the coupler's hole at D, then the edge of PinD's shaft just below the groove. Check: the coupler lies level, 0.5 mm above the crank and the follower.

A part in the wrong layer: change the sign of that joint's Offset. FreeCAD 1.1 measures it along the first part picked. The follower on the wrong side of the line from C to B: drag it across; the loop closes two ways.

Testing

Drag the crank by its knob and compare with the calculation:

  • The crank turns a full circle.
  • The follower swings between 92.0° and 161.8° from the ground line, 69.8°, and back.
  • The angle between coupler and follower stays between 46.6° and 137.8°, inside the usual 40° to 140°.

Check it: Measure between the hole edges at C and D: 80 mm in every position. We turned this model a full turn in FreeCAD 1.1, 1° at a time: every joint closes, no two parts touch, and the coupler clears the crank and the follower by 0.5 mm.

Ours, to compare with yours. Open Parts and hide the coupler to see the pins it turns on.

The four-bar linkage: eight parts. Drag to turn, pinch or scroll to zoom. Open in the full viewer.

Checked in FreeCAD 1.1: every value above rebuilds this model with all joints following. Past the limit of a rocking crank, FreeCAD may pull a pin out of its hole instead of stopping; if a part jumps, undo (Ctrl+Z). In the double rocker (crank 80) and the double crank (ground 40) the crank and the follower meet in their shared layer: watch those two in the master sketch, by changing CrankAngle.

Make it buildable: the drawing

A workshop cannot make the linkage from the 3D model alone. It needs one sheet with the sizes, the limits on the sizes that matter, and a cut through the joints. Here is that sheet for this linkage, and the TechDraw steps to make it.

  1. Page. Workbench TechDraw, Insert Page using Template, A3_Landscape_ISO5457_advanced.svg. Fill the title block: the title, the scale 1 : 1, your name.
  2. Plan. Select the assembly, Insert View, direction Top, scale 1. Looking down shows the motion, so this view carries the item balloons and the 100 mm between the ground pivots.
  3. Section A-A. Select the plan, Insert Section View, plane through the two ground pivots (Y 0), arrows pointing up, symbol A. Place it above the plan: in first angle, this is the front view.
  4. Hatching. Set Cut Surface Display to Hide, then hatch each part with Apply Geometric Hatch to Face: the base one way (Diagonal4), the crank and the follower the other way (Diagonal5). Leave the pins plain: a pin cut along its axis is not hatched.
  5. Item list and balloons. A spreadsheet ItemList (Item, Qty, Name, Material, Note), then Insert Spreadsheet View. Insert Balloon Annotation for items 1 to 8.
  6. Fits. At pivot A, a leader with ⌀8 H7/p6 to the pin in the base, and ⌀8.4 H8 to the crank's hole.
  7. Frames. Insert SVG Symbol from Symbols/gd-and-t for the two frames below, and datum A on the underside of the base. Then Export Page as PDF.
The A3 assembly drawing of the four-bar linkage. Top left: section A-A through both ground pivots, the base hatched one way, the crank and the follower the other way, the pins plain, with the callouts diameter 8 H7/p6 and diameter 8.4 H8, a parallelism frame on the boss tops, a position frame on the two bores, and datum A on the underside. Below it the plan with the cutting line A-A, balloons 1 to 7, the overall 180 by 150, and the boxed 100 between the pivots. Right: a pictorial view at 1 to 2, the item list of eight items, the GD&T notes and the ISO title block.
The finished drawing (click for the PDF). Made in FreeCAD.

Every pin is pressed into one part and turns in another. The model's turning holes are 8.4 mm, from the Clearance of 0.2 mm on the radius. That gap is needed: each pin passes through its link before it reaches its bore, so the link's hole must let the pressed size through.

WhereFitHole, mmPin, mmGap, mm
Pin in base, crank at C, follower at D⌀8 H7/p6, pressed8.000 to 8.0158.015 to 8.024−0.024 to 0 (interference)
Link on its pin⌀8.4 H8 on ⌀8 p6, turning8.400 to 8.4228.015 to 8.0240.376 to 0.407 (clearance)
FrameOnWhy
Datum Aunderside of the basethe face the linkage stands on
⌖ ⌀0.05 | Athe two bores, 100 apart (boxed)the ground link is 100 mm and both pins stand square, so the motion is the one you designed
∥ 0.05 | Athe two boss topsthe crank and the follower ride on them, so they must not rock

Check: the section has arrows and the letter A at both ends of its line; the base is hatched one way and the links the other; the pins are plain; the eight balloons match the item list.

Found this useful?

Discussion

    Comments show your name. Be kind, stay on the topic.