TCB Metal Works
Free Shop Tool

Free DXF Nesting

Drop in your DXF parts, set the quantities and the sheet size, and get a true-shape nest you can cut: parts turned and fitted into each other’s gaps and holes, not just boxed in rectangles. Download the nested sheets as DXF.

Plasma, Laser & Waterjet

Real nesting, free, in your browser.

Your files are read and nested right here on your computer. Nothing is uploaded.

No parts loaded yet.

For the sheet and spacing, and for any file saved without units. Files that say their units are read in those.
Space between parts
Edge to edge, after cutting. Allow for your kerf and for heat on thin material.
Margin at the sheet edge

Load parts and press Start nesting. The layout improves while it runs.

Getting Good Results

Clean files nest best.

Closed outlines

Every part needs a closed cut line. Lines, arcs, polylines, circles and splines are joined end to end, so a profile drawn in pieces is fine as long as the ends meet.

One drawing, many parts

A file can hold one part or a whole parts sheet. Each closed outline is a part; anything inside a hole of another part is its own part. Identical parts in one file are counted for you.

Let it run

The first layout comes fast. Each generation tries new orders and turns, and the best layout so far stays on screen. A minute or two is usually enough; stop it when you are happy.

How It Works

True-shape nesting with no-fit polygons.

No-fit polygons. For every pair of part shapes, at every turn allowed, the tool works out the no-fit polygon: the exact path one part can slide around another without touching it. Placing a part is then a matter of picking a point on that path, so parts can tuck into each other’s notches and, when you allow it, into the holes of bigger parts.

A genetic search. Which order the parts go down in, and which way each is turned, decides how tight the nest is. A genetic algorithm breeds and mutates those orders, keeps the best, and keeps going. Each layout places parts as far left and down as they will go, and is scored on sheets used and then on how short the used length of the last sheet is.

The nesting engine is SVGnest by Jack Qiao (MIT licence), with our own DXF reader and writer and a faster driver that runs on all your processor cores. DXF files are read with dxf-parser (MIT).

What you get back. Each sheet as a DXF with your parts’ original lines, arcs and circles, turned and moved into place, on the layers they came in on, in cut order: small parts first, and holes before the outline in every part. Curves drawn as many short lines (and splines) are rewritten as true arcs where they hold to a circle within 0.001 inch. Part numbers can go on a LABELS layer, and a printable nest report lists every part and where it sits. Text and dimensions in your files are left out.

Remnants and skeletons. Pick “My remnant or skeleton” as the sheet and load a DXF of what is left on the rack: its outline and any holes already cut in it. Parts are nested only into the material that is there, at least the margin from every edge, and the nested DXF keeps the remnant drawing’s own coordinates. Parts that do not fit can be sent on to a full sheet with one click.

Check before you cut. Open the nested DXF in your CAM program and look it over: lead-ins, cut order and pierce points are still up to your CAM. Want it cut for you? We run a CNC plasma table and tube plasma. Ask us for a quote.

Have a Project?

Talk to Our Team

Our specialists are happy to answer your questions and help scope your project.