Issue while nesting multiple crv

My goal is to select multiple curves, duplicate them by making a linear array. Then nesting those in a square. I am able to to do with one curve, it works well. But when I give move dans one curve, and then make a array of those, they all are overlaping in the final result.
the goal is to pack them for lasercuting, so positioning is important.
image (7.4 KB)

I have already developed a solution that does what you need precisely. Precise reliable CNC cutting regardless of curvature, double curvature or planar, very accurate results .
Hope it helps.

1 Like

You didn’t internalize your two Crv params.

If you flatten the ‘Geo’ input to OpenNest your problem should disappear.

1 Like

Thanks for the reply,
It is pretty close from what I want, but I would want the curves located inside the half moon shape to stay in there while nesting. Maybe I didn’t exactly understand what you meant.
thanks again.

Since you didn’t internalize your geometry, I had no way of knowing about the nested curves.

I’ve had success using RUnion to merge nested holes, then Transform to restore the original shapes (with holes). Sorta like this:

Here is a post that includes some code, though it has a wrinkle for determining the number of parts that you want to ignore:

Not quit sure I fully understand this code. But I’ll take a deeper look to it.
I was hopping for a node that act like a ’ see all crv as a group’ or something like that

thanks a lot, you already solve half my problem

I’ve said twice that you didn’t internalize your two Crv params. Had you done so, I would have replied with working code.

oh sorry about that, I didn’t understand what internalize meant.
Here’s the file with the crv internalized. (51.8 KB)

Also, english is not my speaking language, so, I’m sorry for the confusion and thank you for your patience

Something like this? (60.8 KB)


EXACTLY like this :smiley: !
thank you so much for your kind help !

Hi @Vincent_Arsenault, check out this tutorial on how to nest multiple grouped objects with OpenNest:

Another possible solution, separating the outline curve from the interior curves: (58.4 KB)


1 Like

Sweet, thank you ! :smiley:
I’ll take a look at that video.

Hi, I was wondering if there was a way to give multiple inputs with inside geometry. I have been following the video, but I have not been able to make it work.
I have closed curved with text inside them that I want to layout on 4’x8’ sheet.
In my example I have provide only 4, but the project contain more then 100 of those.
I also have provide the CRV in a node. Any other way of doing it would be fine too.
I’ve been using de .GH you provided me last time quite a bit. But I haven’t been able to achive what I want, exept if a copy/paste the input multiple time and then manualy set all the curves to one node. Don’t need to say that there must be a easier way to achieve that.
image (29.6 KB)

It is not clear what you are trying to do.

The file you attached has 2 Curve components with internalized geometry.

  • The first Curve component contains a rectangle and is connected to the Sheets input of the OpenNest component.
  • The second Curve component contains 6 curves.
    • 4 of them are closed polylines.
    • The other 2 are near zero length open curves.
  • There is no text in the file you uploaded.

There are multiple ways to do this, depending on what your needs are.

  • Here’s what I did with the file you supplied:
    • Culled the 2 near-zero length open curves.
    • Numbered the 4 closed plolylines by their list indices.
    • Nested the 4 closed plolylines.
    • Used the Transform output of the OpenNest component to place the numbers in the nested polylines. (35.4 KB)



thanks ! this is what I was trying to do !

Cheers !

Nice. I’ve never noticed the InscribeCircle and Text components in OpenNest before since I don’t use it for my own projects. So much can be learned by reading other people’s code! People who show up on the forum to start a thread and look only at the replies they get are really missing out.

1 Like

:+1: :+1: :+1:

I’ve learned most of what I know about grasshopper from reading posts here and looking at solutions provided by others.