How to prepare DXF files for nesting
Most nesting problems start in the drawing: an outline that isn't closed, a drawing in inches, or a title block that gets nested as a part. A few minutes in CAD before you import saves a wasted sheet. This guide covers what CutNest reads and how to prepare files for it.
What CutNest reads
CutNest imports DXF files. It reads LINE, ARC, CIRCLE, LWPOLYLINE (including bulge arcs), POLYLINE, SPLINE and ELLIPSE entities. Other entities, such as text, dimensions and hatches, aren't read as outlines. If parts are stored inside blocks, explode them so the outlines are plain entities.
DWG files must be converted to DXF first. Most CAD programs can save or export DXF; choose a recent DXF version if you're asked.
CutNest also imports SVG. For pattern pieces drawn in Illustrator, see nesting Illustrator SVG patterns.
Closed outlines and gaps
Each part needs a closed outer outline. CutNest joins loose lines and arcs into closed shapes, first with a 0.5 mm tolerance, then with larger retries to bridge small gaps. That covers most drawings with tiny gaps, but it's better to fix gaps in CAD: a guessed join can change the shape.
Closed shapes inside a part become its holes. Overlapping lines, duplicate entities and stray short segments can confuse the outline, so delete them.
- Join each outline into one closed polyline where your CAD allows it.
- Delete duplicate and overlapping lines.
- Check that holes sit fully inside the outline.
Draw in millimetres
CutNest reads DXF coordinates as millimetres, whatever units the file says it uses. There is no unit conversion on import, so a part drawn in inches comes in 25.4 times too small. Scale inch drawings by 25.4 and save them in millimetres before importing.
The imperial setting in CutNest only changes how sizes are shown and entered. Check the size of the first part after import against the drawing.
Metric drawings can also come in scaled if the CAD file was set up in centimetres or metres. If a part is 10 or 1000 times off, check the drawing units and scale the geometry in CAD before exporting again.
Remove everything that isn't a part
Title blocks, borders, dimensions, centre lines, notes and construction geometry should be deleted or left out of the export. A border rectangle is a closed shape, so it would be read as a part, with everything else as its holes.
Engraving or marking lines don't belong in a nesting file either; CutNest nests outlines and holes.
Check the import
After importing, look at each part in CutNest before nesting. Check that the outline is the shape you expect, that holes show as holes, and that the size matches the drawing. A part that looks tiny was probably drawn in inches; a part that is one big rectangle probably includes a border.
If something looks wrong, fix it in CAD and import again rather than working around it in the nest. The parts in the example nests show what clean imports look like, and CNC nesting software gives an overview of the whole tool.
One part per file, or many
One part per file is the clearest: each file is one part, and you set its quantity in CutNest. If your CAD exports several parts in one DXF, separate them into their own files before importing, so each gets its own quantity.
Name files after the part, since the names help when you read the nest and the workshop sheet. Then follow how to nest parts, and check spacing, kerf and margin before you run it.
You can try CutNest free in your browser: open one of the example nests, or drop in your own DXF files. Nothing to install.
Frequently asked questions
Can CutNest open DWG files?
Not directly. Save or export the drawing as DXF in your CAD software first.
Why is my part the wrong size after import?
CutNest reads DXF coordinates as millimetres. If the drawing is in inches, scale it by 25.4 and save it in millimetres before importing.
What if my outline has small gaps?
CutNest joins loose segments with a 0.5 mm tolerance, then retries with larger tolerances to bridge small gaps. Closing the outline in CAD is still the safest fix.
Which DXF entities are supported?
LINE, ARC, CIRCLE, LWPOLYLINE with bulge arcs, POLYLINE, SPLINE and ELLIPSE.
Can I import SVG or PDF files?
SVG, yes: CutNest imports SVG from Illustrator, Inkscape and other programs, and the guide to Illustrator SVG patterns covers the settings. PDF, no.
Read next
Updated 2026-11-02.