The clockwise flag from NX extractor can be inverted depending on face normal orientation. The sampled mid-point is always reliable. Now _arc_angles checks which direction (CW vs CCW) passes through the mid-point and uses that.