Split branches based on samilar XY coordinates

Hi,

Question,
There is a tree, containing points.
I would like to split the branches based on similar X-Y coordinates.

2020-12-09 Split branches based on similar XY coordinates.gh (16.9 KB)

Any suggestions?

Rhanks :slight_smile:


2020-12-09 Split branches based on similar XY coordinates_re.gh (26.5 KB)

2 Likes

Ahh thanks! :+1:

1 final question, is there also a manner to get the same path structure as is shown in the wanted result?

It is basically:
The first ‘group’ in a branch: add {;0}
The second ‘group’ in a branch: add {
;1}
The second ‘group’ in a branch: add {*;2} (this is not present in this example.

Thanks again :slight_smile:


2020-12-09 Split branches based on similar XY coordinates_rev2.gh (29.8 KB)

1 Like