What makes CAD different
Computer-aided design builds parts from features with numbers. A plate is “sketch a 60 × 40 mm rectangle, extrude 3 mm, cut four 4.4 mm holes”. Change 60 to 80 and the plate, its holes and every feature that depends on them rebuild. That recorded sequence is the feature tree (or history), and the reason CAD is used for anything that must fit.
Step 1: the sketch
A sketch is a 2D drawing on a plane (XY, XZ, YZ or a face of the part). It is made of lines, arcs and circles, held in place by constraints:
| Constraint type | Examples |
|---|---|
| Geometric | Horizontal, vertical, parallel, perpendicular, tangent, coincident, concentric, equal, symmetric |
| Dimensional | Length 60 mm, radius 3 mm, angle 45°, distance from origin |
A sketch is fully constrained when nothing can move — most tools turn it black or green. Under-constrained sketches change shape unpredictably when you edit something else.
Step 2: features
| Feature | Does | Typical use |
|---|---|---|
| Extrude (pad) | Pushes a sketch into a solid | Plates, brackets, enclosures |
| Cut (pocket) | Removes material using a sketch | Holes, slots, recesses |
| Revolve | Spins a profile around an axis | Knobs, bottles, chess pieces |
| Sweep | Moves a profile along a path | Handles, pipes, gaskets |
| Loft | Blends between profiles | Transitions, ducts |
| Fillet / chamfer | Rounds or bevels edges | Strength, comfort, print quality |
| Shell | Hollows a solid to a wall thickness | Boxes, cases |
| Pattern / mirror | Repeats or reflects features | Hole patterns, gear teeth, ribs |
Our generators use the same ideas in code: the gear generator extrudes an involute profile with a bore cut out; chess pieces are revolves.
Design intent
Good CAD captures why a part is shaped as it is. Dimension a hole from the edge it must align with, not from an arbitrary corner. Use symmetry and equal constraints instead of typing the same number twice. Name key dimensions as parameters (wall = 2.4 mm) so one change updates everything.
Assemblies and fits
Parts are combined in assemblies with joints or mates (rigid, revolute, slider). Real parts need clearance: a 5 mm pin rarely fits a 5.0 mm printed hole. Print a tolerance gauge to measure your printer, and see tolerances and fit.
Exporting
| Purpose | Export |
|---|---|
| Another CAD system or a machine shop | STEP (exact surfaces) |
| 3D printing | 3MF or STL (triangles; set a fine tessellation) |
| Web or AR preview | GLB |
| Drawings | PDF/DXF drawings from the CAD tool |
Mesh exports approximate curves with triangles. If holes come out faceted, increase export resolution — and see how a cylinder becomes 32 sides.
Free tools to start with
FreeCAD (Part Design workbench: Pad, Pocket, Revolution), Onshape’s free plan for public documents, and OpenSCAD for code-driven parts are all good ways in. Commercial tools like Fusion and SolidWorks follow the same sketch → feature workflow. Compare tools.
Check your understanding
1. When is a sketch fully constrained?
Fully constrained sketches rebuild predictably.
2. Which feature would you use to make a knob or bottle?
Revolve spins a profile around an axis.
3. Which format keeps exact CAD surfaces for another CAD system?
STL and GLB store triangles.