Splitting or Dividing a curve using points on that curve

Greetings everyone!

I want to dividing the curve ( highlighted ) depending on these points located on it.


Use Curve Closest Point to get the parameters on the curve and use these parameters to shatter you curve by using Shatter.

I do have another issue. I do have a bunch of curves of different lengths overlapping each other and I want to shatter all of them to the start/end points of the other curves that are overlapping, remove the duplicates and reconstruct one single complete curve from all the mess.

The final shape it is on the layer Whole.

Shatter.3dm (66.6 KB)

A quick solution, but the resulting curve has a lot of small segments.

shatter_join_closed.gh (20.8 KB)