Another Sort Along Curve puzzle

Hello, I’m new here. I’m a bit stuck trying to sort Brep edges in order to assign geometries for steel parts (later in the script).
The surfaces (below) have edges ordered according to the curve direction I think - so I’ve attempted to get a vector perp to curve direction in order to then align a plane for a centered circle start point at every tread surface. I’m missing something… the ordering of edges isn’t responding to the curve direction of the circle guide curve.

I think I’ve seen @Joseph_Oster is a master of (AlongCurve) so hoping to get some help here.
sort_edges_help.gh (33.2 KB)

this might be one way:

sort_edges_help_Re.gh (35.8 KB)

fantastic! thank you. I knew a vector would help somehow…

1 Like