We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5473a9 commit 5324e63Copy full SHA for 5324e63
1 file changed
src/emc/usr_intf/pncconf/build_INI.py
@@ -109,6 +109,13 @@ def write_inifile(self, base):
109
print >>file
110
print >>file, "[RS274NGC]"
111
print >>file, "PARAMETER_FILE = linuxcnc.var"
112
+ if self.d.units == _PD._METRIC:
113
+ unit = 21
114
+ p = .025
115
+ else:
116
+ unit = 20
117
+ p =.001
118
+ print >>file, "RS274NGC_STARTUP_CODE = G{} G40 G90 G94 G97 G64 P{}".format(unit,p)
119
120
#base_period = self.d.ideal_period()
121
0 commit comments