understood 
what I had in mind is something like the greediest algorithm ever
given a curve and a start point, it starts walking along the curve calculating the bounding boxes (flat boxes: rectangles) of the portion of curves itâs walking along on multiple planes
at a certain point the portion of curve will become too big to be contained on the bounding box (which means the bounding box becomes bigger than the cutting sheet), so it will stop the walk, put a cutting point there, and restart from there as a new sheet
it looks like this, but the definition is a sketch so messed up that I donât dare to post it right now:
Iâll try to make the GH file a little more comprehensible (and functional) then Iâll post it
[edit]
here is a cleaner version .________. which is a hell of a mess anyway⊠Iâm sorry
I donât know if you are familiar with Anemone Plugin (which is needed for the file to run)
because this is a sketch-test, I didnât take care of some things that might be considered ânot secondaryâ if you had to use this on a daily basis⊠but the main concept is shown
for instance, the loop does not know when the curve ends, itâs implementable, but I think itâs just better to rewrite it completely instead of adding a patch to the mess you see on the GH canvas at the moment
so, for instance, the best way is to low the iterations, for this shape letâs try 10, then if you see the curve didnât complete, then add one (or more) more iteration until you see the last portion is âreasonably smallâ
for instance this:
in this case with 13 iterations we get to this point, and still have the red portion of curve to take care of:
when you move to right side of the definition, if you press the Data Dam (4) you will see that that end-reminder-portion can indeed fit in a sheet, so itâs ok to not go to 14 iterations because that will be nested anyway in a sheet
but, for instance, if we stop at iteration 12, you will see that the remaining part is too big to fit a single sheet, like this:
and if at iteration 12 you trigger the Data Dam (4), it will show you the reminder of the curve nested in the final sheet, which is too big:
so you know you have to add one more and go to 13 
this âso you know you have to add one moreâ is the truly wrong way to do things⊠but I meant this just as a sketch, with all its limitations⊠it will be improved 
depending on the start point you will end up with different numbers of sheets required, for instance if we start on this random location:
it looks like we end up with âone more sheetâ⊠but that small end-part can be easily included in another sheet (but I would just try another start point)
the main issue is that by using this greedy way, you are almost 99.9% sure youâll never be able to nest two complete different shapes in the very same sheetâŠ
one last important thing: as Data Dam remebers the last data that went through it, if you change the start point after pressing the data dam (4) itâs better to right click on the GH canvas and Recompute the solution⊠to get rid of the crazy nesting that would be generated (another thing to take care ofâŠ
)
[edit] reuploaded GH file with old Area component for R7
curve_division_optimization_inno.gh (51.3 KB)