Sub curve/shatter curve not working as expected


I am really stuck trying to do select a part of a curve but its not working out.

I am trying to select each section of a curve thats intersecting with another curve with the corresponding offset curve of the intersection. As shown above.
I right now the script is working for slider numbers 1, 2, 3, 4, 8, 9 and 10. (see the red slider)
Except for 0, 5, 6 and 7 the sub curve component is selecting the outer part of the curve.

The script: (46.9 KB)

Maybe there’s another way to do this?

Make sure you scroll up on the top view in the rhino viewport, the pattern is not in the middle.
Thankyou so much for your help!

Example Edited (53.4 KB)

Thanks @Quan_Li it works!

Now if I create a list of points with divide curve on the large curves.
How do I filter out just the points that intersect with the section curves that we just created?

Pull Point then filter with distance.

1 Like