AutoCAD is the closest tool to the DXF format itself — AutoDesk invented DXF, and the format tracks AutoCAD versions. That proximity creates a false sense of safety. AutoCAD drawings destined for laser cutting fail for reasons that have nothing to do with version support: phantom geometry, Z-elevation surprises, splines the controller can’t handle, and blocks that CAM software silently ignores. The problems are consistent and avoidable, but only if you run a specific command sequence before every export.
What Makes AutoCAD DXF Different
Unlike Illustrator or Inkscape — which convert from a display-oriented format to DXF at export time — AutoCAD’s “Save As DXF” writes the drawing database almost directly to DXF entities. The upside: no unit conversion ambiguity, no missing entity types, no scale confusion. A geometry element is already a LINE, ARC, or LWPOLYLINE in AutoCAD’s database, and it exports as exactly that.
The downside: everything in the drawing database exports, including elements you forgot about, elements on frozen layers, elements at Z=5, and blocks that haven’t been exploded. The laser CAM software will try to cut all of it.
The right workflow is not to export and hope. It’s to audit and clean the drawing first, then export.
The Cleanup Sequence
Run these commands in order before any DXF export for laser cutting.
1. AUDIT
AUDIT runs AutoCAD’s internal geometry validator. It finds corrupt entities, invalid references, and geometry that the math engine considers degenerate. Run it with “Yes” to fix detected errors.
This step doesn’t change your geometry — it repairs internal data structure problems. Skip it and some of those corrupt entities will export to DXF where they either fail silently or cause the CAM import to abort with a cryptic error.
2. FLATTEN
FLATTEN projects all entities to Z=0. This is the most underestimated step in the list.
AutoCAD is inherently 3D. You can accidentally draw on a construction plane, import a DXF that had Z-offset geometry, or create entities at a non-zero elevation by working in an isometric view. Visually the drawing looks fine in plan view. But those entities have Z coordinates, and when exported to DXF and imported into 2D laser CAM software, they either:
- Get silently dropped (the entity exists in the DXF but the CAM importer ignores it)
- Import at the wrong position because the CAM software projected the 3D position to the wrong plane
- Cause the profile-detection algorithm to fail because two lines at different Z values don’t intersect mathematically
FLATTEN takes everything to Z=0. If you have genuinely 3D geometry (a body you’re projecting a flat pattern from), do the projection to a 2D drawing view first, then work in that drawing.
3. PURGE
PURGE removes unused named objects: layers with no entities, linetypes that aren’t in use, block definitions that have been deleted from the drawing but remain in the database, custom dimension styles, and named UCS definitions.
This matters for laser cutting because every layer in the DXF file appears in the CAM import. A drawing that’s accumulated a dozen layers from previous work will confuse whoever is setting up the cutting job. Layer named HATCH_OLD will show up in the CAM layer list alongside CUT and ETCH, and the operator has to figure out which layers to enable.
Run PURGE with “Purge All” to remove everything unused. Check the “Purge nested items” box if available.
4. OVERKILL
OVERKILL (Express Tools) removes duplicate and overlapping geometry: duplicate lines, overlapping arcs, zero-length line segments, and endpoints that don’t connect but are close enough to be treated as connections.
Duplicate geometry in a laser file causes double-cutting: the laser makes two passes over the same cut line. On thin material, this burns the edge. On some controllers it causes the head to pause between passes (registering the second cut as a separate job segment), leaving a burn mark at the stop point.
OVERKILL options to set:
- Tolerance: 0.001mm or 0.0001". Keep it tight — you want to catch genuinely duplicate lines, not merge lines that are intentionally close.
- Ignore layer/color/linetype differences: Check all three. Duplicate lines on different layers are still duplicates.
- Optimize Polyline Segments: Enable. This merges collinear line segments into a single segment, which reduces vertex count.
5. EXPLODE Blocks
Select all (Ctrl+A) and run EXPLODE. Repeat until nothing explodes (blocks can be nested).
Blocks are AutoCAD’s object reuse mechanism. A block reference in the drawing database points to a block definition; the geometry is stored once and referenced many times. Most laser CAM software handles DXF blocks correctly — they’ll import the reference as geometry. But some older controller software, some nesting packages, and some industrial CAM systems treat blocks as named groups and either require you to explode them first or silently skip unrecognized block references.
The cost of exploding is minimal: you get flat geometry with no reuse, which is exactly what the laser machine needs. The cost of not exploding is intermittent import failures on specific CAM systems that are frustrating to diagnose.
After exploding: delete everything that shouldn’t be cut. Dimensions, annotations, hatch patterns, construction lines, center marks. These are not cut geometry. If they’re on separate layers you can use Layer > Select All on Layer and Delete, or freeze those layers and run a Filter Select > All Visible before export.
Splines: The Actual Problem
AutoCAD’s SPLINE entity is a full NURBS curve: control points, knot vectors, degree. The DXF format supports spline entities in R2000 and later versions. Modern laser CAM software (Bysoft, Lantek, ProNest, Lightburn) can import splines natively and generates smooth toolpaths from them.
Older controller firmware cannot. Many industrial laser machines running firmware from the 2010s — including some Trumpf, Bystronic, and Mazak machines at smaller shops — will either reject spline entities or approximate them on-the-fly with a coarse tolerance. On-the-fly approximation produces a faceted cut: what looks like a smooth curve in the DXF comes out as a polygon on the actual part.
The safe approach is to convert splines to polylines in AutoCAD before export:
- Select the spline
- Type
SPLINEDITand press Enter - Choose “Convert to Polyline”
- Set the precision (0 = maximum precision, 99 = fewest segments). Use 6–8 for most laser work.
Or use PEDIT on a spline — in newer AutoCAD versions PEDIT will ask if you want to convert a spline to a polyline, then ask for a precision value.
The polyline approximation is stored in the drawing, so you can measure the deviation from the original spline before committing to the export. A tolerance of 0.01mm produces a polyline that’s visually indistinguishable from the spline and cuts correctly on any controller.
Ellipses are the same problem. AutoCAD’s ELLIPSE entity is not well-supported in all DXF consumers. Convert ellipses to polylines with PELLIPSE (set it to 1 in older versions to draw ellipses as polylines by default) or use PEDIT to convert after drawing.
Layer Conventions
A clean DXF for laser cutting has named layers that communicate intent:
| Layer name | Contents |
|---|---|
CUT | Outer profiles to cut through |
CUT_INNER | Interior cutouts, holes, pockets |
ETCH or ENGRAVE | Lines to score or engrave (not cut through) |
MARK | Non-cutting reference geometry |
BEND | Bend lines (included for reference only; the laser scores these, not cuts) |
Some shops use color conventions instead of layer names — red = cut, blue = etch, green = score. If your fabricator has a convention, use it. If they don’t specify, use named layers: they survive any color scheme and are unambiguous.
The MARK and BEND layers should be explicitly discussed with your fabricator. Including bend lines in a laser file is useful for assembly reference, but only if the machine operator knows to score rather than cut those lines. Many small shops configure their CAM by layer name; BEND will be treated as a cut unless they have a specific rule for it.
DXF Version Selection
The DXF version maps to AutoCAD release:
| Version label | AutoCAD release | Internal code |
|---|---|---|
| R12 | AutoCAD 12 | AC1009 |
| R14 | AutoCAD 14 | AC1014 |
| 2000 | AutoCAD 2000 | AC1015 |
| 2004 | AutoCAD 2004 | AC1018 |
| 2010 | AutoCAD 2010 | AC1024 |
For laser cutting: R12 or R2000 are the right defaults.
R12 (AC1009) is the most compatible version. Every CAM system from the last 30 years reads R12. Its limitations:
- Layer names limited to 8 characters (important if you’re using names like
CUT_INNER) - No LWPOLYLINE entity — uses the older POLYLINE instead (actually safer for older controllers)
- No spline entity — splines must be converted before export (not a limitation if you’ve done the cleanup)
- No true-type font support (use outlines anyway)
R2000 (AC1015) adds LWPOLYLINE, has 255-character layer names, and supports spline entities. Most modern CAM software reads R2000 without issues. Use this if your layer names don’t fit in 8 characters.
Avoid R2004 and later for files going to fabricators unless they’ve confirmed their CAM system handles those versions. The newer versions use compressed group codes and binary extensions that some older CAM systems misparse.
R12 note on multi-view drawings: If you’re exporting a drawing that has multiple sheets or viewports, R12 drops all paper space entities and exports model space only. This is usually what you want — the cut geometry lives in model space — but be aware that any geometry you placed in paper space (title blocks, annotations, dimensions) will not appear in the R12 export.
There’s more on this in DXF version R12 vs R2000 for multi-view drawings, which covers how DXF version interacts with drawing views in detail.
Export vs Save As
AutoCAD offers two paths to DXF:
File > Save As > DXF exports the entire drawing. All model space geometry, all unfrozen layers. This is the correct path for laser cutting files.
File > Export > Other Formats > DXF provides more control but is less commonly needed. The export path can write selected entities only, which is useful if your drawing has construction geometry mixed with cut geometry on the same layer (don’t do this, but sometimes you inherit files this way).
In the Save As dialog, select the DXF version from the “Files of type” dropdown — the version is part of the file type selector, not a separate options dialog.
The Verification Step
After saving the DXF, before emailing it to a fabricator:
Open it in a clean viewer or CAM. Free options: DWG TrueView (AutoDesk, Windows), LibreCAD (cross-platform), or your CAM system’s own import preview. The point is to open it without AutoCAD’s context — what you see is what the fabricator’s software will see.
Measure a known dimension. Pick two points you know the distance between and verify. This takes 20 seconds and catches unit declaration errors before production.
Check the layer list. Are there layers you didn’t intend to include? Is there a DEFPOINTS layer with construction geometry? AutoCAD automatically creates DEFPOINTS for dimension extension points — these are visible in the DXF even though they’re invisible in AutoCAD. Delete the DEFPOINTS layer contents before export.
Look for open contours. Some CAM software highlights open profiles on import. Any cut profile that’s not closed will either fail to cut or cut as an etch line. Check every profile you intend to cut through.
If You’re Starting from a 3D Model
If your part is designed in AutoCAD 3D (or imported from STEP/IGES as a solid), you can’t export the solid directly to DXF for laser cutting. You need a flat pattern.
For sheet metal: use AutoCAD’s Sheet Metal tools to unfold the part, then work with the flat pattern in 2D.
For irregular geometry: create a 2D drawing view of the top face or flange and export the drawing view entities — not the solid.
For SolidWorks users who end up needing to export through AutoCAD (uncommon but it happens): export the flat pattern to DXF from within SolidWorks directly, where the export carries explicit layer separation for bend lines vs cut profiles. CadShift handles this as part of its batch export workflow, including layer naming that matches whatever convention your fabricator uses. Running the resulting DXF through AutoCAD adds no value and introduces another opportunity for something to go wrong.
Relationship to Vector Tool Workflows
If you work across AutoCAD and graphic tools like Illustrator or Inkscape, the path matters for which cleanup steps you need. AutoCAD-native DXF files need the AUDIT/FLATTEN/PURGE/OVERKILL/EXPLODE sequence. Files that started in Inkscape and were imported into AutoCAD for editing need that sequence plus verification that the Inkscape-origin geometry doesn’t have the scale or compound path issues covered in DXF from Illustrator and Inkscape for laser cutting.
Mixing origins — editing an Inkscape file in AutoCAD and re-exporting — is common and mostly works fine. The gotcha is that the original Inkscape-exported DXF may have had its geometry expressed as many short line segments (from Bezier approximation), and those short segments can fool OVERKILL into merging things that shouldn’t be merged if the tolerance is set too loosely. Set the OVERKILL tolerance to 0.001mm and verify after.
Quick Reference
Pre-export command sequence (in order):
AUDIT— fix corrupt geometryFLATTEN— set all Z to 0PURGE— remove unused layers, blocks, linetypesOVERKILL— remove duplicates (tolerance: 0.001mm)EXPLODEall blocks (repeat until nothing explodes)- Delete: hatches, dimensions, construction lines, annotations
- Convert splines and ellipses to polylines
Export:
- File > Save As > DXF
- Version: R12 for maximum compatibility, R2000 if layer names exceed 8 characters
Verify:
- Open in neutral viewer
- Measure a known feature
- Check layer list for unintended content
- Confirm all cut profiles are closed