Group concentric curves

I have many concentric closed contour curves. I need to find a way to group them as shown in the image:

I fail to find a logical way to tell which curves goes to which group.

CURVES.gh (230.7 KB)

This could be a way.

CURVES_re_V1.gh (241.8 KB)

3 Likes

I have no idea how many times you have saved my ass already! Listen… just tell me your bank account and your birthday or something :smiley:

I will check the logic of this in a bit, but you never cease to amaze me :smiley:

1 Like