Просмотр исходного кода

- added a pause and message/warning to do a rough zero for the Z axis, in case of Toolchange_Probe_MACH3 postprocessor file

Marius Stanciu 7 лет назад
Родитель
Сommit
8cedc0cad9
2 измененных файлов с 4 добавлено и 0 удалено
  1. 1 0
      README.md
  2. 3 0
      postprocessors/Toolchange_Probe_MACH3.py

+ 1 - 0
README.md

@@ -18,6 +18,7 @@ CAD program, and create G-Code for Isolation routing.
 - adjusted the Toolchange Manual postprocessor file to have more descriptive messages on the toolchange event
 - adjusted the Toolchange Manual postprocessor file to have more descriptive messages on the toolchange event
 - added a strong focus to the object_name entry in the Selected tab
 - added a strong focus to the object_name entry in the Selected tab
 - the keypad keyPressed are now detected correctly
 - the keypad keyPressed are now detected correctly
+- added a pause and message/warning to do a rough zero for the Z axis, in case of Toolchange_Probe_MACH3 postprocessor file
 
 
 9.02.2019
 9.02.2019
 
 

+ 3 - 0
postprocessors/Toolchange_Probe_MACH3.py

@@ -60,6 +60,9 @@ class Toolchange_Probe_MACH3(FlatCAMPostProc):
         gcode += 'G90\n'
         gcode += 'G90\n'
         gcode += 'G17\n'
         gcode += 'G17\n'
         gcode += 'G94\n'
         gcode += 'G94\n'
+        gcode += '(MSG, WARNING: Make sure you do zero on all axis. ' \
+                 'For Z axis, since it will be probed, make a rough estimate and do a zero.)'
+        gcode += 'M0'
 
 
         return gcode
         return gcode