Recursive generation of lines with items from the same tree

I just copied that code into version ‘c’ (below) of what I posted earlier but note:

  1. It would be useless without the sorting I did in the white group.

  2. What are you going to do with the pairs of adjacent triangles?


truss_2021Dec30c.gh (63.2 KB)

P.S. The yellow group below creates a single polyline connecting the Area ‘C’ (Centroid) points, though I doubt it’s what you have in mind?


truss_2021Dec30d.gh (65.4 KB)