How could improve OpenNest

Hello Everybody.
Im trying to optimise my nest set.
I already tried many combinations but it seems it dont fit more than that.
I have notice that most of the time increasing rotation dosent help a lots
What do you suggest guys?
Thanks
Nico

Open Nest 01.gh (152.2 KB)

If you think about this problem then it can be decoupled into several parts:

  1. find a minimal bounding box of a curved piece (principal component analysis)
  2. try to minimize numbers of points per polylines since it would reduce computational time (link to video)
  3. nest using 2 rotations only because translation will only be computed during nesting:

For simplifications watch the third video:

Open Nest 01 Petras.gh (174.5 KB)

This is for all 261 elements using two rotations and only after 1st iteration:

Open Nest 01 AllSheets.gh (177.5 KB)

If you want really to reduce computational time and pack more in less sheets, then I suggest to orient your curves in one direction, either positive or negative curvature, then the solver would not need to guess how to rotate the piece. I am sure you have this information in your code. Then you can set rotations to 1

Hi Petras, thank you so much for your reply! And sorry I didn’t thank you earlier!! Your help was very useful. thanks Nico