From cabinet design to CNC-ready DXF files
A CNC router does exactly what the file says — which is only good news if the file is right. The step from a cabinet design to machine-ready DXF files is where many workflows leak time and accuracy: parts get redrawn by hand in CAD, sizes get retyped, and a typo becomes a miscut panel. This guide covers what CNC-ready output actually looks like.
What the machine actually needs
Whether you run your own router or send files to a CNC partner, the requirements are remarkably consistent:
- One DXF per panel — not one drawing of the whole cabinet. The machine cuts parts, not assemblies.
- Millimetres, at true scale — a file that is "roughly right" does not exist in CNC.
- Clean contours — closed polylines for the outline, without stray construction lines.
- Operations, not decorations — a groove for the back panel must be identifiable as a groove with a depth, not a cosmetic line.
Why manual redrawing fails
The traditional route — design in one tool, redraw every part in CAD — fails for a boring reason: every retyped number is a chance to be wrong. A cabinet quickly has 20 to 70 parts; a full room easily passes 100. At those volumes even a careful person makes a transcription error, and you find it after the material is cut. The fix is not more care — it is removing the transcription step entirely.
Grain direction is a machine constraint too
When panels are nested onto sheets, parts are rotated to save material. For plain decors that is free money; for decors with a visible grain it is a trap: a grain part rotated 90° comes off the machine as scrap. Grain-aware nesting keeps those parts locked to the sheet direction and only rotates what is safe to rotate. If your software cannot tell the difference, you have to check every sheet layout by hand.
Grooves, rebates and system holes
Most carcase parts carry more than an outline: a groove for the 6 mm back, rebates, hinge cup drillings, shelf-pin rows. The more of these travel inside the same per-panel file as named operations with depths, the less programming is left at the machine. At minimum, your dossier should state each operation per part so nothing depends on someone remembering it.
DXF layers: one tool per layer
Every drilling and routing operation has its own layer in the DXF, so your CAM can assign one tool per layer:
0_CUT— the panel contour1_DRILL_35— Ø35 hinge cups2_DRILL_5— Ø5 holes: shelf pins, runners, handles and mounting plates4_GROOVE— grooves and rebates7_DRILL_10— Ø10 drawer front bores, 12 mm deep8_DRILL_8— Ø8 beside the hinge cup, for no-screw or press-in mounting9_DRILL_2_5— Ø2.5, 3 mm deep: drawer back fixing and the box-front screw in the front10_DRILL_4_5— Ø4.5 through the box front of a wooden drawer
3_ANNOTATION (labels), 5_SHEET (sheet boundary in the layout file) and 6_MITER (45° indicator lines) are for reading, not toolpaths.
Check your layer mapping when new layers appear. A layer without a tool can be skipped by your CAM, and then the holes are missing. Each DXF is a top view of the drilled inner face: a panel may rotate on the machine, but not mirror. Before you cut, compare the file with the drawing of the part in the PDF dossier and with the Holes button in the 3D view. Mill a test piece before you use a new hardware setup in production.
The one-model workflow
In KWAL Cabinet Studio the same parametric model that renders the 3D view generates the production files: per-panel DXF for the router, a CSV cut list for the saw, and a PDF dossier with every operation listed per part. Nesting is grain-aware, sizes are never retyped, and a design change regenerates everything in one click. You preview the full export on screen before spending a credit.