CAM

Also known as: Computer-aided manufacturing

On this page 7

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.

  1. Setup: define stock size, material, work coordinate origin and workholding.
  2. Tool library: describe each cutter by diameter, flute count, length and geometry.
  3. Operations: assign strategies such as facing, pocketing, contour or engraving to features.
  4. Toolpath calculation: the software computes the tool center path, including offsets and lead-ins.
  5. Simulation: material removal is previewed to catch collisions and gouges.
  6. 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.

StrategyWhat it doesTypical use
2D contourFollows an outline inside, outside or on the lineCutting parts out of sheet stock
PocketClears material within a closed boundaryRecesses, trays, inlay cavities
Adaptive clearingKeeps tool engagement constant with trochoidal movesFast roughing in aluminum or hardwood
V-carveVaries depth with a V-bit to follow shape widthSigns, lettering, decorative carving
3D parallel finishingScans a surface with closely spaced passesReliefs, molds, contoured surfaces
DrillingPlunges at defined points, optionally with peckingHoles for dowels and fasteners
Common CAM strategies for routers and mills

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.

ParameterMeaningIndicative range on hobby routers
Spindle speedTool rotation in rpm10,000-24,000 rpm
Feed rateLateral speed of the tool500-3,000 mm/min
Chip loadMaterial removed per tooth per revolution0.02-0.2 mm
StepdownDepth of each pass0.2-1 times tool diameter
StepoverLateral overlap between passes10-45% of diameter
Plunge rateVertical entry speedAbout 30-50% of feed rate
Core cutting parameters set in CAM

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.

AspectCNC milling CAMLaser CAM
Material removalMechanical cutting with chipsVaporizing or melting along a path
Main parametersSpeed, feed, chip load, stepdownPower, speed, passes, line interval
CompensationTool radius offsetKerf offset, often 0.1-0.3 mm
Z controlMany depths per jobUsually fixed focus height
Typical softwareFusion, Carbide Create, VCarveLightBurn, xTool software
Main riskTool breakage, collisionsFire, charring, fumes
Differences between milling CAM and laser CAM

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.