In the latest version of myCNC, we have added the following option to facilitate tool changes in programs using both G20 (imperial) and G21 (metric) systems:

The G20/G21 Handler (currently in the Experimental stage) allows myCNC to store the units (mm or inches) that the G-code control program is using at the moment that the tool change macro is launched. After the tool change macro is initiated, it will then use the default dimensions selected for the user profile (for example, if inches are selected in G-codes settings, then all dimensions for the tool change will be in inches). At the end of the tool change macro, the current G20/G21 value is then restored.

Additionally, the following fixes have been added:

  • Fixed the 3D visualization incorrectly displaying visual program dimensions in millimeters instead of inches despite inches being selected in Config > Screen.
  • Fixed the button to toggle the 3D program dimensions on and off

Stay tuned for further updates!