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

- applied the fix for above bug to the TclCommand Drillcncjob too

Marius Stanciu 6 лет назад
Родитель
Сommit
e3be6ff22f
2 измененных файлов с 4 добавлено и 0 удалено
  1. 1 0
      README.md
  2. 3 0
      tclCommands/TclCommandDrillcncjob.py

+ 1 - 0
README.md

@@ -13,6 +13,7 @@ CAD program, and create G-Code for Isolation routing.
 
 - optimized the Paint and NCC Tools. When the Lines type of painting/clearing is used, the lines will try to arrange themselves on the direction that the lines length clearing the polygon are bigger
 - solved bug that made drilling with Marlin preprocessor very slow
+- applied the fix for above bug to the TclCommand Drillcncjob too
 
 8.02.2020
 

+ 3 - 0
tclCommands/TclCommandDrillcncjob.py

@@ -185,7 +185,10 @@ class TclCommandDrillcncjob(TclCommandSignaled):
             opt_type = args["opt_type"] if "opt_type" in args and args["opt_type"] else 'B'
 
             job_obj.z_move = args["travelz"] if "travelz" in args and args["travelz"] else obj.options["travelz"]
+
             job_obj.feedrate = args["feedrate"] if "feedrate" in args and args["feedrate"] else obj.options["feedrate"]
+            job_obj.z_feedrate = args["feedrate"] if "feedrate" in args and args["feedrate"] else \
+                obj.options["feedrate"]
             job_obj.feedrate_rapid = args["feedrate_rapid"] \
                 if "feedrate_rapid" in args and args["feedrate_rapid"] else obj.options["feedrate_rapid"]