command ncc is not waiting
Hi,
if I run the successive commands in a script file:
open_gerber
ncc
cncjob
I get an error
ERROR: Object not found: Top_Tracks_NCC
while executing
"cncjob ..."
The script moves on to the next command while ncc
job is is still running and before the ncc plot exists
Many Thanks
Comments (11)
-
-
Ok. Added the option for the clear_copper() method to run non-threaded and use this on the ncc TcL command.
-
BTW, the cncjob TclCommand does not work with multi-geo geometries like the ones generated by the Paint Tool or NonCopperClear Tool.
-
reporter Thanks, working now.
What can I do with the multi-geo geometries to clear the copper?
-
Until the cncjob is fixed, for the TclCommands ncc and paint it is a deadend.
Fixing cncjob will take some time as it require some code refactoring. -
reporter Ok, Thanks will wait for the update.
-
Actually it went much faster than I expected. It’s done.
-
reporter wow, Thanks.
TclCommand
cncjob
does not use-outname
but does work
error in powershell, could be unrelated!
[ERROR][Dummy-13] Exception occurred within a postprocessor: Traceback (most recent call last):
File "C:\Temp\Winpython32-3.7.4.0\FlatCAM\jpcgt-flatcam-b67bec80521c\camlib.py", line 5637, in doformat2
returnvalue = fun(attributes)
File "postprocessors\grbl_laser.py", line 80, in end_code
gcode = ('G00 Z' + self.feedrate_format %(p.fr_decimals, p.z_end) + "\n")
TypeError: must be real number, not NoneType
-
Hi,
I did fixed the outname issue but regarding the error I need to know the exact steps you’ve done to create the issue (including the parameters you used). One easier way is to send me a Project file set with everything. You can attach it here.
-
Regarding the error in the post above, the reason is that you specified the endz argument liek this:
-endzwithout giving it a value like it is supposed:
-endz 30I took care of that for Tcl Commands cncjob and drillcncjob such that whenever the value is not given to the parameter it will be like the parameter was not used and the value used will be the one from the defaults (preferences window).
-
- changed status to resolved
Fixed in the latest commit.
- Log in to comment
Ok, I will add a non-threaded version. I forgot about that.