What CAD is and why parametric design matters
Computer-aided design turns ideas into precise digital models. Learn what CAD does, how parametric models remember their own logic, and why that makes changing a design cheap.
Lesson 1 of 6 · 35 min · Self-paced · Free
Why engineers model before they make
Every robot part you have ever seen, from a gripper finger to a motor bracket, existed as a digital model before anyone cut, printed or moulded it. That model is made with computer-aided design (CAD) software. CAD lets an engineer describe a part exactly: every length, every hole, every curve. From that one description you can check that parts fit together, calculate mass, make drawings for a workshop, send files to a 3D printer or a laser cutter, and simulate how the part will bend under load.
Before CAD, designs lived on paper drawings, drawn by hand with rulers, compasses and great patience. A change, such as making a plate 5 mm longer, could mean redrawing several sheets. CAD made precise geometry fast to create. But its biggest gift to engineers is something subtler: it made precise geometry fast to change.
What a CAD model is
There are several kinds of CAD model, and it helps to know them apart:
- 2D drawings are flat lines and arcs, like a digital version of a technical drawing. They are still used for laser-cut parts and building plans.
- Solid models describe a closed 3D volume with an inside and an outside. The software knows which points are in the part, so it can compute volume, mass and whether two parts overlap. Most mechanical design uses solids.
- Surface models describe skins with no thickness, useful for complicated curved shapes such as car bodies.
- Meshes approximate a shape with many small triangles. They are what 3D printers and games use, but they are hard to edit precisely. You will meet them again in the last lesson of this module.
This module focuses on parametric solid modelling, the approach used by most mechanical CAD tools, including free ones.
Parametric design: models that remember their logic
In a parametric model, the shape is controlled by parameters, named values such as hole_diameter = 5.5 or plate_thickness = 4, and by the relationships between features. The software records the steps used to build the part (draw this outline, extrude it 4 mm, cut a hole through it) in order, in a list usually called the feature tree or history. Change a parameter and the software replays the steps with the new value, rebuilding the part automatically.
The opposite approach, called direct modelling, lets you push and pull faces freely without a recorded history. It is quick for one-off shapes and for editing imported files, but the model does not remember why it is the shape it is. Many modern tools offer both.
A parametric model in Python
You can see the idea without any CAD software. Here, a mounting plate for two bolts is defined entirely by four parameters. The plate's length, width and volume are derived from them, never typed in by hand:
import math
def bracket(hole_d, hole_spacing, margin, thickness):
"""Derive a flat mounting plate from four design parameters (mm)."""
length = hole_spacing + 2 * margin
width = 2 * margin
hole_area = math.pi * (hole_d / 2) ** 2
volume = (length * width - 2 * hole_area) * thickness
return length, width, volume
for hole_d in [3.4, 5.5]:
length, width, volume = bracket(hole_d, hole_spacing=40, margin=3 * hole_d, thickness=4)
print(f"hole {hole_d} mm -> plate {length:.1f} x {width:.1f} mm, volume {volume / 1000:.2f} cm³")Output:
hole 3.4 mm -> plate 60.4 x 20.4 mm, volume 4.86 cm³
hole 5.5 mm -> plate 73.0 x 33.0 mm, volume 9.45 cm³The rule margin = 3 * hole_d is a design choice made for this example (keep material around each hole in proportion to its size), not a standard. The point is what happens when the bolt size changes: one number changes, and the length, width and volume all follow. Nothing has to be redrawn, and nothing can be forgotten. A parametric CAD model works the same way, only with 3D geometry instead of three numbers.
Design intent
Parametric models are powerful only if they are built to change in the right way. Design intent is the set of rules a model should obey when it changes. For the plate above, the intent might be:
- The two holes are always centred across the width.
- The holes are always the same size as each other.
- The edge margin grows with the hole size.
If the model is built with those rules, changing the bolt size gives a sensible new part. If instead the holes were placed by typing "12.3 mm from the left edge", the model would happily produce a part with holes hanging off the edge. Two models can look identical today and behave completely differently tomorrow. Capturing design intent is the main skill this module teaches, and you will meet it in every lesson.
A typical CAD workflow
Most parametric tools follow the same broad pattern, whatever their buttons look like:
- Sketch a 2D profile on a flat plane, and fix its shape with constraints and dimensions.
- Turn the sketch into a solid with a feature such as extrude or revolve.
- Add more features, such as holes, cuts, fillets and patterns, each building on the last.
- Assemble several parts and define how they move relative to each other.
- Document the design in a drawing with dimensions and tolerances, and export files for manufacturing and sharing.
The next five lessons follow exactly this order.
Choosing software
The concepts in this module apply to any parametric CAD tool. If you want to practise, free options exist. FreeCAD is an open-source parametric 3D modeller that runs on Windows, macOS and Linux. Onshape runs in a web browser and offers accounts for education; check its website for current plans and who is eligible. Many commercial tools also offer student licences. Do not worry about picking the "best" one: once you understand sketches, constraints, features and design intent, moving between tools is mostly a matter of finding where the buttons are.
Recap
- CAD describes parts precisely so they can be checked, analysed, drawn and made.
- Parametric models are driven by named parameters and a recorded history of features.
- Change a parameter and the model rebuilds itself; that is what makes design changes cheap.
- Design intent is the set of rules a model should keep when it changes; build models to obey it.
Project
Paper project: a parametric phone stand
No software is needed, though you may use Python.
- Sketch a simple phone stand from the side: a base, a back support and a lip that holds the phone.
- Choose three to five parameters that should control it, for example phone thickness, viewing angle and base depth. Give each a name and a starting value.
- Write every other dimension as a formula of those parameters (for example, slot width = phone thickness + 2 mm clearance).
- Write down your design intent as three rules the stand should obey when a parameter changes.
- Change one parameter, such as a phone in a thick case, and recompute every dimension. Did any of your rules break? Revise your formulas if so.
Deliverables
- A labelled side-view sketch
- A parameter list with names, values and units
- Formulas for all derived dimensions and three written design-intent rules
- Your recalculation for a changed parameter, with any fixes you made
Knowledge check
Check your understanding
Go further
- FreeCAD (official website) ↗
Download page and documentation for FreeCAD, an open-source parametric 3D modeller.
- Onshape for Education (official website) ↗
Information about Onshape's browser-based CAD for students and educators. Check the site for current plans and eligibility.
- Computer-aided design (Wikipedia) ↗
The history of CAD and an overview of the kinds of models it uses.
Lesson materials · free to download
Sign in to track your progress. Reading is free without an account.