How to flip lines and curves so they're in a counter-clockwise loop

There are 2 curves and 2 lines, I want to flip them so they’re in a counter-clockwise loop。

I know I can do it manually, but I want to do it automatically. (2.4 KB)

the easiest way might be to just join them, so they all share one direction, flip them if the direction is wrong, and explode the result

1 (8.9 KB)

note that each of your circular curves are composed of two arcs joined together

1 Like

Here are some options, without exploding the cure.

I wasnt too sure if you wanted the curve direction to change, or the order, so I have included options for both. Together with native grasshopper, and python alternatives.
1 (22.8 KB)

1 Like