📘 CodingMarble Learn

CAD/CAM: Digital Design and Manufacture

CAD (computer-aided design) is drawing and testing a product on a computer as an exact 3D model. CAM (computer-aided manufacture) turns that model into instructions (a toolpath, saved as G-code) that a computer-controlled machine follows to make it. CNC milling and lathes cut material away (subtractive). 3D printers build up layers (additive). Laser cutters cut flat sheets. Using CAD and CAM together makes parts accurate, repeatable and quick to change, and lets designers make fast prototypes (rapid prototyping). The costs are expensive machines, training and less hand skill.

🎬 Step-by-step story

  1. CAD: the designer draws the part on a computer as an exact 3D model with sizes in millimetres.
  2. CAM: software turns the model into a toolpath, the route the tool will follow, saved as G-code.
  3. CNC milling is subtractive: a spinning cutter follows the toolpath and removes material from a block.
  4. 3D printing is additive: a hot nozzle lays down plastic one thin layer at a time until the part is complete.
  5. Laser cutting works on flat sheets: a laser beam follows the 2D outline and cuts the shape out.
  6. Your turn: choose how many parts you need and see which method is cheapest for each part.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Is CAM a machine or software?

CAM is the software (and the process) that plans the toolpath. The CNC machine then follows it.

Why does milling make so much waste?

It starts with a full block and cuts away everything that is not the part. The chips are the waste.

Why are 3D-printed parts slow to make?

The nozzle must trace every layer, one thin slice at a time.

Can a laser cutter make 3D shapes?

It cuts flat 2D outlines from sheets. You can slot or glue the pieces together to build a 3D object.

Why is a mould cheapest only for large numbers?

The mould costs a lot once. Shared over thousands of parts, it adds very little to each part.

What CAD and CAM mean

CAD (computer-aided design) means using software to draw and model a product. A CAD model is exact: every size is a number. You can rotate it, test it and change one size, and the whole model updates.

CAM (computer-aided manufacture) means using software to plan how a machine will make the part. It works out the toolpath (where the cutter or nozzle goes), speeds and order of cuts, and saves them as G-code, a list of simple moves such as G1 X40 Y10 (move in a straight line to x = 40 mm, y = 10 mm).

CNC (computer numerical control) machines read the G-code and move motors very accurately (often to 0.01 mm).

The chain is: idea → CAD model → CAM toolpath → CNC machine → product.

What CAD can do before anything is made

CAM machines: subtractive and additive

Subtractive: cutting material away

Subtractive methods are strong and accurate, but produce waste (chips, offcuts).

Additive: building up layers

Additive methods make shapes that are impossible to cut (hollow, lattice), with little waste, but they are slow and parts can be weaker between layers.

Rapid prototyping

A prototype is a test model of a product. Rapid prototyping means making it quickly, straight from the CAD file, often by 3D printing or laser cutting. Designers can hold it, test the fit and ask users, then change the CAD file and print again the next day. This loop (design → make → test → improve) is called iteration and saves time and money before mass production.

Advantages, disadvantages and choosing a method

Advantages

Disadvantages

Which method?

It depends on quantity, material and shape. For 1–10 parts, 3D printing has no set-up cost. For tens to hundreds, CNC machining is a good balance. For thousands, an injection mould is expensive to make but each part costs very little. Try this in the 3D free play.

Key formulas and definitions

Worked examples

1. A key-ring design needs to be cut from 3 mm acrylic sheet, 30 copies. Which CAM machine is best and why?

A laser cutter. The part is flat (2D outline in one sheet), acrylic cuts cleanly with a laser, and 30 copies can be nested on one sheet in minutes.

2. A 3D printer lays layers 0.2 mm thick. How many layers are needed for a part 15 mm tall?

Layers = height ÷ layer thickness = 15 ÷ 0.2 = 75 layers.

3. 3D printing costs 0 set-up + 6 per part. A mould costs 3000 set-up + 0.5 per part. For 1000 parts, which is cheaper per part?

Printing: 0 ÷ 1000 + 6 = 6.00 per part. Mould: 3000 ÷ 1000 + 0.5 = 3.50 per part. The mould is cheaper at 1000 parts.

4. At what number of parts does the mould become as cheap as printing (using the numbers above)?

Set 6n = 3000 + 0.5n, so 5.5n = 3000, n ≈ 545. Above about 545 parts the mould is cheaper.

5. Read this G-code: G0 X0 Y0, G1 X40 Y0, G1 X40 Y20. What does the tool do?

G0 moves fast (not cutting) to the origin. Then G1 cuts in a straight line 40 mm along x, then 20 mm up along y. It has cut two sides of a 40 × 20 mm rectangle.

6. A designer wants a phone stand with a hollow lattice inside to save weight. Should it be milled or 3D printed?

3D printed. A closed hollow lattice cannot be reached by a cutter, but an additive process can build it layer by layer.

Common mistakes

Practice quiz

1. CAM stands for:
2. Which process is additive?
3. The list of moves a CNC machine reads is called:
4. Rapid prototyping mainly helps designers to:
5. A disadvantage of CAD/CAM is:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is CAD/CAM in simple words?

CAD is designing a product on a computer; CAM is using the computer to control the machines that make it.

What are examples of CAM machines?

CNC milling machines, CNC lathes, routers, laser cutters, plasma cutters, vinyl cutters, embroidery machines and 3D printers.

What is the difference between additive and subtractive manufacturing?

Additive builds a part by adding layers (3D printing). Subtractive makes a part by cutting material away from a larger piece (milling, turning, laser cutting).

Where this is taught

Spain4º ESOProblem-solving process
England (GCSE, A level)Year 123.1 Technical principles
England (GCSE, A level)Year 123.1 Technical principles (3.1.1-3.1.7)
South Korea고등학교 2학년Creative engineering design project
South Korea고등학교 2학년Engineering innovation for the future

Learn first

Learn next

Related lessons

All Computer Science lessons