Thanks for your reply @Adam_M!
Sasquatch only works in Rhino 6, I’m still using Rhino 5.
The point order is important for me because part of my code is about labeling this closed curves, making use of aligned dimensions.
I do import my curves into GH from Rhino using a layer selector, so I can’t control the order which curves is going to be the first picked one, then ‘Flip Curve’ component selecting one of them as a “correct one” in terms of curve direction doens’t work for me, I tried it before.
See what I’m talking about:
The first closed curve is the correct one, because X and Y aligned dimensions are set on X in lower position (left to right/0 to 1) and Y right side (down to up/1 to 2). It’s because the point order is important por me.
Imagine a bunch of curves, all points not ordered, I have to flip or rotate manually on Rhino the “incorrect ones”, to get this type of reading.
I tried your definition but failied for me.
Thank you so much for your time, it’s helping me alot!