Skip to content

About

Logiciel de nesting gratuit pour Illustrator : imbrication true-shape pour kits déco motocross, stickers, vinyle, print & cut, DTF, laser. Free open-source nesting plugin for Adobe Illustrator.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

59 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MXNestSpirit — free nesting for Illustrator (motocross graphics kits, decals, vinyl)

Free nesting software for Adobe Illustrator — true-shape nesting for motocross graphics kits, decals, stickers, vinyl lettering, wraps, print & cut, DTF, laser cutting and cutting plotters (CutContour). Free, open source, no subscription. Written in a workshop that has been producing MX graphics kits since 2009.

👉 Download the latest version · About on mxspirit.fr

MX Spirit — Montpellier, France · Version française


What's new in 4.4

Tabbed panel. No more long column: a compact panel with four tabs — Nesting, Finishing, Workshop, Inks — that fits a laptop as well as a desktop. New plain look in grey and petrol blue.

Workshop tab, three new tools:

  • Tank vents. Select the part (and, if you want, a rough path around the area to vent): the panel lays out small air-release cuts in a regular pattern. Cut length, pattern angle, edge margin and spacing are adjustable. The cuts go inside the part's group, so they follow it when nesting.
  • Cut lines in one click. Creates the CutContour flush with the part if it has none and, optionally, a second through-cut (vinyl + liner) offset outwards, in its own colour and on its own layer. The artwork is never touched. Works on the selection, otherwise on the whole document.
  • Recolour the kit. The panel lists every colour (fills, strokes, gradients, text); pick the new ones and Apply. Near-identical tints can be merged. Cut colours are never touched, and Undo takes it back.

Logo fill, rebuilt. The logo is read from its clipping mask instead of all the artwork hidden under it, and each copy is re-aligned after rotation. Copies no longer scatter or land on a part: before, a part sticking slightly out of the layout was skipped and its space was treated as free.

Fixed.

  • A part no longer leaves the roll width: with a 0 edge margin, rounding could push it 1 mm out on the left or right.
  • The artboard now reaches the real bottom of the placed parts. It was sometimes a few mm too short and the bottom parts stuck out.
  • 4.4.1: a lone anchor point (or an empty path) in the document made the whole nesting fail. It is now ignored.

What's new in 4.3

Nesting no longer touches the file structure. No group is created, nothing is regrouped or moved between layers. A part stays what it is in the file — a group, a clipping mask or a single path — and the panel rotates and places it as is. Locked objects are unlocked for the placement, then locked again.

Hidden stays hidden. A hidden object, group or layer (eye off in the Layers panel) is ignored: it is not nested, it no longer breaks the run and it is never shown again. A hidden element inside a clipping mask no longer distorts the part's shape. Guides are no longer taken for parts.

Lettering, laser and text. Outlined text stays one block instead of splitting into letters, even inside a group. Live text (a name, for example), images and open engraving strokes are nested with their box and never overlap the next part. New option "Keep every group whole" for uses outside motocross kits.

Single paths and cutting PDFs. A single path or compound path nests with its true shape. Contours from cutting PDFs, often flagged "open" although they close on themselves, are no longer treated as rectangles.

Kits sorted by type (configurator SVGs). When a file keeps all cut lines in a "Cutting Layer" (or "Cut", "Découpe") group, the part shapes in "Alpha" and the artwork in "Graphic", "Logos", "Text", the panel finds each part and what belongs to it, without regrouping anything. The footprint covers everything that prints, including artwork that goes past the cut line.

Part wider than the roll. Instead of an obscure Sparrow error, the panel names the part, gives its narrowest width and selects it in Illustrator. When Sparrow fails, the message now shows the actual cause from its log.

New panel layout. Wide: the sheet on the left at full height, settings on the right with the buttons always visible at the top. Narrow (laptop): everything stacks with no gaps, rarely used settings fold into "Advanced settings". The version number shows in the header.

Fixed. Fill shown above 100 %; one locked part made the whole placement fail; sublayers were read incorrectly.

What's new in 4.2

Ink manager, modelled on Esko's Ink Manager. Lists every ink actually used in the document — the process inks (cyan, magenta, yellow, black) and every spot colour, including those hidden in gradients and text. Unused swatches show greyed out. Each spot colour has a "becomes" column — another spot colour or CMYK — and Apply all runs every conversion in one click, tint preserved. Tick inks to select their objects or rename them.

Sparrow time. A field sets how long the solver may search. Sparrow always returns the best plan found at the moment it is stopped, so less time never breaks anything — the sheet is just a little less tight.

Live sheet length. While Sparrow searches, the panel shows the best length reached so far.

Collapsible blocks. Finishing and Inks fold away and remember their state.

What's new in 3.0

Stop button. Long searches can now be interrupted — V10, Sparrow, or the refinement pass. The best plan found so far is kept and stays applicable, so stopping the search never means losing the result.

Offset tool, three modes. New cut contour around the artwork, grow the existing contour, or grow the clipping mask for a true bleed. It reads what is selected at the moment you click — no dependency on the nesting analysis, which is what used to make it fail on parts coming from a PDF.

Scatter a logo in the offcut. Select a logo, and as many copies as fit are dropped into the gaps between parts — including closed pockets. They never touch a part and never lengthen the sheet. They land on their own layer, so a trial run is removed in one click.

Saved roll widths. Type a width, click Save, and it is there next month.

Reset everything. Clears the panel and cleans Illustrator — stored references, session, and the tags left in layer notes. That last one is why a restart of Illustrator used to be the only way out.

Fill gauge and clearer colours. Green above 70 % fill, orange below.

Missing parts and contacts, fixed. During the refinement pass, a part whose footprint could not be rebuilt — an oversized part at fine precision — was silently skipped: it vanished from the plan and its place was left free, so another part landed on top. A refinement round that cannot re-place everything is now abandoned whole, leaving the previous plan untouched.

What's new in 2.0

Bleed. Enlarges a part's clipping mask by a few millimetres so the artwork runs past the cut line — no white edge if the blade drifts. It follows your selection: select parts and only those are treated, select nothing and the whole document is. The bleed is added to the blade gap automatically, because two parts that each overhang by 2 mm need 4 mm more between them.

Finishing tools moved under the preview, in the order you actually work: look at the sheet, approve it, then add marks and bleed.

Wide layout. Widen the panel and it splits in two: what you look at on the left, what you click on the right.

Document watch. The panel now notices when you switch documents and drops the stale analysis instead of applying a plan computed on another file — that was the cause of the "missing parts" reports.

What's new in 1.1 — the Sparrow engine

Version 1.0 shipped with one engine of my own: a raster true-shape nester.

Version 1.1 adds a second engine, Sparrow, an academic solver from KU Leuven, state of the art for 2D irregular strip packing, MIT licensed. Both now run on the same job and the shorter sheet wins.

On a real 83-part kit:

Engine Sheet length
Built-in engine 0.800 m
Sparrow 0.721 m

Around 10 cm saved per sheet, roughly 10 %. Over a hundred kits, that is ten metres of vinyl.

Sparrow is Windows-only in this release. The bundled solver is a Windows executable. On macOS the panel falls back to the built-in engine: everything works, you simply don't get the extra 10 %. A macOS build — or the WebAssembly version of Sparrow — would fix that. Contributions welcome.

What it does

It lays your parts out on the roll following their real outline, not their bounding box. Each part stays one block: cut contour, clipping mask and logos rotate together.

  • free rotation every 5 to 30°, or locked for gradient films
  • guaranteed blade gap and edge margin, never quietly reduced
  • small parts drop into the gaps between large ones, and into their holes
  • registration marks added afterwards, on their own locked layer
  • automatic check: no two parts may touch, and the panel says so if they do

Install

  1. Download the latest release zip
  2. Unzip it
  3. Windows: double-click install-windows.bat macOS: double-click install-mac.command (blocked? right-click > Open)
  4. Restart Illustrator → Window > Extensions > MXNestSpirit

Illustrator CC 2014 and newer.

Security — please read before installing

The installer turns on PlayerDebugMode, the Illustrator setting that lets unsigned extensions load. Commercial plugins avoid this by buying a code signing certificate; free projects generally don't. Once enabled, it applies to every extension, not just this one — so only install extensions whose source you can read.

The panel itself does nothing hidden: it reads the paths of your open document, computes, moves the objects, draws circles on a layer. It never accesses the network and never sends anything anywhere. Every line of it is readable text in this repository.

One exception you should know about: bin/sparrow.exe is a compiled binary, not source. It is a build of Sparrow, MIT licensed. If you would rather not run a binary you didn't build yourself, either delete it — the panel falls back to the built-in engine — or build Sparrow from the official repository and replace the file.

How to use

Analyse → Full nesting → Apply → Add marks.

Ctrl+Z undoes the whole nest in one step.

Changed a setting? Run nesting again. Changed the document? Analyse again.

Two buttons:

  • Full nesting — Sparrow searches, the built-in engine stands by as a fallback. One to two minutes: this is the one that saves vinyl.
  • Nesting V10 only — the built-in engine alone, a few seconds, for a quick look.

While Sparrow works, the panel shows the best sheet length it has reached so far, updated live from the solver's own progress.

Settings that matter

Setting Advice
Blade gap 1 mm if your cutter tracks well, 2 mm otherwise
Precision 1 mm. At 2 mm the grid alone adds about 2 mm of empty space between parts
Rotation every 10°. Finer brings no measurable gain
Search Normal for daily work, Maximum on large kits
Max length 0 for a free-running roll, or a value to cap the sheet

When nothing is found

Click What's in this file? — it lists the spot colours and the stroke colours actually present. Then select one cut contour in Illustrator, choose "Same colour as the selected path" and analyse again.

How a part is recognised

Per part, in order:

  1. the spot-colour cut path (CutContour and friends), if there is one
  2. otherwise the group's clipping mask, searched at every depth
  3. otherwise the combined silhouette of every shape in the group
  4. otherwise the bounding box (raster image with no outline)

"Tighten to artwork" forces the silhouette instead of the mask, bounded by the mask: whatever falls outside the mask is not printed, so it does not count.

Bleed

In the Finishing tab, choose "Grow the mask (bleed)", set a value in millimetres and click Apply offset. The part's clipping mask is enlarged by that amount, so the printed artwork runs past the cut contour. The cut line itself never moves — the blade still cuts where you drew it.

It works on your selection if you have one, on the whole document if you don't. A part with no clipping mask is left untouched and reported: with no mask there is nothing to enlarge, and stretching the artwork itself would distort it.

Keep Count the offset in the blade gap ticked unless you know what you are doing. Two neighbouring parts that each overhang by 2 mm need 4 mm more between them, or one part's bleed prints over the other's cut.

Registration marks

Filled circle, filled square, or corner L. Size, inset and line width adjustable, drawn on a locked Regmark layer after nesting — they take no space in the calculation, and the panel warns you if a part covers one.

Two presets carry real figures:

  • Valiani — 10 mm circles, measured on production sheets
  • Graphtec CE7000 / FC9000 — corner L marks, 20 mm, 1 mm line. The manual allows 5 to 20 mm and 0.3 to 1.0 mm, and requires a single line

Summa, Zünd, Roland and Gerber are left blank on purpose. Nothing is guessed here: a mark of the wrong size is invisible on screen and ruins a printed sheet. Set it once from a validated file, then click Remember.

Inside

Contours are flattened to 0.08 mm with no simplification — that is what keeps parts from being distorted. The built-in engine rasterises them into a bitmask processed 32 pixels at a time, and places each part by true-shape bottom-left-fill: the part falls toward the start of the roll, then slides left, testing the real outline, so it settles into its neighbours' hollows.

Sparrow works differently: it places everything, then repeatedly shakes the layout and compresses the strip — which is why it finds shorter sheets. The bridge feeds it simplified geometry, and gives the simplification back to the blade gap, so the real spacing is never smaller than you asked for.

The panel runs in Chrome, not in Illustrator's scripting engine: same code, 30 to 50 times faster. Illustrator only reads the parts and puts them back.

Known limits

  • Sparrow is Windows-only in this release
  • a part wider than the roll is rotated automatically; if it still doesn't fit, it is reported and left in place
  • no automatic mirroring: a left/right kit keeps both parts
  • no production report, and no manual touch-up after nesting yet
  • on a fully flattened PDF with no contours and no groups, part detection stays approximate — no tool on the market does better on that input

Credits

  • Sparrow — Jeroen Gardeyn, KU Leuven, MIT
  • jagua-rs — collision engine, MIT
  • Clipper — polygon operations, Boost

Licence

GPL v3. Use it, change it, redistribute it. If you distribute a modified version, you distribute your changes too.

About

Logiciel de nesting gratuit pour Illustrator : imbrication true-shape pour kits déco motocross, stickers, vinyle, print & cut, DTF, laser. Free open-source nesting plugin for Adobe Illustrator.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages