# Open source nesting solution

**URL:** <https://forum.lightburnsoftware.com/t/open-source-nesting-solution/190774>\
**Category:** Finished Creations\
**Created:** [June 22, 2026, 4:38pm UTC](https://forum.lightburnsoftware.com/t/open-source-nesting-solution/190774 "2026-06-22T16:38:11Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![bfinster](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/bfinster/32/121840_2.png) [@bfinster](https://forum.lightburnsoftware.com/u/bfinster)\
**Post date:** [June 22, 2026, 4:38pm UTC](https://forum.lightburnsoftware.com/t/open-source-nesting-solution/190774/1 "2026-06-22T16:38:11Z")

</div>

Hi all. I’ve been pretty disappointed with the nesting solution that Lightburn points to, so I’m building something I like better. This not only nests better but also exports directly to LightBurn. I’m interested in feedback.  
This isn’t the final URL, just what I’m using while i build it: [https://laser-layout.netlify.app/](https://laser-layout.netlify.app/)  
You can find the code here: [GitHub - bdfinst/laser-layout: Automatically layout shapes for laser cutting. · GitHub](https://github.com/bdfinst/laser-layout)

---

<div class="post-metadata">

**Author:** ![Colin](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/colin/32/41542_2.png) [@Colin](https://forum.lightburnsoftware.com/u/Colin)\
**Post date:** [June 22, 2026, 5:14pm UTC](https://forum.lightburnsoftware.com/t/open-source-nesting-solution/190774/2 "2026-06-22T17:14:14Z")

</div>

As long as the project remains open source and free to all, we don’t have any issue with discussions about it here on the LightBurn forum.

The Quick Nest solution we just released is only the first step, with a more advanced solution coming down the pipe as we speak.

---

<div class="post-metadata">

**Author:** ![bfinster](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/bfinster/32/121840_2.png) [@bfinster](https://forum.lightburnsoftware.com/u/bfinster)\
**Post date:** [June 22, 2026, 11:50pm UTC](https://forum.lightburnsoftware.com/t/open-source-nesting-solution/190774/3 "2026-06-22T23:50:01Z")

</div>

No worries. When I open source a project, it stays that way. 🙂

---

<div class="post-metadata">

**Author:** ![bfinster](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/bfinster/32/121840_2.png) [@bfinster](https://forum.lightburnsoftware.com/u/bfinster)\
**Post date:** [June 22, 2026, 11:52pm UTC](https://forum.lightburnsoftware.com/t/open-source-nesting-solution/190774/4 "2026-06-22T23:52:40Z")

</div>

BTW, I’m interested in the nesting method you come up with. I had Claude Opus churning for a few hours yesterday on creating something that got close to what I was able to do by hand. It got pretty close.

---

<div class="post-metadata">

**Author:** ![oguzd](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/o/d78d45/32.png) [@oguzd](https://forum.lightburnsoftware.com/u/oguzd)\
**Post date:** [June 23, 2026, 12:28pm UTC](https://forum.lightburnsoftware.com/t/open-source-nesting-solution/190774/5 "2026-06-23T12:28:35Z")

</div>

Hello Bryan,

Thank you for sharing the project here.

Here is my feedback on my scenario.

I cut the packaging boxes from pre-cut cardboard sheets in 600x350 and 500x400 mms. I have 3 different sized boxes which I’d like to cut as many as possible from these sheets. First of all, in all the nesting applications I had tried in years so far, I haven’t seen an option to just give the sheet size (with unlimited or by specified amount of sheets) and the shapes by quantity then to let the process work on the best fit for/on the least amount of sheets. This would have been handy in my case.

After fitting 7 shapes into the given sheet dimensions, it stopped (as intended on time limit) with 17 shapes remaining.Would be nice if in continued into further sheets (by choice) to fit all given shapes into given sheet sizes. (attached image)

Secondly, first I uploaded a lightburn file with the grouped shapes of each box type (3 different layers with my brand on it and folding perforations etc.) - this was not recognized. Then I have taken off all layers but the outline layer - joined the lines (they apparently came out broken up from the box generator software) and uploaded the file with box templates arrayed as single shapes only. It worked this way. (as attached here)

My 3rd comment would be about the nest preview; I did not take a screenshot or paused it at that moment but I think I might have seen one corner of my shapes (it was rotated by around 45-50 degrees) was overlapping another’s edge - which didn’t repeat again to the last generation and when it was stopped.

[hkh.lbrn2](https://forum.lightburnsoftware.com/uploads/short-url/eOrg9DyT9PMMRU5JtkVdTUpbCgg.lbrn2) (25.1 KB)

 ![Capture](https://forum.lightburnsoftware.com/uploads/default/original/3X/e/7/e7e4fc1e2124ea6a909a9de3bf94a3e0e32df32f.png)

---

<div class="post-metadata">

**Author:** ![bfinster](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/bfinster/32/121840_2.png) [@bfinster](https://forum.lightburnsoftware.com/u/bfinster)\
**Post date:** [June 27, 2026, 11:00am UTC](https://forum.lightburnsoftware.com/t/open-source-nesting-solution/190774/6 "2026-06-27T11:00:59Z")

</div>

Awesome feedback, thanks. Would it be possible to screenshot the original file or, even better, send me the LightBurn file to use as a test fixture?

---

<div class="post-metadata">

**Author:** ![bfinster](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/bfinster/32/121840_2.png) [@bfinster](https://forum.lightburnsoftware.com/u/bfinster)\
**Post date:** [June 27, 2026, 2:26pm UTC](https://forum.lightburnsoftware.com/t/open-source-nesting-solution/190774/7 "2026-06-27T14:26:13Z")

</div>

Here’s a deploy preview that tries to address your request and bugs.

> **[Laser Layout — Nesting Optimizer](https://deploy-preview-70--laser-layout.netlify.app/)**

Lemme know how it does. 🙂

---

<div class="post-metadata">

**Author:** ![RalphU](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/ralphu/32/42743_2.png) [@RalphU](https://forum.lightburnsoftware.com/u/RalphU)\
**Post date:** [June 28, 2026, 1:00am UTC](https://forum.lightburnsoftware.com/t/open-source-nesting-solution/190774/8 "2026-06-28T01:00:14Z")

</div>

What software do you use for packaging design?

---

<div class="post-metadata">

**Author:** ![oguzd](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/o/d78d45/32.png) [@oguzd](https://forum.lightburnsoftware.com/u/oguzd)\
**Post date:** [June 28, 2026, 10:27am UTC](https://forum.lightburnsoftware.com/t/open-source-nesting-solution/190774/9 "2026-06-28T10:27:28Z")

</div>

I had generated my boxes using Easypackmaker, which is a paid service and using the same boxes since years. If you know of any such service for free, I would appreciate the information 🙂

---

<div class="post-metadata">

**Author:** ![oguzd](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/o/d78d45/32.png) [@oguzd](https://forum.lightburnsoftware.com/u/oguzd)\
**Post date:** [June 28, 2026, 10:41am UTC](https://forum.lightburnsoftware.com/t/open-source-nesting-solution/190774/10 "2026-06-28T10:41:08Z")

</div>

I had the lightburn file attached on my initial message. I have all my boxes with logo and folding lines in many different sizes on a single lightburn file and I take each one out for cutting/production as needed. The only difference is that on the original files there is a cut layer with logo, perforated lines for folding and the outer cut for the box; 3 layers in total grouped together on each size/box design. When I attempted them to be nested in groups, it had not recognized the shapes but I have not been able to retry on this issue for now again with grouped layers.

I have used the same file which I had attached previously; 8 of each size. When I specify 2 sheets and seperately 180 and 600 seconds generation time - the generator returned by choosing 500x400 by itself and worked on that size only - it did not attempt to use 600x350. On 600 seconds generation time, it completed the placement of all 24 shapes within 6 sheets of 500x400 (attached lightburn files here), whereas 180 seconds generation time timed out with 2 sheets of 500x400 and the placing of 10 shapes only.(screen capture here)

 ![Capture](https://forum.lightburnsoftware.com/uploads/default/original/3X/d/2/d2c4dcdefe8ae443553a1eedbd6781a1ca1ebc0a.png)

[nested-layout-sheet-1.lbrn2](https://forum.lightburnsoftware.com/uploads/short-url/fi7ndWqSMtaIYMxkqPVXWfKJqsh.lbrn2) (8.3 KB)

[nested-layout-sheet-5.lbrn2](https://forum.lightburnsoftware.com/uploads/short-url/4dzG0RgiooCaqwjGjJz5Klcm6qD.lbrn2) (5.2 KB)

[nested-layout-sheet-2.lbrn2](https://forum.lightburnsoftware.com/uploads/short-url/iElEnUXsphHw2y15reW4fy4LJ5c.lbrn2) (6.7 KB)

[nested-layout-sheet-6.lbrn2](https://forum.lightburnsoftware.com/uploads/short-url/sKUySKzgD49w8WOk10indaElpvi.lbrn2) (6.8 KB)

[nested-layout-sheet-4.lbrn2](https://forum.lightburnsoftware.com/uploads/short-url/yN164CxckaJ5qRQn3tt2k7Vkshf.lbrn2) (6.7 KB)

[nested-layout-sheet-3.lbrn2](https://forum.lightburnsoftware.com/uploads/short-url/e7mBh5C77Hp3CcxHDTcebkUsPR7.lbrn2) (6.7 KB)

---

<div class="post-metadata">

**Author:** ![bfinster](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/bfinster/32/121840_2.png) [@bfinster](https://forum.lightburnsoftware.com/u/bfinster)\
**Post date:** [June 28, 2026, 2:04pm UTC](https://forum.lightburnsoftware.com/t/open-source-nesting-solution/190774/11 "2026-06-28T14:04:50Z")

</div>

Thanks so much. Let me play around with these. I missed the file in the original message. That’s very helpful.

---

<div class="post-metadata">

**Author:** ![bfinster](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/bfinster/32/121840_2.png) [@bfinster](https://forum.lightburnsoftware.com/u/bfinster)\
**Post date:** [June 28, 2026, 2:10pm UTC](https://forum.lightburnsoftware.com/t/open-source-nesting-solution/190774/12 "2026-06-28T14:10:47Z")

</div>

I’m only seeing one layer in your original file.

---

<div class="post-metadata">

**Author:** ![oguzd](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/o/d78d45/32.png) [@oguzd](https://forum.lightburnsoftware.com/u/oguzd)\
**Post date:** [June 28, 2026, 5:48pm UTC](https://forum.lightburnsoftware.com/t/open-source-nesting-solution/190774/13 "2026-06-28T17:48:23Z")

</div>

for your consideration, here are 3 sizes of boxes with layers and in groups.

[boxes-withfold.lbrn2](https://forum.lightburnsoftware.com/uploads/short-url/eOrghS1jaEb2dqtpwSyvzFGRnfE.lbrn2) (33.7 KB)

---

<div class="post-metadata">

**Author:** ![wesday](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/w/b4bc9f/32.png) [@wesday](https://forum.lightburnsoftware.com/u/wesday)\
**Post date:** [July 11, 2026, 2:55pm UTC](https://forum.lightburnsoftware.com/t/open-source-nesting-solution/190774/14 "2026-07-11T14:55:21Z")

</div>

I haven’t tried it yet, but a HUGE thank you!

I’ve been using a 25-year-old version of SignLab for nesting because I’ve been asking—practically begging—LightBurn for years to add true nesting. Their third-party solution is crap, but I guess it cleared their conscience because they can technically say they offer nesting.

It really irritated me this morning when I received an email from LightBurn boasting that their relatively new software now has “TRUE NESTING.”

---

<div class="post-metadata">

**Author:** ![NicholasL](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/nicholasl/32/40942_2.png) [@NicholasL](https://forum.lightburnsoftware.com/u/NicholasL)\
**Post date:** [July 11, 2026, 3:56pm UTC](https://forum.lightburnsoftware.com/t/open-source-nesting-solution/190774/15 "2026-07-11T15:56:18Z")

</div>

FYI Here is what happened with LightBurn’s new true nesting when I plugged in the box shapes from your [earlier post](https://forum.lightburnsoftware.com/t/open-source-nesting-solution/190774/5) to nest on 600 x 350mm sheets, it took 15sec each sheet.

 ![image](https://forum.lightburnsoftware.com/uploads/default/original/3X/c/5/c54f34b4f55ad7ce92d7ea67a730f27aefddf508.png)

And this is 45sec per sheet option which I thought was pretty good, I restricted the parts to 90deg rotations because that made sense to me:

 ![image](https://forum.lightburnsoftware.com/uploads/default/original/3X/0/7/0761bdf63dbf92cb1658c8a0ef8851b9b8d91514.png)

---

<div class="post-metadata">

**Author:** ![RalphU](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/ralphu/32/42743_2.png) [@RalphU](https://forum.lightburnsoftware.com/u/RalphU)\
**Post date:** [July 11, 2026, 6:31pm UTC](https://forum.lightburnsoftware.com/t/open-source-nesting-solution/190774/16 "2026-07-11T18:31:04Z")

</div>

FWIW, you never want to rotate boxes 90 degrees from each other on the same sheet - only 180 degrees. If the sheet is true corrugated (fluted) material, the main folds are perpendicular to the flute direction. If it is paperboard, the main folds are perpendicular to the grain of the sheet.

---

<div class="post-metadata">

**Author:** ![MikeyH](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/m/43a26b/32.png) [@MikeyH](https://forum.lightburnsoftware.com/u/MikeyH)\
**Post date:** [July 12, 2026, 1:37am UTC](https://forum.lightburnsoftware.com/t/open-source-nesting-solution/190774/17 "2026-07-12T01:37:03Z")

</div>

> [@RalphU](#):
>
> true corrugated (fluted) material, the main folds are perpendicular to the flute direction.

I thought you would fold parallel to those ridges. That is the only it will fold when I stuff it in the recycle bin. 😂

---

<div class="post-metadata">

**Author:** ![RalphU](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/ralphu/32/42743_2.png) [@RalphU](https://forum.lightburnsoftware.com/u/RalphU)\
**Post date:** [July 12, 2026, 11:49am UTC](https://forum.lightburnsoftware.com/t/open-source-nesting-solution/190774/18 "2026-07-12T11:49:34Z")

</div>

> [@MikeyH](#):
>
> I thought you would fold parallel to those ridges. That is the only it will fold when I stuff it in the recycle bin. 😂

Most of those folds will be a perf ( cut and space), because if it was just a crease, the fold tends to bend on the nearest flute.

---

<div class="post-metadata">

**Author:** ![JeroenGar](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/j/ec9cab/32.png) [@JeroenGar](https://forum.lightburnsoftware.com/u/JeroenGar)\
**Post date:** [September 8, 2026, 3:00pm UTC](https://forum.lightburnsoftware.com/t/open-source-nesting-solution/190774/19 "2026-09-08T15:00:40Z")

</div>

Hi, i recently published: [https://sparrowstudio.app/](https://sparrowstudio.app/)  
It uses a very powerful nesting solver and runs entire locally within your browser.  
No accounts, no programs to install.

Please check it out and give me feedback!

---

<div class="post-metadata">

**Author:** ![Colin](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/colin/32/41542_2.png) [@Colin](https://forum.lightburnsoftware.com/u/Colin)\
**Post date:** [September 8, 2026, 11:25pm UTC](https://forum.lightburnsoftware.com/t/open-source-nesting-solution/190774/20 "2026-09-08T23:25:51Z")

</div>

> [@bfinster](#):
>
> BTW, I’m interested in the nesting method you come up with. I had Claude Opus churning for a few hours yesterday on creating something that got close to what I was able to do by hand. It got pretty close.

As of today, True Nest is now available in MillMage Pro 0.9 and onwards

> **[True Nest - MillMage Documentation](https://docs.millmagesoftware.com/0.9/Reference/Nesting/TrueNest/)**
>
> Better software for CNC routers
