A drawing that knows its own measurements
CAD stands for computer-aided design. It is software for designing objects with exact sizes. A CAD drawing is more than lines on a screen. It remembers that this edge is 60 mm long and that hole is 10 mm wide.
That memory is the superpower. Engineers use CAD for things you can hold, like phone cases and bike parts, and things you can walk through, like bridges and buildings. Before anyone cuts metal or prints plastic, they can build the part on screen, check it, and fix it for free.
You will meet a few new words on this page. Here is a quick list. Each one gets explained again right where you use it.
- CAD start here
- Computer-aided design. Software for drawing parts with exact sizes.
- Sketch section 3
- A flat 2D shape, like a rectangle with a circle in it. Most 3D parts start as one.
- Extrude section 3
- Push a flat sketch straight up to give it height and make it solid.
- Constraint section 6
- A rule in a sketch, like "these two lines stay parallel," that holds when you edit.
- Parametric section 5
- Built from named numbers (parameters). Change a number and the part rebuilds.
- Tolerance section 7
- How much a real part can differ from the design and still work.
- STL section 9
- A common file type that stores a 3D shape as tiny triangles. Many 3D printers read it.
From idea to real object
Most CAD projects follow the same path.
- IdeaWhat do you need? A tag, a stand, a gear?
- SketchDraw the flat outline with sizes.
- SolidExtrude, cut holes, round edges.
- CheckMeasure it. Does it fit? Is it strong enough?
- MakeExport a file and print or cut it.
Real projects loop back a lot. A failed check sends you back to the sketch.
Paper drawing vs CAD: what changes?
Engineers drew by hand for centuries, and hand drawing is still great for quick ideas. But a paper drawing is frozen. CAD keeps the design alive. Compare the two, then try the demo.
| Job | Paper | CAD |
|---|---|---|
| Edit | Erase and redraw. | Change a number. The part updates. |
| Copy | Trace it or draw it again. | Copy and paste. Make 100 the same. |
| Measure | A ruler, with small errors. | Click two points and read the distance. |
| Share | Photocopy or mail it. | Send a file. Everyone opens the same model. |
| Simulate | Build a prototype and see. | Check fit on screen first. Some programs can also estimate stress or motion. |
| Make | A person reads the drawing and builds it. | Export a file for a 3D printer or a cutting machine. |
CAD does not replace sketching on paper. Many designers sketch ideas by hand first, then build the careful version in CAD.
- Erase the old circle
- Measure and draw a bigger circle
- Fix the number on the dimension
- Erase and redraw the dashed lines in the front view
- Check that nothing else is now too close
- Change the hole diameter number. Every view updates by itself.
Hole is 10 mm. Press the button to change it.
From a flat sketch to a solid part
A sketch is a flat shape drawn on a plane, like a rectangle on a sheet of paper. To make it 3D, you extrude it. That means pushing the sketch straight up (or down) by some distance, like squeezing a cookie cutter shape out of dough.
Try it. Pick a profile, then drag the height slider from zero upward. At zero you only have a flat sketch.
1. Sketch a profile
2. Extrude
3. Add features
- 1Sketch
- 2Extrude
- 3Hole
- 4Fillet
A fillet rounds an edge so it is smooth instead of sharp. Here it is drawn as a simple bevel. Real CAD rounds it as a true curve.
Notice the volume. For a straight extrude, volume is just area of the sketch times height. A hole takes away area, so it takes away volume too.
A part is a recipe: the feature tree
Most CAD programs do not just store the final shape. They store the steps in order: sketch, extrude, hole, fillet. That list is called the feature tree or history. It is a recipe the computer can replay. This style is called history-based modeling.
Because the steps are saved, you can go back and change one. The computer replays the recipe and the whole part updates. Try switching features off, or moving them up and down. The order can change the result.
Feature tree (runs top to bottom)
Sketch and Extrude are locked in place because every feature below them builds on them. Turn one off and the later features show an error.
Design your own name tag
A parametric model is built from named numbers called parameters, like width or hole_d. Change a parameter and the model rebuilds. Design a name tag below. The three views, the weight guess, and the printability checker all update as you move a slider.
Start from
Parameters
Weight is an estimate. It assumes a solid part and a PLA density of about 1.24 g/cm³ (PLA is a common 3D printing plastic). Real prints are often lighter because the inside is usually printed with a sparse pattern, and the exact density depends on the filament.
Printability checker
These are rules of thumb for a typical desktop printer with a 0.4 mm nozzle, printing the tag flat. Your printer, material, and slicer settings decide what really works. In this builder the hole is always centered 8 mm from the left edge.
Try this: set the thickness to 0.6 mm, or make the hole almost as wide as the tag. The checker should complain. Then fix it by changing one number. That is the power of parametric design.
Constraints: tell the sketch what must stay true
Say you draw a rectangle and then drag one corner. If nothing holds the shape together, you get a crooked mess. A constraint is a rule you add to a sketch, like "these lines stay parallel" or "these two sides are equal." When you edit, the rules hold. The rules you pick record your design intent, which is what you meant the part to do.
Each level gives you an intent. Turn on the right constraints, then press Check my sketch. It tries six different drags of the corner and sees if your intent survives every one. You can also drag the round handle yourself, or focus it and use the arrow keys.
Constraints
Pick constraints, then check your sketch.
This puzzle is simplified. Real CAD programs solve hundreds of constraints at once, and they warn you if two rules fight each other.
Tolerances: why a 10 mm peg needs a bigger hole
On screen, a 10.00 mm peg fits a 10.00 mm hole perfectly. In real life, nothing is perfectly exact. A tolerance is how much a real part is allowed to differ from the design and still work.
3D printers add their own errors. As a rough idea, plastic can squish out a bit, and small holes often come out a little smaller than designed. This demo assumes a made-up printer where holes print 0.15 mm too small and pegs print 0.05 mm too big. Your printer will be different, which is why people print a small test piece first.
How to read it: the filled circle is the peg. The dashed or solid outline is the hole. Diagonal stripes mean the peg overlaps the hole wall, so it will not fit. The gap is drawn 5 times bigger than real so you can see it.
Designed hole diameter (peg is 10.00 mm)
| Size | Designed | Printed |
|---|---|---|
| Hole | 10.00 | 9.85 |
| Peg | 10.00 | 10.05 |
| Gap (hole - peg) | 0.00 | -0.20 |
Rule of thumb used here: a printed gap under 0.05 mm is too tight, 0.05 to 0.35 mm is a good fit, and over 0.35 mm is loose. Guides online give different numbers, so treat these as a starting point and test on your own printer.
Three ways to model: parametric, direct, and code
You have used the first way already. There are others, and each is good at something different.
Parametric
Build with sketches, constraints, and named numbers. Change a number and the history replays.
Fusion, Onshape, FreeCAD
- Good at
- Parts you will change many times.
- Watch out
- Edit an early step wrong and later steps can break.
Direct
Grab a face of the solid and push or pull it. No recipe to replay, so edits are quick.
Tinkercad-style block building
- Good at
- Quick edits and first drafts.
- Watch out
- The model forgets why it is shaped that way, so a size change may not carry through.
Code CAD
Write the part as a short program. The computer builds the shape when you run it.
OpenSCAD
- Good at
- Loops, repeats, and saving designs as text.
- Watch out
- Hard to sculpt organic curves.
Many tools mix these ideas, so the lines blur. Beginners often start with a block builder like Tinkercad, then move up. The code below is the name tag from the builder, written the code-CAD way. It follows the numbers you set in the builder above, so go change a slider and come back.
- 1
Parameters: named numbers at the top. Change width here and everything below follows. This is the parametric idea in code form.
- 2
A module is a reusable recipe. This one makes a rounded plate by extruding a 2D square, with the corners rounded by the offset trick.
- 3
difference() subtracts shapes from the first one. Here a cylinder cuts the hole. It starts below the plate and runs past the top so the cut goes all the way through.
- 4
Raised text is another extrude: a 2D text() shape pushed up 1 mm.
This is a simplified, OpenSCAD-style sample. Real files may need small changes, like picking a font, and the exact letter widths will differ from the blocks in the builder.
Careers, 3D printing, and the web
CAD skills show up in many jobs. Here are four.
Mechanical engineer
Designs machines and parts, from engines to medical tools. Uses CAD to make sure parts fit and hold up.
Often uses parametric CADIndustrial designer
Shapes how products look and feel, like a headphone or a water bottle. Sketches by hand, then builds the form in 3D.
Mixes sketching and CADArchitect
Plans buildings. Drawings and 3D models show rooms, walls, and how people move through them. Many architects use related tools built for buildings.
CAD-style drawing and 3DGame artist
Builds 3D characters and worlds. This is usually called 3D modeling rather than CAD. It cares more about looks than exact sizes.
Mesh modeling toolsHow CAD connects to 3D printing
When your model is done, you export it. A common choice is an STL file. An STL stores only the outside surface, built from many tiny triangles. It does not keep your sketches or constraints. A program called a slicer then cuts that shape into thin layers for the printer. To see what happens next, read How Do 3D Printers Work?
If you like code, the same triangles idea is how 3D graphics work on the web. The three.js geometry and meshes tutorial shows how shapes are built from vertices and triangles, and your first 3D scene gets a shape on screen.
Tools to try
Tinkercad is known as a beginner-friendly place to start. Fusion, Onshape, and FreeCAD are parametric tools that grow with you, and OpenSCAD is a code-based option. Features, plans, and rules for students change over time, so check each tool's website and ask your teacher before you create an account.
Quick answers
What does CAD stand for?
CAD stands for computer-aided design. It means using software to draw and design objects with exact measurements, in 2D or 3D, instead of drawing them by hand.
What CAD software should a beginner start with?
Tinkercad is a popular first step because it runs in a web browser and builds shapes from simple blocks. When you want more control, people often move to tools such as Fusion, Onshape, or FreeCAD, or write parts as code in OpenSCAD. Check each tool's current terms and what your school allows before you sign up.
What is the difference between CAD and 3D modeling for games?
CAD focuses on exact sizes so a part can be built and fit with other parts. Game and movie modeling focuses on how something looks, and artists often sculpt or move points on a surface mesh. The tools overlap, but the goals are different.
What is an STL file?
An STL file describes the surface of a 3D shape as many small triangles. Many 3D printing programs can read it, so it is a common way to hand a CAD model to a printer. It stores shape only, so it does not keep your sketches, constraints, or feature history.
Why does my 3D-printed part not fit?
Printers are not perfect. Holes often come out a little smaller than designed and pegs a little larger. If a model has a 10 mm peg and a 10 mm hole, the printed pair may not fit. Designers add a small clearance, often a few tenths of a millimeter, and test-print to find what works for their printer.
Do I need to be good at math to learn CAD?
You need comfortable basics: measuring, shapes, area, and volume. Algebra helps when you name numbers as parameters. The software does the heavy calculating, so you can learn the math as you design.
Quick quiz
1. In a parametric model, you change the thickness from 5 mm to 3 mm. What happens?
2. A 3D-printed 10.0 mm peg will not go into a hole you designed as 10.0 mm. What is the best fix?
3. What does a constraint do in a sketch?
Keep learning and keep making
You can now read a feature tree, spot design intent, and add clearance for a real printer. Next, meet robots, or put shapes on screen with code.
Related: What Is a Robot? Sense, Think, Act