Help with getting item/branches from a tree

So, as you can see, I’ve got these 4 planar srfs I applied contour on them. My question is, how do I get the contour for each srf as a separated list/tree?
The last pic shows the branches and I guess the key is to select the 4 branches I marked. How do I do this?

GH file attached.

Thanks!
DM1.gh (20 KB)

Looks like you forgot to internalize your geometry (Geo).

P.S. This old thing might be useful?

vuTreeList_2017_Jan19a.gh (20.0 KB)

vTrE cluster:

vList cluster:
vuTreeList_2017_Jan19c

Use Shift Paths after Loft.

1 Like

Using my own four triangular surfaces (a pyramid), I found that the planes at the center of each one converged at some point in your code. I had to simplify it to some extent… Is this what you intended? The ‘path_idx’ slider chooses among the four sides.

Oops! As I was about to post this, I noticed that one of the four surfaces extruded inward instead of outward! No doubt due to the inconsistent way I created the surfaces manually… But I’m not going to take the time now to fix that, sorry.

DM1_2019Jun13a.gh (29.9 KB)


SOLVED!

thanks!

Simplified:

DM1_2019Jun13b.gh (31.5 KB)

Will add a render shortly, then a different play on the same idea…

Later… This method (below, yellow group) finds the base lines and divides them with PFrames that intersect the surfaces. No performance advantage at all over the Contours.

DM1_2019Jun13c.gh (33.2 KB)