Open Nest 2 - Objects only nesting on 1 sheet

Hey guys, long time lurker, first time poster! I have been trying to use Opennest to create sheet number estimates for a variety of small and large releases, but every time I run the solver, I only get my geometry nesting on 1 sheet. I have been scouring the forum / youtube all morning, but for whatever reason I can’t get this to work. Hopefully this is an obvious oversight on my end, but any help would be greatly appreciated!

OPEN NEST HELP.gh (24.4 KB)

OpenNest never creates sheets for you — it only fills the sheet boundaries you hand it. One rectangle into the Sheets input means one sheet, and everything that doesn’t fit is simply left unplaced. This trips up nearly everyone because the component looks like it should generate sheets on demand.

I arrayed the sheet you had then sent it into sheets. I also flattened the input curves and you can see it got out across multiple sheets.

It probably still needs some refining. There is a whole discussion of multiple sheets here: Does OpenNest have a sheet limit or other tipe of limit?

your fix doesn’t seem to be universal Scott, I was using the plug-in in the same way as Ryan with success a month or so ago, but opening my scripts again recently some have been failing, and some have been working, even various instances in the same script having different outcomes.

it seems to be specifically a problem with the OpeNest2 component, the script runs perfectly if you attach the OpenNestCollision component.

Looks like a questions for @Petras_Vestartas

Not the “solution” that people might be searching for, but after running numerous tests with a variety of different inputs for both sheets and geometry, I wasn’t able to get OpenNest working as intended. I tested the collision solver like Max had recommended, but even that was getting a max of 6 sheets with a variety of overlaps.

In the end, I ended up testing a different nesting engine called Sparrow (you can find it here: sparrow | Food4Rhino) and this ended up working perfectly with the same inputs as above. Thanks to everybody who contributed / reassured me the issue wasn’t only on my end, I appreciate all the help!

Do default examples from food4rhino or OpenNest2 - OpenNest behave the same when you open on your machine?

Are you using the latest version?
Both solvers works without problem, I tried on two separate windows computers.

BTW: for rectangular packing problems you should never use collision or no fit polygon solvers, simple rectangle packing will always be faster and more efficient.

If you have old scripts, you need to rewrite your old grasshopper files, many things changed. Curious to know the problem…

Thanks for the quick response Petras! I tested the example script and it works as expected (and I have the latest version of rhino 8 and OpenNest2), but your comment on the rectangle packing case made me realise that the script where only some instances were failing is where it was only packing rectangles! I added one irregular shape in and it worked as usual.

Attach this example here, I will take a look.

Thanks Petras, see a simplified version here:

OpenNest2 Edge Case nest error.gh (24.1 KB)

I ran a test using the original script provided and can confirm that Max’s finding was repeatable! Also, test scripts provided on the open nest website were working as intended with version 2.93.

image

Only rectangular inputs:

Adding 1 non-rectangular input:

OPEN NEST HELP (EDGE CASE).gh (20.9 KB)