Assembly4 Master sketch problem:
I have created a very simple model of an engine crankshaft - no parts or bodies yet - just an Assembly4 model with variables and a master sketch with one line from the origin to a point 23 mm radius on the YZ plane, 30 deg acw from the Y axis. The crankshaft rotates about the X axis and the Z axis is vertical. Hence the master sketch is on the YZ plane.
The variables are Angle_crank = 30 deg and R_main = 23 mm.
I selected the master sketch and in Map Mode I selected LCS_Origin as the attachment with mode Object's YZ plane. In the master sketch the new Z axis is along the line from the origin.
I then selected the model, created a new coordinate system LCS_crank with first attachment 'Vertex' - 'Sketch_master:Vertex1' and second attachment 'Line' - 'Sketch_master:Edge1' with mode 'Align O-Z-Y'.
When animated the line rotates as it should in the YZ plane but the axes swap over as the new Y axis passes the old Z axis.
If I follow the same process with the sketch on the XY plane, everything works perfectly. However, with the sketch in the YZ plane, It doesn't work.
What am I doing wrong?
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21097 (Git)
Build type: Release
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/New Zealand (en_NZ)