Cset Tree Structure Problems

unhandled

(Megacharizardon) #1

Hello,

I have made a set of points created from intersections. I need to group and sort these points by their X coordinate, and connect them together using lines so I can loft them.

I have attempted to use CSet and MIndex to group the points with the same index, but it runs into problems with 2 or more distinct branches. The second branch loft correctly, but the first one seems to group the first set x coordinate in the first list, but uses the second branch x coordinates after. Have I set the structure correctly?

pipe weave path help.gh (26.9 KB)


(Amir Touhidi) #2

Edit: keeping the two branches separate:

pipe weave path help_re2.gh (11.8 KB)

This should do it, no? do you need the two branches separated?

pipe weave path help_re.gh (11.5 KB)


(Megacharizardon) #3

Thank you so much! I needed those branches separated.
This should work as long as the points were sorted in the proper x y z vector.