中文 · English
SVG nesting and sheet layout tool. Take one logo, set its real-world size, and pack as many copies as possible onto a single sheet. Export vector files ready for printing, die-cutting, or laser cutting. Free, open source, runs entirely on your own machine.
No installer — unzip and run. Nothing is uploaded anywhere. MIT licensed, free for commercial use.
Ctrl+O.Before nesting anything, the preview already draws a single logo on the sheet at true scale, so you can see whether the size is right without doing the arithmetic first. At 100% zoom, what's on screen is the size it will print.
Anything where one shape gets repeated across a sheet of material:
A4 sheet, 40 mm logo, 6 mm minimum gap, 10 mm margin:
| Shape | Auto-nested | Same orientation | Gain |
|---|---|---|---|
| Circle | 25 | 24 | +4% |
| Ellipse | 48 | 42 | +14% |
| Equilateral triangle | 40 | 25 | +60% |
| Five-pointed star | 33 | 32 | +3% |
| Teardrop | 30 | 27 | +11% |
| L-shape | 25 | 24 | +4% |
"Same orientation" is the best result with every piece unrotated — essentially what you'd get copy-pasting in a design application.
To be honest about it: the rounder the shape, the less there is to gain. A circle
has no meaningful rotation to exploit, so it gains one piece. The real wins come from directional
shapes like triangles and teardrops, where flipping half the pieces 180° and interlocking them frees
up a lot of space. You can verify these numbers yourself by running
python tools/benchmark.py, which recomputes the table and validates every placement.
Those are general-purpose nesting tools that pack many different shapes together, aimed mainly at laser cutting and CNC. This tool does one thing: batch layout of a single repeated shape. Because the problem is narrower, it can use a different approach — grid search over NFP + FFT convolution rather than a genetic algorithm — so it returns in seconds and independently re-verifies every piece's spacing and bounds afterward. Mixing different parts? Use Deepnest. Filling a sheet with one logo? Use this.
No packaged build yet, but the program itself is cross-platform. With Python 3.10+, run
pip install -r requirements.txt then python gui.py.
Export or "Save As" SVG from the original application. CorelDRAW, Illustrator, Photoshop (shape layers), Figma, and Inkscape all support it.
They are guaranteed never smaller than what you set. Because placement is computed on a raster grid, actual gaps may run about 0.2 mm larger than specified, never tighter. You can raise the precision parameter in the source for a tighter bound, at roughly 4× the runtime.
No. This tool handles one shape at a time. Mixed-part nesting is a different class of algorithm.
False positives on PyInstaller-packaged programs are common. If it bothers you, read the source and build it yourself.