CAM, short for computer-aided manufacturing, is the software stage that converts a digital design into machine instructions: it plans toolpaths, chooses cutting parameters and outputs G-code that a CNC router, mill or laser cutter executes. It sits between CAD, where the part is designed, and the machine controller, where motion actually happens.
In CNC & laser cutting for makers, CAM decides how material is removed, in what order and how fast. A well-prepared CAM job is the difference between a clean part and a broken end mill, burned edge or ruined workpiece.
How CAM turns a model into machine motion
CAM works by combining part geometry, tool definitions and machining strategies into a sequence of coordinated moves. The user imports a model or a 2D vector drawing, defines the stock and its zero point, selects tools and assigns an operation to each feature.
- Setup: define stock size, material, work coordinate origin and workholding.
- Tool library: describe each cutter by diameter, flute count, length and geometry.
- Operations: assign strategies such as facing, pocketing, contour or engraving to features.
- Toolpath calculation: the software computes the tool center path, including offsets and lead-ins.
- Simulation: material removal is previewed to catch collisions and gouges.
- Post-processing: a post-processor translates the generic path into the G-code dialect of the specific controller.
The post-processor is often underestimated. Grbl, LinuxCNC and industrial controllers accept different codes for arcs, tool changes, spindle control and coolant, so the same toolpath must be posted differently for each machine. Choosing the wrong post can produce code that runs but behaves unexpectedly.
Key toolpath strategies and parameters
A CAM operation is defined by its strategy and cutting parameters. The strategy determines the shape of the path, and the parameters determine the load on the tool and the surface quality. The table lists strategies common on hobby and light industrial CNC machines.
| Strategy | What it does | Typical use |
|---|---|---|
| 2D contour | Follows an outline inside, outside or on the line | Cutting parts out of sheet stock |
| Clears material within a closed boundary | Recesses, trays, inlay cavities | |
| Adaptive clearing | Keeps tool engagement constant with trochoidal moves | Fast roughing in aluminum or hardwood |
| V-carve | Varies depth with a V-bit to follow shape width | Signs, lettering, decorative carving |
| 3D parallel finishing | Scans a surface with closely spaced passes | Reliefs, molds, contoured surfaces |
| Drilling | Plunges at defined points, optionally with pecking | Holes for dowels and fasteners |
The parameters below appear in almost every operation. Values depend heavily on machine rigidity, material and tool, so the ranges are indicative for small routers rather than universal rules.
| Parameter | Meaning | Indicative range on hobby routers |
|---|---|---|
| Spindle speed | Tool rotation in rpm | 10,000-24,000 rpm |
| Feed rate | Lateral speed of the tool | 500-3,000 mm/min |
| Chip load | Material removed per tooth per revolution | 0.02-0.2 mm |
| Stepdown | Depth of each pass | 0.2-1 times tool diameter |
| Stepover | Lateral overlap between passes | 10-45% of diameter |
| Plunge rate | Vertical entry speed | About 30-50% of feed rate |
CAM for laser cutters compared with CNC milling
Laser CAM follows the same principle as milling CAM, but removes material with focused light instead of a rotating tool. There is no cutter diameter, chip load or stepdown; instead, the operator sets power, speed, number of passes and line interval, and compensates for kerf rather than tool radius.
| Aspect | CNC milling CAM | Laser CAM |
|---|---|---|
| Material removal | Mechanical cutting with chips | Vaporizing or melting along a path |
| Main parameters | Speed, feed, chip load, stepdown | Power, speed, passes, line interval |
| Compensation | Tool radius offset | Kerf offset, often 0.1-0.3 mm |
| Z control | Many depths per job | Usually fixed focus height |
| Typical software | Fusion, Carbide Create, VCarve | LightBurn, xTool software |
| Main risk | Tool breakage, collisions | Fire, charring, fumes |
For lasers, CAM and machine control are frequently merged into one program, such as LightBurn, which both prepares the job and streams it to the controller. For mills and routers, dedicated CAM output is usually saved as a file and then sent through a separate sender or controller interface.
Choosing and using CAM software
The right CAM package depends on part complexity, number of axes and the machine controller. Simple 2.5D work such as signs and flat parts does not need full 3D strategies, while molds and sculpted surfaces do.
- Integrated CAD/CAM, as in Autodesk Fusion, keeps toolpaths linked to the model, so design edits update the paths.
- Standalone 2.5D CAM is simpler to learn and suits sheet goods, signs and inlays.
- Verified post-processors for the exact controller are essential; test new posts with air cuts above the stock.
- Accurate tool libraries matter more than advanced strategies, because wrong diameters create wrong offsets.
Limitations and common CAM mistakes
CAM software calculates paths precisely, but it only knows what it is told. It cannot detect a loose clamp, a worn tool or an incorrectly set work zero, so most failures trace back to setup data rather than to the algorithm.
- Wrong work origin sends the tool into the spoilboard or clamps.
- Ignoring tabs on through-cuts lets parts break free and get thrown by the cutter.
- Excessive stepdown on a light gantry machine causes chatter, deflection and broken bits.
- Skipping simulation hides collisions with workholding and rapid moves through stock.
- Wrong units in the post (inches versus millimeters) scale every move by a factor of 25.4.
Another limitation is that simulation rarely models deflection and heat. A path that looks perfect on screen can still leave taper on deep walls or melt plastics, so conservative first runs and test cuts remain standard practice.
Put simply
CAM is the step that teaches a cutting machine how to make a part. The drawing says what the finished object should look like. CAM decides the route the cutter or laser takes, how deep it goes and how fast it moves.
It works like a navigation app for the tool. You set the destination, and CAM plans every turn, then writes the directions in a language the machine understands.
In practice
A small furniture workshop produces plywood stools on a 1,200 by 1,200 mm CNC router. The designer imports the flat part outlines into CAM, nests them on an 18 mm sheet, and assigns a pocket operation for joint slots and a 2D outside contour with tabs for the cut-out.
Using a 6 mm two-flute compression bit at 18,000 rpm, a feed of 2,000 mm/min and 6 mm stepdowns, the post-processor generates Grbl-compatible G-code. After a simulation confirms the tabs and clearance over the clamps, the sheet is cut in about 35 minutes. The parts assemble without sanding the joints, because the tool library diameter matched the real bit and slot widths came out within 0.1 mm.