Orientation of the axes

In every G-code dialect, the letters for rotation are assigned as follows:

  • A → Rotation around X
  • B → Rotation around Y
  • C → Rotation around Z

Accordingly, in the standard configuration, the orientation value A specified in the G-code is mapped to RotX, B to RotY and C to RotZ in the SRL program.

The angles are Euler angles. The sequence of the rotation is RotZ, RotY, and RotX. The first rotation takes place around a spatially-fixed axis; the other two around previously rotated axes.

If the orientation of the axes needs to be changed, the assignment of the address letters A, B, C can be modified in the Address characters tab of the manual G‑code import dialog, e.g. mapping A to C, B to B, and C to A. The new assignment is automatically taken into account during import and export.