Nice Fit - sheet nesting software

← Blog

AutoCAD DXF Settings for CNC: Units, Geometry, and Export

For reliable CNC cutting, export your AutoCAD drawing as a full-size, 2D DXF with consistent units, clean contours, and a DXF version your receiving software…

For reliable CNC cutting, export your AutoCAD drawing as a full-size, 2D DXF with consistent units, clean contours, and a DXF version your receiving software supports. Closed polylines are generally a good choice for part outlines, while duplicate entities, accidental gaps, and nonzero Z coordinates are common causes of import and toolpath problems.

There is no single DXF preset that works for every CNC workflow. The right settings depend on the nesting software, CAM software, and machine control involved. The following checks provide a practical starting point for preparing furniture components, cabinet panels, signs, and fabricated parts.

Choose the DXF version your downstream software supports

DXF is a drawing exchange format, not normally a machine-ready cutting program. In a typical workflow, CAD defines the geometry, nesting arranges parts on stock, and CAM creates toolpaths and machine-specific output through a postprocessor.

Some machine systems accept DXF directly, but they still need cutting settings and geometry interpretation. Confirm which application will read your file before choosing an export version.

Use the documented version rather than assuming older is better

In AutoCAD, use SAVEAS and select the required DXF format. Start with the version recommended by the receiving application’s documentation. If none is specified, test a supported version with a representative part before exporting a production job.

Older formats such as R12 DXF can help with legacy software, but they do not support all modern entity types. Splines, for example, cannot remain native spline entities in R12. Converting curves for compatibility can change how they are represented, so inspect the exported geometry rather than treating an older format as automatically safer.

If the receiving application distinguishes between ASCII and binary DXF, choose the supported option. ASCII DXF is a common compatibility choice, but the receiving application’s requirements take priority.

Set drawing units and verify full-size geometry

A unit mismatch can turn a correctly drawn panel into an unusable import. Millimeters interpreted as inches produce a scale error of 25.4 times.

Use UNITS to inspect the drawing’s unit settings and set the insertion scale appropriately. However, changing the unit setting does not rescale existing geometry. A line drawn 100 drawing units long remains 100 drawing units long unless you explicitly scale it.

Before export:

  • Use DIST to measure a known feature, such as a panel edge or hole spacing.
  • Confirm whether those drawing units represent millimeters or inches.
  • Keep manufacturing geometry at 1:1 scale in model space.
  • Check the imported dimensions again in the receiving application.

Display precision only changes how measurements appear in AutoCAD. Increasing the number of displayed decimal places does not repair inaccurate geometry. Also, some DXF importers ignore unit metadata or ask you to select units manually, so a known-dimension check is more dependable than metadata alone.

Prepare flat geometry in the XY plane

For ordinary 2D profile cutting, place the cutting geometry in the world XY plane at Z = 0. A contour can look flat in a top view while individual vertices or entities have different elevations.

Set the UCS to World and use a plan view to inspect the drawing. Check entity elevation, vertex Z values where applicable, and thickness in Properties. If geometry genuinely needs projecting onto a plane, FLATTEN can help where available, but use it on a copy and compare the result with the original.

Move the production geometry reasonably close to the drawing origin. Very large coordinates can cause numerical precision or display issues in some downstream applications. The DXF origin is not necessarily the machine work offset; stock position and work coordinates still need to be established in CAM or at the machine.

Create clean contours for cutting and nesting

Use closed polylines for enclosed profiles

A closed polyline is a connected outline that returns to its starting point. It is a useful representation for external boundaries, internal cutouts, and other enclosed profiles because the receiving software does not have to infer connections between separate segments.

Use PEDIT and its Join option to combine suitable connected entities. Choose a joining tolerance small enough that it cannot bridge intentional gaps or alter important features. Then check the polyline’s Closed property.

Do not use Close as a substitute for checking the geometry. Closing a polyline can add a straight segment between its endpoints, which may create an unintended cut. Likewise, a profile whose endpoints appear to touch is not necessarily explicitly closed.

Keep open contours only when they are intentional, such as certain engraving or centerline operations, and confirm that the receiving software supports them for the intended operation.

Remove duplicates and inspect intersections

Duplicate geometry can cause repeated toolpaths, wasted machining time, and poor edge quality. OVERKILL can remove duplicate or overlapping entities, but review its settings and inspect the result, particularly where details are close together.

Check for self-intersecting outlines, stray short segments, overlapping boundaries, and gaps at corners. Each physical part should have an unambiguous outside boundary, with internal cutouts clearly contained inside it. Delete dimensions, borders, center marks, and construction geometry from the production export unless they are intentionally needed downstream.

Handle arcs, splines, blocks, and text deliberately

Lines, arcs, circles, and polylines are widely supported, but support varies by application. Preserve true arcs when the receiving software handles them correctly. Replacing every curve with many short straight segments can enlarge files and complicate toolpath generation.

If splines are unsupported, convert them using a controlled method, such as SPLINEDIT’s polyline conversion, then inspect the result. Conversion precision controls approximation, not the machine’s cutting accuracy. A coarse approximation can visibly change an edge, while an unnecessarily dense one adds complexity. Check the resulting deviation against the part’s requirements.

Blocks and text also need attention. Explode blocks only if required by the importer, then recheck the resulting entities. Text intended to be cut or engraved may need conversion to outlines using an appropriate tool. Verify letter shapes, scale, and closed boundaries after conversion. Ordinary text entities should not be assumed to become cutting paths automatically.

Use layers to organize geometry, not to assume machining settings

Separate layers can distinguish outside profiles, internal cutouts, engraving, and reference geometry. Use clear names and remove unwanted reference entities from the export rather than relying solely on layer visibility to exclude them.

Layer names, colors, and lineweights do not universally define machining operations. Some CAM systems map them to operations; others require manual assignment. Confirm the receiving application’s behavior before relying on a layer convention.

Draw parts at their intended finished dimensions unless your documented workflow requires otherwise. Cutter-radius compensation, often called kerf compensation in laser and plasma workflows, is normally handled when creating toolpaths. Do not offset geometry in CAD and then apply the same compensation again in CAM.

Export and validate the DXF before production

Save a working copy before cleanup. For a crowded drawing, WBLOCK can create a separate drawing from selected production objects; open that drawing and save it in the required DXF format. Reopen the DXF to check the exported result rather than checking only the original DWG.

For sheet nesting, Nice Fit is a Windows desktop application that imports 2D DXF and SVG parts and automatically arranges them on sheets to minimize material waste. It exports nested DXF or SVG layouts for downstream cutting, plus a PDF nesting report containing job statistics and sheet layouts. Toolpath creation and machine-specific output remain downstream steps where required by your cutting workflow.

Before cutting, verify:

  • A known overall dimension and at least one hole or internal feature.
  • The presence of every outside profile and internal cutout.
  • Curve quality, contour closure, and the absence of duplicate geometry.
  • Part quantities, allowed orientation, and grain direction where relevant.
  • Part spacing suitable for the tool diameter, workholding, and cutting process.
  • Toolpaths, compensation, cutting order, and stock setup in CAM.

For a new software combination, run a small test part containing straight edges, an arc, and an internal cutout. A successful import is only the first check. Correct dimensions, intact geometry, and a verified toolpath are what make the DXF ready for CNC production.

Nest your next sheet with Nice Fit. free 7-day Windows trial.