We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c27238b commit e79d9f4Copy full SHA for e79d9f4
1 file changed
src/emc/usr_intf/pncconf/build_INI.py
@@ -165,6 +165,14 @@ def write_inifile(self, base):
165
print("SUBROUTINE_PATH = ./:../../nc_files", file=file)
166
print("USER_M_PATH = ./:../../nc_files", file=file)
167
print("", file=file)
168
+ else:
169
+ if self.d.units == _PD._METRIC:
170
+ unit = 21
171
+ p = .025
172
173
+ unit = 20
174
+ p =.001
175
+ print ("RS274NGC_STARTUP_CODE = G{} G40 G90 G94 G97 G64 P{}".format(unit,p), file=file)
176
177
#base_period = self.d.ideal_period()
178
0 commit comments