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.
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
- Copy the parts to cut into a new drawing (never clean the original).
- Units:
UNITSand theINSUNITSvariable (mm or in); check a known dimension withDIST. - Delete dimensions, text, hatches, title block (or freeze them on their layers and erase).
- Explode blocks if needed (
EXPLODE), carefully: do not explode polylines that are already clean. - Flatten: everything at Z = 0 (Express Tools
FLATTEN, or check elevation in properties). - Duplicates:
OVERKILLremoves overlapping lines and segments. - Close contours:
JOIN(orPEDIT→ Join) to turn lines and arcs into closed polylines. - Splines: convert to polylines or arcs if your CAM handles them poorly (
SPLINEDIT→ Convert to polyline, with a suitable precision). - Layers: CUT, ETCH, BEND separate, distinct colours.
PURGEthenAUDITto remove clutter and fix errors.- 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
| Mistake | Effect in CAM |
|---|---|
| Duplicate lines | Double torch pass, overheating |
| Tiny gaps between segments | Open contour, no compensation possible |
| Architectural feet-inches drawing badly converted | Part at the wrong scale |
| Very fine splines | Jerky 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
- Autodesk — AutoCAD help (OVERKILL, JOIN, PEDIT, PURGE, AUDIT commands), consulted November 26, 2026.
- Autodesk — DXF reference.
One guide a week, French-first
New guides, used equipment in Quebec and price moves. No third-party ads.