What Is 2D Nesting? The Complete Guide for Laser, Plasma & CNC Cutting
If you cut parts out of sheet material — steel, aluminum, wood, acrylic — you are paying for every square centimeter of that sheet, including the part you throw away. 2D nesting is the art and science of arranging your parts on the sheet so that as little as possible ends up as scrap.
What is 2D nesting?
Nesting (from the way birds pack twigs into a nest) is the process of placing 2D shapes onto a sheet of material in the most compact arrangement possible. The shapes are your parts, usually delivered as DXF files. The sheet is your raw material — a steel plate, a plywood board, an acrylic panel.
The space between parts that cannot be used is called scrap or offcut. Good nesting minimizes the scrap and, just as importantly, maximizes the reusable offcut — the leftover piece you can put back in stock for a future job.
Why does it matter? The real cost of bad nesting
Material is often the single largest cost in a cutting operation. Consider a workshop cutting mild steel:
- A 3000 × 1500 mm sheet of 3 mm mild steel costs roughly €150–250 depending on the market.
- If your layouts waste 25% of every sheet, one sheet out of four is bought only to be thrown away.
- Improving material utilization from 75% to 90% saves one full sheet out of six — every week, forever.
That is why professional nesting software typically pays for itself with the first saved sheet.
Bounding-box nesting vs true-shape nesting
Not all nesting is equal. There are two broad approaches:
Rectangular (bounding-box) nesting treats every part as the smallest rectangle that contains it. It is fast and simple, but for irregular shapes — brackets, gears, decorative panels — the rectangles overlap wastefully and utilization suffers.
True-shape nesting works with the actual geometry of each part. The engine rotates parts (respecting constraints like grain direction), slides them against each other, and interlocks concave shapes — a hook fits into another part’s cutout, a small bracket hides inside a large ring. This is where the big savings come from, and it is what NestorCut does.
What a modern nesting engine actually does
Under the hood, tools like NestorCut combine several techniques:
- Geometry reconstruction — your DXF is cleaned up: open contours are closed, duplicate entities removed, holes detected.
- No-fit polygon computation — for every pair of parts, the engine computes the exact region where they would collide, so it can slide them together until they touch without overlapping.
- Separation and compaction — parts start in a feasible (non-overlapping) state and are then compacted, often in two phases, including a pass that pushes small parts into the holes of larger ones.
- Metaheuristics — simulated annealing and multi-start searches explore thousands of placement orders and rotations, keeping the best layouts.
- Offcut analysis — the result is not just “how much did we use” but “how large is the biggest reusable remnant”.
Because the problem is computationally hard (NP-hard, technically), no tool can guarantee a mathematically perfect layout — but a good engine gets remarkably close, in seconds.
How to get the best results
- Export clean DXF files. Closed polylines, no duplicates, one part per file or per layer.
- Set your kerf/spacing correctly. The spacing between parts must match your process: laser kerf, plasma kerf, or tool diameter for milling.
- Allow rotations when you can. Every additional allowed rotation angle gives the engine more freedom — but lock them when grain direction or surface finish matters.
- Give the engine alternatives. Comparing several proposed layouts (densest, largest remnant, balanced) lets you pick the one that fits your stock strategy.
- Think in remnants. A layout that uses 85% of the sheet but leaves one large, rectangular offcut is often worth more than a 92% layout that leaves only slivers.
Try it on your own parts
The fastest way to understand nesting is to see it on your real geometry. NestorCut lets you upload DXF files, set your sheet size, and get an optimized, cut-ready DXF layout in under a minute — free, 10 nestings every month, no credit card required.