The angle of the outline modifier caps was computed in a [-pi, +pi) interval, but this creates an unstable situation for angles close to 180. Small variation can lead the angle to flip from +180 to -180 and change the direction of the semi-circle. Instead generate arcs always in counter-clockwise direction and use angles in the [0, 2pi) intverval. This creates stable directions for end caps and also allows larger arcs where necessary. Pull Request: https://projects.blender.org/blender/blender/pulls/119122