Group Surfaces by plan in Branches

Hi,

I have been struggling to group surfaces that are in the same plane in one branch.

The ideal Data structure I am hoping to get is:

Branch 1:
Element 0
Element 1
Element 2

Element 13

Branch 2:
Element 14
Element 15
Element 16

Element 29

Branch 3:
Element 30
Element 31
Element 32

Element 48

Any ideas how I can tackle the problem?
Group in branches by common plane.gh (9.5 KB)

I think this might be what you want. Sorted by x, y, z positions and grouped by y-position.

Group in branches by common plane_re-01.gh (22.8 KB)

-Kevin

2 Likes

Thanks, @kev.r this is what I was looking for.