Direction of Planar Curve Nurbs

Good evening,

I am having a super annoying issue that I just can’t solve, although it seems so simple.
I am having a curve, that I joined from two nurbs. I offset them and it works fine.
Then I cut the curve apart and offseted it again and one part changed the direction.
I tried all kinds of flipping but nothing seems to work.

Since the code is very long, I only included the important parts to see the issue. And marked the important parts red.
Thank you for any help.

chair (29.8 KB)

Hi Kai,
One way to overcome this issue is to use a reference plane.