Axis directions in CNC editor not using right-hand rule?

bertus
2026-01-02
2026-01-08
  • bertus - 2026-01-02

    Hello,

    Coming from robotics, I'm used to coordinate systems using the right-hand rule.
    But when I created below small NC program in the Codesys CNC editor, I noticed that the axis triad's Z-axis is flipped (see attached screenshot), resulting in left-hand rule.

    Is there a setting to change this? Or am I misunderstanding something in the CNC world?

    N000 G00 X0 Y0 
    N010 G01 X100 
    N020 G01 Y50 
    N030 G01 X0 
    N040 G01 Y0 
    N050 G01 Z25 
    
     

    Last edit: bertus 2026-01-02
  • gseidel - 2026-01-07

    Hi bertus,

    the coordinate systems used in SoftMotion CNC are all right-handed.

    The CNC editor uses isometric projection. This can be confusing, as in your example. The y-axis seems to point into the screen, away from the viewer. However, this is just an optical effect.

    If you turn on the (experimental) perspective projection (must be added to the CNC tool bar using tools->customize), you can see that the coordinate system is in fact right-handed.

    Best regards,

    Georg

     
    πŸ‘
    1
    • bertus - 2026-01-08

      Ok that explains things, thanks.

       

Log in to post a comment.