Separate contour into list chunks

Hi, I made contour on my shape, but i need to get the lines from the same level to stick as a group or unit. I tried to make chunks of 5 pieces after sorting the list in Z direction, but it didn’t worked out.

Whenever i put it in opennest, the small curves get separated from where it should be, I want to make this chunks stick together. (56.3 KB)


Have done a lot of sorting and grouping by Z values, here’s a recent example:

Another example:

you could also intersect with a plane, so it comes out as a tree:

1 Like

Also for nesting internal curves you may have a look here: