@ThomasE Nice! I had no idea about that component, I haven’t messed around with Kangaroo much.
Probably an easier way but here’s a one method to handle the duplicate points in the polylines:
Graph Space:
Cluster Space:
Model Space:
20230719_Join curves by angle(No Plugin inside)_Response_01d.gh (21.6 KB)
And seperately:
I realize this is outside the scope of what was provided in the input curves but I can’t seem to get the Split At Corners method working with a list of non-planar curves/mix of polylines and nurbs curves, but even though my original method is longer, it does appear to handle this use case as well. Just sharing for what it’s worth.
Here’s a test file with conditions breaking the logic & the updated cluster that solves for all tested conditions (with the caveat of using many more components):
Graph Space:
Cluster Space:
Model Space:
20230719_Join curves by angle(No Plugin inside)_Response_01f.gh (26.9 KB)