Hi, I'm importing the attached STEP file. The result ought to be a circularly trimmed plane, translated along its normal vector by 2.0 units. But actually the plane's normal is still pointing along the z axis, but the translation is done along the x axis!
In line 104 of test.stp, the translation is defined
After importing the STEP file in OCC, I took a look at the transformations. The plane's root compound shape reports as the translational part of its TopLoc_Location
Position(-2, -0, -0)
the TopLoc_Location's rotation matrix on the other hand has rows
Row 1(1, 0, 0)
Row 2(0, 1, 0)
Row 3(0, 0, 1)
So obviously the directions x and z are not swapped.
The TopLoc_Location contains only a single Datum3d object and the coumpound shape has no superior node, which could be responsible for a xz-swap.
When I re-export the file from Open CASCADE to STEP again, it prompts a line
#16 = CARTESIAN_POINT('',(-2,,0,E+000,0,E+000));
Rhino3d and other CAD programs are correctly importing the file (resulting in a circular trimmed plane, translated along it's normal vector by 2.0 units)