Skip to content
GMacros
Menu

Guide

How to use CAD/CAM software: a step-by-step workflow from drawing to machine

How to use CAD/CAM software: nine steps from drawing to first-part check, Alphacam Router equivalents, a learning order and common mistakes.

Published: 6 min read

Using CAD/CAM software is not about pressing one button; it is about running a workflow whose order matters. If the drawing is wrong the toolpath is wrong, if a tool is defined wrong the cut is poor, and if the post is wrong the machine won't run at all. Menus differ between programs, but the flow is almost the same in every CAD/CAM package. This article walks through it in nine steps and gives the Alphacam Router equivalent of each, aimed at someone new to a furniture or wood CNC router. Menu and command names change between releases; the logic doesn't.

The workflow at a glance: nine steps

  1. Draw or import: the part geometry is drawn, or brought in as DXF/DWG.
  2. Clean up geometry: duplicate lines, open contours and stray layers are removed.
  3. Define material / sheet: thickness, sheet size and work zero are set.
  4. Define tools: diameter, length, spindle speed and feed for each cutter and drill.
  5. Assign operations: each piece of geometry gets a cut, pocket, groove or drilling operation.
  6. Simulate: the toolpath is cut virtually on screen and checked.
  7. Post: the toolpath is translated into the machine's language (NC code).
  8. Send to the machine: the NC file goes to the controller.
  9. First-part check: the first part is measured before running production.

The kinds of CAD/CAM software out there, and how different programs package this flow, are covered in Types of CAM software: by process, axes, integration and industry. Below, the steps one by one with their Alphacam Router equivalents.

1–2. Drawing, importing and cleaning geometry

Geometry comes from one of two places: the software's own drawing tools, or a file from another program. In Alphacam you can use the drawing tools directly (line, arc, rectangle, offset, fillet), and DXF/DWG files open with their layer names intact. Imported drawings almost always need cleanup:

  • Duplicate lines: two overlapping lines mean cutting twice; delete one.
  • Open contours: an outline that doesn't close won't take a closed-contour operation; join the ends.
  • Fragmented lines: a contour made of dozens of short segments should be joined into one, or the tool hesitates at every joint.
  • Layers: move geometry to the layer that tells what operation it gets (cut, drill, groove…).
  • Scale and units: check for inch/mm mix-ups; a 600 mm door should measure 600 units.

Layer and unit pitfalls when importing DXF: DXF/DWG import and layer mapping in Alphacam: a clean path from design to production

3–4. Material, sheet and tool setup

CAM can't compute depths without knowing the material and its thickness. In Alphacam Router the material/sheet setup takes the thickness and sheet size, and this is where you pin down which corner of the machine the work zero (drawing origin) corresponds to. Using thickness as a value read from the material, rather than a hard-coded number, saves you keeping separate settings for 16 and 18 mm board.

The tool setup is the second foundation: for each cutter and drill enter a name, diameter, flute length, spindle speed and feed rate, and map it to the pocket number in the machine's tool changer. Alphacam stores tools in a tool library; operations and automation rules link to tools by name. Setting up the library properly once pays back on every drawing that follows.

5. Assigning operations

With geometry and tools ready, each piece of geometry gets an operation. The most common ones on a router:

OperationGeometryFurniture example
Profile cut (outside/inside)Closed contourOuter cut of doors and carcass panels, glass-door openings
PocketClosed contourFinger-pull pocket on handleless doors, recessed face on a panel door
GrooveOpen or closed lineBack-panel groove, drawer-bottom groove
DrillCircle / point35 mm hinge cups, System 32 holes, dowels
Engrave / V-carveLineMembrane door patterns, text

For each operation you set depth, cut direction (climb/conventional), lead-in and lead-out (ramp, arc) and tabs for small parts. Operation order matters: holes first, then pockets/grooves/patterns, then inside cuts, and the outside cut last. If the outside cut isn't last, the part breaks free of the sheet and the vacuum can't hold it.

6–9. Simulation, post and first-part check

6. Simulation

Simulation cuts the toolpath on a virtual sheet on screen. In Alphacam you can view toolpaths as lines and run a solid cutting simulation (scope depends on the level). What to look for: is the outside cut last, how far does the depth go through the sheet into the spoilboard, is any geometry left without an operation, does the tool diameter fit into inside corners. Simulation doesn't test the post; it tests the logic of the toolpath.

7–8. Post and sending to the machine

The post-processor translates the software's internal toolpath into NC code your controller understands. In Alphacam you choose the post for your machine when generating NC; the output may be standard G-code or the machine builder's own program format. The file reaches the machine over the network, by USB or through the builder's transfer software. Choosing and testing a post: What is an Alphacam post-processor? Producing NC code for your machine

9. First-part check

With a new program, a new tool or a new post, the first cut goes on scrap sheet. First a dry run with no sheet and Z at a safe height; then a single part. Measure the outer size, hole positions, groove depth and edge quality. If everything checks out, move on to production. The check takes five minutes; skipping it comes back as a ruined sheet, a broken tool or a damaged machine.

A learning order for beginners

  1. Basic drawing and editing: line, arc, rectangle, offset, join; how layers work.
  2. DXF import and cleanup: making a customer's file cuttable.
  3. Tool library: defining the shop's real tools with their speeds and feeds.
  4. Core operations: profile cut, drill, pocket, groove — on a single part.
  5. Simulation and NC: producing output with your own post and being able to read the file.
  6. Nesting: laying parts out on sheets, labels, remnants. See Alphacam nesting guide: sheet layout, waste, grain direction and labels
  7. Automation: operations assigned by layer name, and macros.

The logic of the order: each step uses the output of the one before. Building automation before drawing and tooling are solid means applying a faulty rule to a hundred parts at once. For terminology, see Alphacam and furniture CNC glossary.

Common mistakes: result and prevention

MistakeResultPrevention
Leaving duplicate linesThe same line is cut twice; longer cycle, damaged edgeRemove duplicates after every import
Open contourCut operation can't be applied, or cuts on the wrong sideJoin the ends; check for closed contours
Unit mix-up (inch/mm)Part 25.4 times too small or too largeConfirm units on import; check a known dimension
Wrong tool diameterPart size off by the differenceMatch the library to the real tool, then measure
Cutting the outside too earlyPart lifts off the vacuum, tool breaksOrder: drill → pocket/groove → inside cut → outside cut
Small part without tabsPart flies off on the last passTabs or an onion skin on small parts
Wrong work zeroPart lands off the table or on a clampMatch the zero corner between post and machine; dry run
Safe Z too lowTool hits a clamp or vacuum podSet safe height for your machine
Going to production without measuring the first partThe error repeats across the whole sheetOne part on scrap, measure, then run

Speeding up with automation: Auto Style and macros

Once the flow is solid, repeating steps are handed over to automation. Alphacam has two mechanisms. Auto Style assigns operations by layer name: you set the rule once — contours on KESIM are cut outside, circles on DELIK are drilled — and every drawing that lands on the right layers is machined with one command (Alphacam Auto Style setup: automatic machining by layer name). Macros and add-ins produce the drawing itself: you enter dimensions and the part is drawn on the correct layers. Together they shrink steps 1–5 from minutes to seconds, leaving you to focus on simulation and the first-part check.

For macros that draw doors, fronts and cabinet parts in Alphacam Router straight from dimensions onto Auto Style-ready layers, see GMacros door macros.

Frequently asked

How long does it take to learn CAD/CAM software?

For basic drawing, assigning operations and producing NC, a few weeks of regular practice is enough for most people. Setting up nesting and automation efficiently usually settles in over a few months of working on the shop's own jobs.

Should I learn CAD or CAM first?

Basic CAD first: if the geometry isn't clean, CAM won't behave. But there's no need to wait for advanced CAD skills; moving to CAM with simple drawings and learning both together is faster.

If the simulation is right, can anything still go wrong on the machine?

Yes. Simulation verifies the toolpath; it doesn't verify the machine side — the post, work zero, tool changer mapping or workholding. That is why the first-part check is a separate step.

Do I need to know programming to use macros?

Not to use a ready-made macro; you just enter the dimensions. To write your own, you'll need to learn Alphacam's VBA interface.

Related products

Tools that do the work described here with one click inside Alphacam: the GMacros add-in and macro packages. Purchasing and licensing are explained on How it works.

Written by the GMacros team. Alphacam is a registered trademark of Hexagon AB; this guide is independent.

WhatsApp