Group Curve by nearest End Point

Hi All, I had these random curves and I intend to grab those labelled curve as one sub-lists. Can anyone shed some light on which component to use?

CurveNearestObject will not be applicable as it will detect the neighbour curve as the nearest.

Eg

1
2
3
4

1
2

1
2
3

Cheers!

你好,似乎除了使用代码,很难用自带的组件实现你想要的效果


公差范围内曲线成组.gh (13.4 KB)

4 Likes

你会Python吗? 我是python初学者

There is also a way to do it with native components…

Group Curves by End Points_RE.gh (12.1 KB)

2 Likes