CoupeFab

Software · 2D CAD

AutoCAD: clean up a drawing and export a DXF ready for CNC cutting

Units, layers, duplicates (OVERKILL), closed contours (JOIN, PEDIT), splines, PURGE and AUDIT, then saving as DXF: the AutoCAD routine for a file CAM accepts the first time.

Reviewed 3 min read Level : Beginner DraftWritten by CoupeFab from the official documents cited. Technical review by Michaël Brassard pending.

An architect’s or design office drawing is almost never ready for a cutting table: dimensions, title block, duplicate lines, open contours, nested blocks. Here is the routine to get a clean cut DXF out of AutoCAD (the same commands exist in BricsCAD).

Cleanup routine

  1. Copy the parts to cut into a new drawing (never clean the original).
  2. Units: UNITS and the INSUNITS variable (mm or in); check a known dimension with DIST.
  3. Delete dimensions, text, hatches, title block (or freeze them on their layers and erase).
  4. Explode blocks if needed (EXPLODE), carefully: do not explode polylines that are already clean.
  5. Flatten: everything at Z = 0 (Express Tools FLATTEN, or check elevation in properties).
  6. Duplicates: OVERKILL removes overlapping lines and segments.
  7. Close contours: JOIN (or PEDIT → Join) to turn lines and arcs into closed polylines.
  8. Splines: convert to polylines or arcs if your CAM handles them poorly (SPLINEDIT → Convert to polyline, with a suitable precision).
  9. Layers: CUT, ETCH, BEND separate, distinct colours.
  10. PURGE then AUDIT to remove clutter and fix errors.
  11. Save as DXF in a version your CAM reads (when in doubt, an older version such as 2007 or 2000).

Check before sending

  • 1:1 scale, units confirmed
  • No duplicates (OVERKILL run)
  • Closed contours, no tiny stray holes
  • Cut and etch layers separate
  • Nothing but geometry to cut

See details in DXF best practices.

Common mistakes

MistakeEffect in CAM
Duplicate linesDouble torch pass, overheating
Tiny gaps between segmentsOpen contour, no compensation possible
Architectural feet-inches drawing badly convertedPart at the wrong scale
Very fine splinesJerky path, heavy file

FAQ

Is AutoCAD LT enough?

For cleaning and exporting a 2D DXF, yes. Express Tools (FLATTEN) are not offered in every version; check elevation in properties instead.

Sources

Spotted an error or want something added? Tell us →

One guide a week, French-first

New guides, used equipment in Quebec and price moves. No third-party ads.

CASL compliance: the box is not pre-checked. Nothing is sent without this express consent.