We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6f3cda commit 14fd201Copy full SHA for 14fd201
src/emc/usr_intf/touchy/touchy.py
@@ -258,7 +258,10 @@ def __init__(self, inifile):
258
units=self.ini.find("TRAJ","LINEAR_UNITS")
259
260
if units==None:
261
- units=self.ini.find("AXIS_X","UNITS")
+ # complain to user
262
+ print("No [TRAJ]UNITS INI file entry, assuming inch")
263
+ # Regrettably this has always been the default
264
+ units = "inch"
265
266
if units=="mm" or units=="metric" or units == "1.0":
267
self.machine_units_mm=1
0 commit comments