Sfoglia il codice sorgente

change default timeout
fix outname bug in drillcncjob

Kamil Sopko 9 anni fa
parent
commit
26a8b7347b
2 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 2 2
      tclCommands/TclCommand.py
  2. 1 1
      tclCommands/TclCommandDrillcncjob.py

+ 2 - 2
tclCommands/TclCommand.py

@@ -291,8 +291,8 @@ class TclCommandSignaled(TclCommand):
         it handles  all neccessary stuff about blocking and passing exeptions
     """
 
-    # default  timeout for operation is  10 sec, but it can be much more
-    default_timeout = 10000
+    # default  timeout for operation is  300000 sec, but it can be much more
+    default_timeout = 300000
 
     output = None
 

+ 1 - 1
tclCommands/TclCommandDrillcncjob.py

@@ -78,4 +78,4 @@ class TclCommandDrillcncjob(TclCommand.TclCommandSignaled):
             job_obj.gcode_parse()
             job_obj.create_geometry()
 
-        self.app.new_object("cncjob", name, job_init)
+        self.app.new_object("cncjob", args['outname'], job_init)