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

Cam and Follower Mechanism

Lesson 6 of 10 33 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?

Gears and linkages convert one type of motion into another, but they cannot produce an arbitrary motion profile. When you need a valve to open slowly, dwell at the top, and snap shut, or a pick-and-place arm to follow a specific acceleration curve, you need a cam. The cam’s profile is the motion program carved into metal, and getting that profile wrong means the follower jams, bounces, or wears prematurely. In this lesson you will design a cam and follower mechanism in FreeCAD with parametric control over the rise, dwell, and return segments. #FreeCAD #CamDesign #FollowerMotion #ProgrammedMotion

Learning Objectives

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

  1. Design curve-based cam profiles with custom motion laws
  2. Apply polar geometry and angular constraints
  3. Create contact-driven motion systems
  4. Model both rotating and translating components
  5. Generate motion-focused technical documentation

Engineering Context: Why This Mechanism Matters



Cam and follower mechanisms convert continuous rotary motion into precisely controlled reciprocating or oscillating motion. They’re fundamental to timing and sequencing in mechanical systems, with the cam profile acting as a geometric program that defines the follower’s motion.

Cam and Follower Mechanism

Real-World Applications

Cam and follower mechanisms power critical timing and sequencing operations across industries:

The Engineering Problem

Design Challenge: Given continuous rotary input motion, how do we create a specific, repeatable output motion profile with precise timing, smooth acceleration, and reliable contact?

Key Concept: The cam profile = motion program encoded as geometry

Motion Programming

The cam surface directly determines follower motion. As the cam rotates, its profile shape pushes the follower through a prescribed path.

Design Flexibility

Change the cam profile geometry, change the motion. One rotating input creates unlimited possible output motions.

Mechanism Fundamentals



Components and Motion

A cam and follower system consists of three essential elements:

1. Cam: Rotating Driver

  • Plate cam (disk) with profiled edge
  • Rotates continuously at constant speed
  • Profile shape programs the motion

2. Follower: Moving Output

  • Translates or oscillates
  • Maintains contact with cam surface
  • Executes programmed motion

3. Frame: Fixed Reference

  • Provides cam shaft bearing
  • Guides follower motion
  • Maintains alignment

Key Parameters

Base Circle Radius (R_b)

  • Minimum cam radius
  • Determines minimum follower position
  • Foundation of cam geometry

Lift (L)

  • Maximum follower displacement
  • Distance from base to peak position
  • Critical design parameter

Prime Circle Radius (R_p)

  • R_p = R_b + L
  • Maximum cam radius
  • Defines peak follower position

What You’ll Build



By completing this lesson, you’ll create:

Custom Cam Profile

Parametrically controlled cam with 120° rise, 60° dwell, 120° return, 60° dwell

Roller Follower Assembly

Complete follower system with roller, stem, and guide

Motion Documentation

Technical drawings showing motion zones and displacement diagrams

Parametric Control

Adjust lift, base radius, or angles: entire mechanism updates automatically

Part 1: Getting Started



Project Setup

  1. Launch FreeCAD

    Ensure you’re using version 0.21 or later

  2. Create new document

    File → New (Ctrl+N)

  3. Save immediately

    Save as CamFollower.FCStd in your project folder

    Good Practice - Save early, save often!

Workbench Overview

For this lesson, you’ll use:

Part Design

  • Creating individual cam and follower parts
  • Primary workbench for solid modeling

Sketcher

  • Designing the cam profile curve
  • Angular constraints and polar geometry

Spreadsheet

  • Parameter control table
  • Motion law calculations

Assembly

  • Combining cam, follower, and frame
  • Motion constraints

TechDraw

  • Motion documentation
  • Displacement diagrams

Part 2: Design Strategy



Cam design requires thinking in terms of motion profiles first, then translating those profiles into geometry. The cam surface is literally a physical encoding of the desired motion: every point on the profile corresponds to a specific follower position at a specific rotation angle.

Our Motion Profile

Cam Cycle Specification

360° Complete Cycle:

  • 0° to 120°: Rise (follower lifts 20mm using simple harmonic motion)
  • 120° to 180°: Dwell (follower remains at maximum lift)
  • 180° to 300°: Return (follower descends 20mm using simple harmonic motion)
  • 300° to 360°: Dwell (follower remains at base position)

This creates smooth, repeatable motion with predictable timing.

Design Parameters

We’ll control the entire mechanism with these key parameters:

BaseCircleRadius = 40 mm
Lift = 20 mm
RollerRadius = 10 mm
CamThickness = 15 mm
ShaftDiameter = 20 mm

Part 3: Creating the Parameter Spreadsheet



Building Your Parameter Table

  1. Switch to Part Design workbench

    Use the workbench dropdown at top

  2. Insert a spreadsheet

    Insert → Spreadsheet

    A “Spreadsheet” object appears in the left tree

  3. Double-click to open the spreadsheet

    Click on “Spreadsheet” in the tree

Entering Parameters

In the spreadsheet, create this parameter table:

CellValueMeaning
A1ParameterHeader
B1ValueHeader
C1UnitHeader
A2BaseCircleRadiusParameter name
B240Numeric value
C2mmUnit (documentation)
A3LiftParameter name
B320Numeric value
C3mmUnit
A4PrimeCircleRadiusParameter name
B4=B2+B3Formula
C4mmUnit
A5RollerRadiusParameter name
B510Numeric value
C5mmUnit
A6CamThicknessParameter name
B615Numeric value
C6mmUnit
A7ShaftDiameterParameter name
B720Numeric value
C7mmUnit
A8ShaftRadiusParameter name
B8=B7/2Formula
C8mmUnit
A9RiseAngleParameter name
B9120Numeric value
C9degUnit
A10DwellAngle1Parameter name
B1060Numeric value
C10degUnit
A11ReturnAngleParameter name
B11120Numeric value
C11degUnit
A12DwellAngle2Parameter name
B1260Numeric value
C12degUnit

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

Your parametric foundation is ready!

Part 4: Designing the Cam Profile



Understanding Cam Profile Design

The cam profile must be designed relative to the follower position. For a roller follower, we actually design the pitch curve: the path traced by the roller center. Then the actual cam surface is offset inward by the roller radius. This ensures the roller maintains proper contact throughout the cycle.

Design Approach

Simple Harmonic Motion Rise:

For smooth acceleration during rise, we use simple harmonic motion:

Where:

  • = follower displacement from base position
  • = current cam angle from start of rise
  • = total rise angle (120°)
  • = total lift (20mm)

Cam Radius at Angle θ:

Where:

  • = base circle radius

Key Points for 120° Rise:

AngleDisplacementRadius
0°0 mm40 mm
30°2.68 mm42.68 mm
60°10 mm50 mm
90°17.32 mm57.32 mm
120°20 mm60 mm

Step-by-Step: Cam Profile Sketch

  1. Create a Body

    • Ensure you’re in Part Design workbench
    • Click Create Body button
    • A “Body” object appears in the tree
    • Right-click → Rename → type Cam
  2. Create a Sketch

    • Select the “Cam” body in tree
    • Click Create Sketch button
    • Dialog asks: Choose a plane
    • Select XY_Plane (top view for cam profile)
    • Click OK

    You’re now in Sketcher workbench (automatic switch)

Drawing the Base Circle

  1. Draw the base circle

    • Click Circle tool (or press C)
    • Click at the origin (look for white/yellow dot at center)
    • Move mouse outward
    • Click to complete circle
    • Press Escape
  2. Constrain the radius

    • Click Radius constraint tool
    • Click the circle
    • Click the ƒx button in the dimension dialog
    • Type: Spreadsheet.BaseCircleRadius
    • Press Enter

    Base circle is now parametrically controlled!

Drawing the Rise Section

We’ll use construction geometry to establish angular positions:

  1. Draw horizontal reference line

    • Line tool (press L)
    • Draw from origin horizontally to the right
    • Press Escape
  2. Make it construction geometry

    • Select the line
    • Press G key (toggles construction mode)
    • Line turns blue (construction)
  3. Constrain it horizontal

    • Select the line
    • Press H key
    • Now it’s locked horizontal
  4. Set the length

    • Distance constraint on line length
    • Type: 70 mm (extends beyond prime circle)

This horizontal line at 0° is our angular reference.

Drawing the High Dwell

  1. Draw arc at prime circle radius

    • Arc tool
    • Center at origin
    • Start at 120° (end of rise)
    • End at 180° (start of return)
  2. Constrain the arc

    • Radius constraint → Click ƒx → Spreadsheet.PrimeCircleRadius
    • Coincident: Arc start → Rise section end
    • Angle constraint: Arc end at 180° from horizontal

High dwell maintains follower at maximum lift while cam rotates 60°.

Drawing the Return Section

Easiest method: Mirror the rise section

  1. Create symmetry axis

    • Draw vertical construction line through origin
    • Make it vertical (press V)
  2. Select rise geometry

    • Select the rise arc (or spline and all points if using advanced method)
  3. Apply symmetry constraint

    • Symmetry constraint tool
    • Select rise geometry
    • Create mirrored copy about vertical axis
  4. Position correctly

    The mirrored section should span 180° to 300°

Drawing the Low Dwell

  1. Draw arc at base circle radius

    • Arc tool
    • Center at origin
    • Start at 300° (end of return)
    • End at 360° (0°, completing the cycle)
  2. Constrain the arc

    • Radius constraint → Click ƒx → Spreadsheet.BaseCircleRadius
    • Coincident: Arc start → Return section end
    • Coincident: Arc end → Rise section start

The profile is now a complete closed curve!

Adding the Shaft Hole

  1. Draw center hole

    • Circle tool
    • Click at origin
    • Draw small circle
    • Press Escape
  2. Constrain the hole

    • Coincident: Circle center → Origin
    • Radius constraint → Click ƒx → Spreadsheet.ShaftRadius

Finalizing the Sketch

  1. Check the solver

    Look at “Solver Messages” panel:

    • Should say “Fully constrained” (or close to it)
    • Profile should be closed (no gaps)
  2. Visual verification

    The cam profile should show:

    • Circular base section (300° to 360°/0°)
    • Rising curve (0° to 120°)
    • Circular top section (120° to 180°)
    • Descending curve (180° to 300°)
  3. Close the sketch

    Click the Close button in the toolbar

Creating the 3D Cam



  1. Select the cam sketch

    Click on the sketch in the tree (under Cam body)

  2. Apply Pad operation

    • Click Pad tool in Part Design toolbar
    • In the Pad panel (left side):
      • Type: Dimension
      • Length: Click ƒx → Type Spreadsheet.CamThickness
    • Click OK
  3. View your cam

    • Press V then F to fit all
    • Rotate view to see the 3D cam disk!

Your parametric cam is complete!

Part 5: Creating the Follower System



Follower Design Intent

Follower Assembly Components

The follower system consists of three parts:

Roller

  • Cylindrical rolling element
  • Maintains contact with cam surface
  • Reduces friction

Follower Stem

  • Rectangular shaft
  • Translates vertically
  • Transfers motion to load

Guide Mount (part of frame)

  • Constrains lateral motion
  • Allows only vertical translation

Creating the Roller

  1. Create new Body

    • Part Design workbench
    • Create Body
    • Rename: Roller
  2. Create Sketch on XZ_Plane

    Why XZ? The follower moves vertically (Z-axis) and we’ll revolve around a horizontal axis

    • Select Roller body
    • Create Sketch → XZ_Plane
  3. Draw roller profile

    • Circle tool
    • Center position: X = 0, Z = 70 (above cam - we’ll position precisely in assembly)
    • Click to place circle
    • Press Escape
  4. Constrain the circle

    • Horizontal constraint: Circle center → Origin (to center it on rotation axis)
    • Distance constraint: Circle center to origin in Z direction: 70 mm
    • Radius constraint → Click ƒx → Spreadsheet.RollerRadius
  5. Check and close sketch

    • Solver: Fully constrained
    • Close

Creating 3D Roller with Revolve

Revolve Operation

Revolve creates 3D solids by rotating a 2D profile around an axis, like a lathe operation.

Perfect for:

  • Cylinders
  • Shafts
  • Pulleys
  • Wheels
  • Any rotationally symmetric part

Creating the Follower Stem

  1. Create new Body

    • Create Body → Rename: FollowerStem
  2. Create Sketch on XZ_Plane

  3. Draw stem profile

    • Rectangle tool
    • Draw vertical rectangle
    • Width: 15mm
    • Height: 80mm (long enough for full stroke plus clearance)
    • Position: Centered horizontally, extending upward from around Z=30
  4. Constrain the rectangle

    • Symmetric constraint: Left and right edges about X-axis (centers horizontally)
    • Distance constraint: Bottom edge from origin: 30 mm
    • Distance constraint: Width: 15 mm
    • Distance constraint: Height: 80 mm
  5. Close sketch

  6. Pad the stem

    • Pad tool
    • Length: 10 mm (creates rectangular bar in Y direction)
    • OK

Follower stem complete!

Optional: Connecting the Roller to Stem

For this lesson, we’ll position roller and stem together in assembly without a physical pin connection. This keeps the focus on cam motion.

Part 6: Creating the Base Frame



Frame Design Intent

The frame provides:

  • Cam shaft bearing - Fixed pivot for cam rotation
  • Follower guide - Constrains follower to vertical motion only
  • Structural base - Rigid reference for entire mechanism

Creating the Frame

  1. Create new Body

    • Create Body → Rename: Frame
  2. Create Sketch on XY_Plane

  3. Draw base plate

    • Rectangle tool

    • Width: 150mm

    • Height: 100mm

    • Centered at origin

    • Symmetric constraints: Center rectangle about both X and Y axes

    • Distance constraints: Width = 150 mm, Height = 100 mm

  4. Add cam shaft hole

    • Circle tool at origin
    • Coincident: Circle center → Origin
    • Radius constraint → Spreadsheet.ShaftRadius + 0.5 (add clearance)

    Note: You can type the formula directly or use a fixed value like 10.5 mm

  5. Add follower guide slot

    • Draw two vertical parallel lines for guide rails

    • Position: X = ±10 mm (creates 20mm wide slot for 15mm stem + clearance)

    • Height: 100mm (full range of motion)

    • Symmetric: Left and right lines about Y-axis

    • Distance between: 20 mm

  6. Close sketch

  7. Pad the frame

    • Pad tool
    • Length: 20 mm
    • OK

Frame complete!

Part 7: Assembly



Assembly transforms individual parts into a functioning mechanism. For the cam and follower, we must establish rotational motion for the cam while constraining the follower to pure vertical translation. The roller maintains contact with the cam surface through careful positioning.

Assembly Strategy

Assembly Constraints Plan

  1. Frame: Fixed (ground link)
  2. Cam: Rotates about Z-axis through shaft hole
  3. Follower Stem: Constrained to vertical (Z-direction) translation only
  4. Roller: Positioned at bottom of stem, contacts cam surface

Creating the Assembly

  1. Switch to Assembly workbench

    Use workbench dropdown (may be labeled “Assembly 3” or “Assembly 4” depending on version)

  2. Create new assembly

    Assembly → Create Assembly

    An assembly container appears in the tree

  3. Add parts

    Drag parts from tree into assembly or use “Add Part” button:

    • Frame
    • Cam
    • FollowerStem
    • Roller

Part 8: Technical Drawing



Creating Motion Documentation

Cam mechanism drawings require more than standard part views. They must clearly communicate the motion profile, angular zones, and follower displacement. Essentially, they document the programmed motion encoded in the cam geometry.

Step-by-Step: Cam Drawing

  1. Switch to TechDraw workbench

  2. Create a page

    • Insert Page
    • Choose template: A3_Landscape (need space for motion diagram)
  3. Add cam top view

    • Insert View → Select Cam body
    • Position in upper portion of page
    • Scale: Choose appropriate scale (e.g., 1:1 or 2:1)

    This shows the cam profile clearly

  4. Add cam section view

    • Insert Section View
    • Shows cam thickness and shaft hole
    • Position to the side

Annotating Motion Zones

  1. Add angular dimension tool

    Select angular dimension from toolbar

  2. Dimension each motion zone

    • 0° to 120°: Rise zone
    • 120° to 180°: High dwell
    • 180° to 300°: Return zone
    • 300° to 360°: Low dwell
  3. Add text annotations

    Use Text tool to label:

    RISE (120°)

    • Lift: 20mm
    • Motion: Simple Harmonic

    DWELL (60°)

    • Position: Maximum Lift

    RETURN (120°)

    • Motion: Simple Harmonic

    DWELL (60°)

    • Position: Base Circle

Creating Displacement Diagram

Follower Displacement Diagram

A displacement diagram is essential for cam documentation. It’s a graph showing follower position vs. cam rotation angle.

Axes:

  • X-axis: Cam rotation angle (0° to 360°)
  • Y-axis: Follower displacement (0 to 20mm)

Profile:

  • Horizontal at 0mm (0° to 0°)
  • Rising curve (0° to 120°)
  • Horizontal at 20mm (120° to 180°)
  • Descending curve (180° to 300°)
  • Horizontal at 0mm (300° to 360°)
  1. Create sketch on drawing page

    Use TechDraw → Insert Sketch

  2. Draw axes

    • Horizontal axis: 360 units (degrees)
    • Vertical axis: 20 units (mm)
  3. Plot the profile

    • Use Line and Arc tools to trace motion profile
    • Mark key points: 0°, 120°, 180°, 300°, 360°
  4. Label axes and zones

Finalizing the Drawing

  1. Complete title block

    • Part name: “Cam Profile - Rise-Dwell-Return”
    • Material: Steel, Aluminum, or as specified
    • Scale: 1:1 or as appropriate
    • Designer name and date
  2. Add notes

    NOTES:
    1. Motion profile: Simple harmonic rise and return
    2. Break all sharp edges 0.5mm
    3. Surface finish: Ra 1.6 on cam profile
    4. Heat treat to Rc 50-55 (if steel)
  3. Export

    • Right-click page → Export as PDF
    • Save as “CamFollower_Drawing.pdf”

Part 9: Testing Parametric Control



The true test of parametric design: change a parameter, watch the entire mechanism update correctly. This is where hours of careful constraint work pay off with instant design iterations.

Verification Tests

  1. Open Spreadsheet

    Double-click Spreadsheet in tree

  2. Change Lift parameter

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

    Press Ctrl+R or click Recompute button

  4. Observe changes:

    • Cam profile grows! Prime circle is now 70mm radius
    • Rise and return sections steeper
    • Follower stroke increases to 30mm
    • All constraints maintain!

✅ Success! Your lift is parametric!

Learning Outcomes



Congratulations! By completing this lesson, you have:

Designed Cam Profiles

Curve-based profiles with motion laws

Applied Polar Geometry

Angular constraints and radial dimensions

Created Contact Systems

Cam-follower contact motion

Used Revolve Operation

Rotationally symmetric parts

Modeled Complex Motion

Rise-dwell-return cycles

Documented Motion

Displacement diagrams and annotated zones

Most importantly: You’ve designed a motion-programming mechanism: geometry that directly controls motion characteristics!

Design Verification Checklist



Use this checklist to verify your cam design:

Extension Challenges



Ready for more? Try these enhancements:

  1. Add return spring

    Model a compression spring that keeps follower in contact with cam

  2. Create cam with different dwell timing

    Try 90° rise, 90° dwell, 90° return, 90° dwell

  3. Add more parameters

    Control rise angle, dwell angles via spreadsheet

Common Issues and Solutions



“Cam profile has sharp corners”

“Profile doesn’t close properly”

Next Steps



In the next lesson on Geneva Mechanism, you’ll explore:

Intermittent Motion

Precise indexing and locking mechanisms

Polar Patterns

Symmetrically arranged features

Locking Geometry

Self-locking designs for safety

Angular Precision

Exact angle control and repeatability

Each lesson builds your parametric CAD mastery while exploring fundamental mechanisms!



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
  • Cam: a shaped disc whose edge moves a follower
  • Pitch curve: the path of the roller centre round the cam
  • B-spline: a smooth curve the sketch draws through points you place
  • Knot: a point the B-spline passes through
  • Spring rate: newtons of force for each mm a spring is squeezed
  • Preload: the squeeze a spring already has at the start
  • 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
  • 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

A cam lifts its follower 20 mm while it turns 120°. You keep the 20 mm lift but make the rise happen in 60° of the turn. What changes for the follower?

120°60°120°60° risedwellreturndwell 20 mm0 0°360°one turn of the cam
rise in 120°rise in 45° push leans 14°leans 34°, rubs the guide
See it: the cam turns, the follower obeys the shape

Follower lift now
Largest pressure angle
Part of the turn
Pressure angle now
Largest cam radius, Rb + L
Dwell angles

The start values are the lesson's: a base circle of 40 mm, a lift of 20 mm, a rise and a return of 120° each with simple harmonic motion, and a roller of 10 mm. The cam turns clockwise, so the follower meets the profile in the order you sketch it, counterclockwise from 0°. The arrow is the push of the cam on the roller, at right angles to the cam surface. Its lean from the line of the follower is the pressure angle. Shorten the rise angle and watch it grow; then make the base circle larger and watch it fall.

Check yourself

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

1. A packaging machine needs a lift of 20 mm in only 45° of cam turn. With a base circle of 40 mm and a roller of 10 mm, the pressure angle reaches 34°, above the usual limit of 30°. The timing and the lift cannot change. What do you change?

2. A cam lifts its follower 25 mm with simple harmonic motion over a 120° rise. How high is the follower 45° into the rise?

3. A student draws the high dwell as an arc of radius 60 mm, but its centre is 3 mm away from the shaft centre. What does the follower do during the 60° of high dwell?

PartJob
CamIts edge is the motion: drawn from a table of points the spreadsheet works out
BaseA plate with a bearing boss for the shaft and a guide block for the stem
ShaftTurns in the boss, carries the cam; its knob is where you turn it
Stem, roller, pinThe follower: the roller rolls on the cam, the stem slides in the guide
SpringPushes the roller onto the cam

This build adds a running clearance (0.2 mm), a table of seven points for the cam's edge, where the guide block stands, and the spring. The motion values stay the lesson's.

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

First the values. Names in column A, values in B, a note in C. Give each B cell an alias, the name in column A of its row (click the cell, type the name in the Alias box above the grid, Enter), so a sketch can ask for Spreadsheet.Lift.

A (name)B
BaseCircleRadius, Lift40, 20
PrimeCircleRadius=BaseCircleRadius + Lift
RollerRadius, CamThickness10, 15
ShaftDiameter, ShaftRadius20, =ShaftDiameter / 2
RiseAngle, DwellAngle1, ReturnAngle, DwellAngle2120 deg, 60 deg, 120 deg, 60 deg
Clearance0.2

Type an angle with its unit, 120 deg, so the formulas below can add and subtract angles. An alias may not be a unit name or look like a cell, such as mm or X1.

The table of points

The roller's centre runs on a path BaseCircleRadius + RollerRadius + s from the cam's axis, where s is the lift. The cam's edge is that path moved in by the roller radius, square to the path. Where the path slopes, by the pressure angle a, that point sits a little ahead of the line to the roller's centre. Reading 40 + s straight off the axis would be up to 0.38 mm out.

  1. In row 15 type the headings, A to G: k, t, s, rho, a, x, y.
  2. In A16 to A22 type 1 to 7: seven points inside the rise, 15° apart.
  3. In row 16 type the six formulas below, one per cell.
  4. Select B16 to G16, Ctrl+C. Select B17 to G22, Ctrl+V. Each copy reads its own row.
  5. Alias F16 Pt1x and G16 Pt1y, then rows 17 to 22 Pt2x, Pt2y to Pt7x, Pt7y.
  6. Check: F19 and G19, the point at 60°, read 23.05 and 44.77. Close the Spreadsheet tab.
CellFormulaWhat it is
B16=RiseAngle * A16 / 8t, the cam angle of the point
C16=Lift / 2 * (1 - cos(180 * A16 / 8))s, the harmonic lift there
D16=BaseCircleRadius + RollerRadius + C16rho, the roller centre's radius
E16=atan(Lift / 2 * (180 deg / RiseAngle) * sin(180 * A16 / 8) / D16)a, the pressure angle
F16=D16 * cos(B16) - RollerRadius * cos(B16 - E16)x of the cam's edge
G16=D16 * sin(B16) - RollerRadius * sin(B16 - E16)y of the cam's edge

Last, four cells for the parts round the cam, in rows 25 to 28, each with its alias:

AliasTypeWhat it is
GuideY=BaseCircleRadius + RollerRadius + Lift + 70140 mm: the guide block's front face from the cam's axis. It moves out with a larger cam or lift
SpringRate0.4N/mm
SpringFreeLength62mm, the spring's length with no load
SpringLength=GuideY - BaseCircleRadius - RollerRadius - 4050 mm: the space for the spring, collar to guide, with the follower down
1 Parameter Value Unit 2 BaseCircleRadius 40 mm 3 Lift 20 mm 4 PrimeCircleRadius 60 mm 5 RollerRadius 10 mm 6 CamThickness 15 mm 7 ShaftDiameter 20 mm 8 ShaftRadius 10 mm 9 RiseAngle 120° 10 DwellAngle1 60° 11 ReturnAngle 120° 12 DwellAngle2 60° 13 Clearance 0.2 mm 15 k t s rho a x y 16 1 15° 0.76 50.76 6.45° 39.14 11.65 17 2 30° 2.93 52.93 11.33° 36.36 23.26 18 3 45° 6.17 56.17 13.86° 31.16 34.55 19 4 60° 10.00 60.00 14.04° 23.05 44.77 20 5 75° 13.83 63.83 12.25° 11.94 52.76 21 6 90° 17.07 67.07 8.99° −1.56 57.19 22 7 105° 19.24 69.24 4.74° −16.14 57.04 Pt4x, Pt4y 25 GuideY 140 mm 26 SpringRate 0.4 N/mm 27 SpringFreeLength 62 mm 28 SpringLength 50 mm shaded: a named cell gold: a formula, typed with = row 16 typed, rows 17 to 22 copied from it
Check it. The values, the table with its seven points, and the four cells for the parts round the cam. The gold cells are formulas. Menus move between versions; this result does not.

Design intent

  • Stem: a bar 15 × 10 mm that slides in a slot 15.4 × 10.4 in the guide block, one layer above the cam, 0.5 mm clear of it. A collar 30 mm wide seats the spring.
  • Roller: radius 10, 14 thick, in the cam's layer, 1 mm under the stem. Its bore is 6.2: it turns on a 6 mm pin.
  • Roller pin: pressed into the stem from above, with an e-clip groove under the roller.
  • Spring: wire 1.6 mm, coils 24 mm across, round the stem between the collar and the guide. It pushes the roller onto the cam.

Stem

The stem is drawn with its roller centre on the origin, lying along +Y.

  1. In the workbench list, pick Part Design. Create body, rename it Stem. Create sketch on XY_Plane.
  2. Polyline (G, M): click the twelve corners in the table, then back on the first.
  3. Fix each corner with Constrain horizontal distance (L) and vertical distance (I) from the origin.
  4. Circle centred on the origin, Constrain radius 3: the pin hole. Check: Fully constrained.
  5. Close. Pad 10 mm.
Corners (x, y), mm, in order
−7.5,−12 · 7.5,−12 · 7.5,30 · 15,30 · 15,40 · 7.5,40 · 7.5,150 · −7.5,150 · −7.5,40 · −15,40 · −15,30 · −7.5,30

Roller and roller pin

Round parts: draw half the section on XZ_Plane with Polyline, fix each point with L and I, Close, then Revolution about V_Axis, 360°.

BodyPoints (radius, height), mm
Rollera ring: the section does not touch the axis3.1,0 · 9.6,0 · 10,0.4 · 10,13.6 · 9.6,14 · 3.1,14
RollerPinhead on top, e-clip groove at the bottom0,0 · 2.6,0 · 3,0.4 · 3,0.6 · 2.4,0.6 · 2.4,1.2 · 3,1.2 · 3,26.5 · 5,26.5 · 5,28 · 0,28

For a cam that can change thickness, give the heights ƒx: the roller's 14 is Spreadsheet.CamThickness - 1, the pin's 26.5 is Spreadsheet.CamThickness + 11.5.

Spring

  1. Create body Spring. Create sketch on XZ_Plane.
  2. Circle with its centre 12 mm right of the origin and 0.8 mm up, radius 0.8: the wire. Check: Fully constrained. Close.
  3. Additive helix (Part Design, with the additive tools). Axis V_Axis, Mode Height-Turns-Angle, Turns 9.68.
  4. Height: click ƒx beside it, type Spreadsheet.SpringLength - 1.6, OK. Check: a coil 50 mm long over the wire, 9.68 turns. The spring now fits the space the spreadsheet gives it: a new cam or guide gives the same spring, longer or shorter.
The follower parts: a gold bar with a wider collar near one end and a hole at that end, a blue roller ring, a steel pin with a head, and a steel coil spring.
Check it. Four bodies: Stem (Pad), Roller and RollerPin (Revolution), Spring (AdditiveHelix).

Design intent

  • A plate 150 × 260 × 8 mm: the cam's axis is 75 mm from each side and 70 mm from the front edge.
  • A boss 36 mm across, 10 tall, with a bore of ShaftDiameter: the shaft turns in it, the cam sits on it.
  • A guide block 50 × 20 mm at GuideY, as tall as the stem's layer and 6 mm more, with a slot 15.4 × 10.4 the stem slides in.
  • Four 5.5 mm holes for M5 screws, a 1 mm chamfer.

Steps

  1. Create body, rename it Base. Hide the follower parts (select, Space). Create sketch on XY_Plane.
  2. Rectangle: corners at (−75, −70) and (75, 190), each fixed with L and I from the origin. Check: Fully constrained. Close. Pad 8 mm.
  3. Click the plate's top face, Create sketch. Circle on the origin, radius 18. Close. Pad 10 mm: the boss.
  4. Click the boss's top, Create sketch, a circle on the origin (any size). Close. Hole: Diameter ƒx Spreadsheet.ShaftDiameter, Depth 10, Drill point Flat.
  5. Click the plate's top face, Create sketch. Rectangle from x −25 to 25; its front edge at y ƒx Spreadsheet.GuideY, its back edge ƒx Spreadsheet.GuideY + 20. Close. Pad ƒx Spreadsheet.CamThickness + 26.5: the guide block.
  6. Create sketch on XZ_Plane (you look at the base from the front). Rectangle from x −7.7 to 7.7, its bottom at ƒx 18.3 + Spreadsheet.CamThickness, its top at ƒx 28.7 + Spreadsheet.CamThickness. Close.
  7. Pocket: Type Through all, tick Symmetric to plane. Check: a slot right through the guide block, 15.4 × 10.4, its floor 33.3 mm above the table.
  8. Plate top face, Create sketch: four circles at (±65, −60) and (±65, 180). Close. Hole 5.5, Through all.
  9. Ctrl+click the four top edges of the plate, Chamfer 1 mm.

Shaft

Create body Shaft, sketch on XZ_Plane, Polyline through 0,0 · 9.4,0 · 9.8,0.4 · 9.8,10 · 10,10 · 10,37 · 20,37 · 20,52 · 0,52, fix the points, Revolution about V_Axis, then Fillet 3 on the knob's top edge. The step at 10 mm is a shoulder: below it the shaft is 19.6 across and turns in the boss; above it, 20 across, it is pressed into the cam.

The base: a grey plate with a round boss near the front and a guide block with a rectangular slot near the back, a fixing hole in each corner. The shaft with its dark knob stands in front.
Check it. Body Base: Pad, Pad, Hole, Pad, Pocket, Hole, Chamfer. The slot lines up with the boss's centre.

Strategy

The cam and the shaft turn together on the boss: one Revolute joint, and the shaft Fixed in the cam. The stem may only slide along Y: two Distance joints from flat faces of the slot keep it level and on the axis, 0.2 mm clear. The roller turns on its pin: Fixed pin, Revolute roller.

FreeCAD has no joint for a roller touching a cam. So the stem keeps one movement, along Y, and you slide it until the roller touches, as the spring would.

Steps

  1. In the workbench list, pick Assembly. Create Assembly. Insert Component (I): Base, Cam, Shaft, Stem, Roller, RollerPin, Spring.
  2. Select Base, Toggle Grounded (G).
  3. Revolute (R): the top edge of the bore in the boss, then the cam's shaft hole (bottom edge). Check: the cam lies on the boss.
  4. Fixed (F): the cam's shaft hole (bottom edge), then the shaft's shoulder edge, where it steps from 19.6 to 20. Check: the knob stands on top.
  5. Distance (D): the floor of the slot, then the stem's bottom face. Distance 0.2 mm.
  6. Distance: the slot's left wall, then the stem's left face (the long part). Distance 0.2 mm. Check: the stem sits in the slot and slides only along Y.
  7. Fixed: the stem's pin hole (top edge), then the edge under the roller pin's head.
  8. Revolute: the roller's bore (top edge), then the stem's pin hole (bottom edge), Offset 1 mm. Check: the roller hangs 1 mm under the stem, in the cam's layer.
  9. Click Spring in the assembly's tree, Toggle Grounded. It has no joint: the spring only sits round the stem, so its place comes from the spreadsheet.
  10. In the Property view, open Placement. Set Angle −90° about Axis x 1, y 0, z 0: the coil now lies along Y.
  11. Open Position. In y type =, then Spreadsheet.GuideY - Spreadsheet.SpringLength, Enter. In z type =, then Spreadsheet.CamThickness + 23.5, Enter. Leave x at 0. Check: the spring lies round the stem, from the collar to the guide.
  12. Drag the stem toward the cam until the roller touches it.

A part on the wrong side of a face: change the sign of that joint's Distance or Offset. FreeCAD 1.1 measures it along the first part picked.

Testing

Turn the knob so that a cam angle in the table points at the roller, slide the stem until the roller touches, and Measure from the shaft's axis to the roller's axis:

Cam angleLift sShaft to roller axis
0° (start of the rise)050.00 mm
30°2.9352.93 mm
60°10.0060.00 mm
90°17.0767.07 mm
120° to 180° (high dwell)20.0070.00 mm
300° to 360° (low dwell)050.00 mm

Check it: we turned this model a full turn in FreeCAD 1.1 and found the roller's place from the cam's own outline at every degree: the lift follows the harmonic rise, the dwells and the return to within 0.03 mm, the roller touches the cam everywhere and never cuts into it, the largest pressure angle is 14.4°, and no other parts touch. The spring pushes with 4.8 N with the follower down and 12.8 N up; on a 238 g follower that keeps the roller on the cam up to about 460 rpm, far above a hand on the knob.

Checked on this build in FreeCAD 1.1.4: Tests 1, 2 and 3 and the Compact and Extended sets each rebuild with the lift within 0.05 mm of the law and no part touching another. The slot, the roller, its pin and the spring follow: the spring stays on the stem's axis from the collar to the guide, and is 30 mm long at full lift, well above the 17.1 mm at which its coils would close. With the guide at a typed 140 mm, the Extended set (50 and 30) left it only 10 mm: the coils would close before the top of the lift. The GuideY formula moves the guide out instead.

Ours, to compare with yours. Open Section and move the cut through the follower to see the roller on its pin.

The cam and follower: seven parts. Drag to turn, pinch or scroll to zoom. Open in the full viewer.

This build draws the exact edge: the seven points of the table, short arcs through them, and the return as their mirror image. The single arc is not used; it is up to 5.1 mm off and turns a 13° corner where it meets the high dwell.

Rays and dwells

  1. In the workbench list, pick Part Design. Create body, rename it Cam. Create sketch on XY_Plane.
  2. Line (G, L) from the origin up and to the left, about 75 mm. Select it, Toggle construction geometry (G, N): a blue guide line, no solid.
  3. Select it, Constrain distance (K, D) 75. Select it again, Constrain angle (K, A), ƒx Spreadsheet.RiseAngle. Check: the line points at 120°.
  4. Three more construction lines from the origin the same way: 75 long at ƒx Spreadsheet.RiseAngle + Spreadsheet.DwellAngle1 (180°); 75 long at ƒx Spreadsheet.RiseAngle + Spreadsheet.DwellAngle1 + Spreadsheet.ReturnAngle (300°); 80 long at ƒx Spreadsheet.RiseAngle + Spreadsheet.DwellAngle1 / 2 (150°, the mirror line).
  5. Arc (centre, G, A): centre on the origin, start on the 300° line, end on the red X axis, going counterclockwise. Constrain radius ƒx Spreadsheet.BaseCircleRadius. If an end did not snap: select it and the line, Constrain point onto object (O). This is the low dwell.
  6. Arc: centre on the origin, from the 120° line to the 180° line. Radius ƒx Spreadsheet.PrimeCircleRadius. This is the high dwell.

Rise points

  1. Point (Sketcher toolbar): click near the start of the rise, about 40 mm out at 15°.
  2. Select the origin and the point, Constrain horizontal distance (L), ƒx Spreadsheet.Pt1x. Then Constrain vertical distance (I), ƒx Spreadsheet.Pt1y. Check: the point jumps to (39.14, 11.65).
  3. Six more points the same way, further round, with Pt2x, Pt2y up to Pt7x, Pt7y.
  4. Seven points on the other side of the mirror line, roughly opposite. For each: the rise point, its partner, then the mirror line, Constrain symmetric (S). Pt1 pairs with the point nearest 300°, Pt7 with the one nearest 180°.

Rise and return arcs

  1. Arc by 3 points (with the arc tools): click the end of the low dwell on the X axis, then Pt2, then near Pt1. Select Pt1 and the arc, Constrain point onto object (O). Check: the arc runs through all three.
  2. Three more arcs the same way: Pt2 to Pt4 through Pt3, Pt4 to Pt6 through Pt5, Pt6 to the start of the high dwell through Pt7.
  3. Four arcs for the return the same way, through the mirrored points: from the end of the high dwell at 180° to the start of the low dwell at 300°.
  4. Circle on the origin, radius ƒx Spreadsheet.ShaftRadius: the shaft hole. Check: Fully constrained.
  5. Close. Pad, Length ƒx Spreadsheet.CamThickness.

Why arcs, not a B-spline: each arc is fixed by its three points, so the sketch is fully constrained and follows every change in the table. Four arcs lie within 0.03 mm of the exact edge and meet at less than 0.4°. A B-spline through the points keeps loose handles at its ends, and FreeCAD 1.1 cannot pin them without extra rules.

The finished cam: a teal plate with a smooth outline that grows from a small radius to a large one, stays there, and comes back, with a round hole for the shaft.
Check it. One solid 15 mm thick, the sketch Fully constrained. Measure from the origin: 40.00 on the low dwell, 60.00 on the high dwell, and the edge passes through (23.05, 44.77), 50.36 mm out at 62.8°.
Watch it build: the cam from its table of points
0°120°180°300°150° Rays and dwellsarcs of 40 and 60 mmthe 150° line mirrors Seven pointsPt1 to Pt7, the tableand their mirror images Arcs through thema closed outlineshaft hole R 10, pad 15
  1. Guide lines from the centre at 120°, 150°, 180° and 300°, and the two dwells: arcs of 40 and 60 mm.
  2. Seven points of the rise from the spreadsheet, and their mirror images about the 150° line for the return.
  3. Short arcs through the points join the dwells into a closed outline. A shaft hole of 10 mm radius, then a 15 mm pad.
The model you build, turning once: the follower rises 20 mm over 120°, waits for 60°, returns over 120° and waits for 60°.

Make it buildable: the drawing

A workshop cannot make the cam mechanism from the 3D model alone. It needs one sheet with the sizes, the limits on the sizes that matter, and a cut along the follower that shows the cam on its shaft, the roller on its pin and the stem in its guide. Here is that sheet, and the TechDraw steps to make it.

  1. Page. Workbench TechDraw, Insert Page using Template, A3_Landscape_ISO5457_advanced.svg. Fill the title block.
  2. Plan. Select the assembly, Insert View, direction Top, scale 0.5, turned so the follower runs across the page. It shows the cam profile and the follower line, and carries the balloons.
  3. Section A-A. Select the plan, Insert Section View, plane along the follower through the cam axis (X 0), symbol A, scale 1. Place it above the plan: in first angle, this is the front view.
  4. Hatching. Set Cut Surface Display to Hide and hatch each cut part with Apply Geometric Hatch to Face, so that parts that touch differ: the base one way, the cam the other, the roller the first way again, the stem the other. Leave the shaft and the roller pin plain. Draw the spring simplified, as its outline.
  5. Item list and balloons. A spreadsheet ItemList, then Insert Spreadsheet View. Insert Balloon Annotation for items 1 to 8.
  6. Fits. In the section, leaders with ⌀20 H7/p6 (cam on shaft), ⌀20 H8 and ⌀19.6 h7 (shaft in the boss), ⌀6 H7/p6 and ⌀6.2 H8 (roller pin and roller).
  7. Frames. Insert SVG Symbol from Symbols/gd-and-t for the two frames below, datum A on the underside of the base and datum B on the boss bore. Then Export Page as PDF.
The A3 assembly drawing of the cam and roller follower. Top: section A-A at 1 to 1 along the follower, with the base, the cam, the roller, the stem and the spring outline hatched, the shaft with its knob and the roller pin plain, the callouts diameter 20 H7/p6, diameter 20 H8, diameter 19.6 h7, diameter 6 H7/p6 and diameter 6.2 H8, a perpendicularity frame with datum B, and datum A. Below it the plan at 1 to 2 with the cam profile, the cutting line, the overall 260 by 150, balloons 1 to 7 and a position frame on the slot. Right: the item list of eight items and the GD&T notes; bottom left the fit notes; the ISO title block.
The finished drawing (click for the PDF). Made in FreeCAD.

The cam is pressed onto the shaft; the shaft turns in the boss on a smaller diameter, 19.6 mm, which passes through the bore of the cam before the pressed part goes in. The roller turns on a pin pressed into the stem, and the stem slides in the guide.

WhereFitHole, mmShaft, mmGap, mm
Cam on the shaft⌀20 H7/p6, pressed20.000 to 20.02120.022 to 20.035−0.035 to −0.001 (interference)
Shaft in the boss⌀20 H8 on ⌀19.6 h7, turning20.000 to 20.03319.579 to 19.6000.400 to 0.454 (clearance)
Roller pin in the stem⌀6 H7/p6, pressed6.000 to 6.0126.012 to 6.020−0.020 to 0 (interference)
Roller on its pin⌀6.2 H8 on ⌀6 p6, turning6.200 to 6.2226.012 to 6.0200.180 to 0.210 (clearance)
Stem in the guide slot15 h7 in 15.4 (ISO 2768-m), sliding15.2 to 15.614.982 to 15.0000.200 to 0.618 (clearance)
FrameOnWhy
Datum Aunderside of the basethe face the mechanism stands on
Datum Bthe axis of the boss borethe axis the cam turns about
⊥ ⌀0.05 | Athe boss borethe cam turns flat, square to the roller, so the roller runs on its whole width
⌖ 0.1 | Bthe slot in the guidethe follower moves on a line through the cam axis, so the lift follows the cam as designed

Check: the cut runs along the follower through the cam axis; parts that touch are hatched in different directions; the shaft and the roller pin are plain; the spring is drawn as its outline.

Found this useful?

Discussion

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