I am trying to write a gcode file with command lines and it doesn't seem to work, I can open a stl model and the settings file by using this command line: pycamGUI -config "C:\Test\set\Settings.conf" "C:\Test\Pycam.stl" but when I try to write the task in a gcode file by using this command line: pycamGUI -config "C:\Test\set\Settings.conf" -task 1 "C:\Test\Pycam.stl" "C:\Test\try.ngc" it doesn't work. I tried several other combinations still no result.
Any help would be appreciated and thanks again for this awesome program!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
PyCAM's commandline handling is still not as powerful, as I imagine it for the future. Currently the task files are only handled by the GUI and are ignored in batch mode.
Thus you need to specify all the details of an operation via the other parameters ("tool-..", "process-…" and so on). Additionally you need to specify one of the "export" parameters. Probably you will want to add something like "-export-gcode=toolpath.ngc". PyCAM will start the GUI if no "export" parameter is provided.
Just as a warning - in case you want to create some kind of automated system based on PyCAM's commandline: the upcoming release v0.6 will not support the batch mode. Its successor (v0.6.1 - planned for October) will include this feature again, but the syntax will probably change significantly. Thus you should probably not put too much work into it for now.
I hope this helps,
Lars
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for your quick answer it helps a lot. I had just one last question, I was wondering if the other paramaters that you have mentionned are ajustable through command lines and if it's possible where I could find more informations on this, as right now the only informations about commandlines that I could find are on this page https://sourceforge.net/apps/mediawiki/pycam/index.php?title=CommandlineExamples
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry to bother you again Lars but unfortunately the argument -help doesn't work maybe it's because I use the standalone version. Can you tell me the source file where I can get more information on this or better just copy paste me the help instructions of this command.
Thanks in advance!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
you are not bothering me - don't worry :)
I am a little bit confused, that the "-help" parameter does not work, as it should.
Anyway, I uploaded the output of the manpage: http://pycam.sourceforge.net/pycam.1.html
cheers,
Lars
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I am trying to write a gcode file with command lines and it doesn't seem to work, I can open a stl model and the settings file by using this command line: pycamGUI -config "C:\Test\set\Settings.conf" "C:\Test\Pycam.stl" but when I try to write the task in a gcode file by using this command line: pycamGUI -config "C:\Test\set\Settings.conf" -task 1 "C:\Test\Pycam.stl" "C:\Test\try.ngc" it doesn't work. I tried several other combinations still no result.
Any help would be appreciated and thanks again for this awesome program!
Hi zealot,
PyCAM's commandline handling is still not as powerful, as I imagine it for the future. Currently the task files are only handled by the GUI and are ignored in batch mode.
Thus you need to specify all the details of an operation via the other parameters ("tool-..", "process-…" and so on). Additionally you need to specify one of the "export" parameters. Probably you will want to add something like "-export-gcode=toolpath.ngc". PyCAM will start the GUI if no "export" parameter is provided.
Just as a warning - in case you want to create some kind of automated system based on PyCAM's commandline: the upcoming release v0.6 will not support the batch mode. Its successor (v0.6.1 - planned for October) will include this feature again, but the syntax will probably change significantly. Thus you should probably not put too much work into it for now.
I hope this helps,
Lars
Hello Lars,
Thanks for your quick answer it helps a lot. I had just one last question, I was wondering if the other paramaters that you have mentionned are ajustable through command lines and if it's possible where I could find more informations on this, as right now the only informations about commandlines that I could find are on this page https://sourceforge.net/apps/mediawiki/pycam/index.php?title=CommandlineExamples
Hi zealot,
oh - you are right, the page is slightly outdated.
Just run PyCAM with the "-help" argument - this will give you the complete list of options.
cheers,
Lars
Sorry to bother you again Lars but unfortunately the argument -help doesn't work maybe it's because I use the standalone version. Can you tell me the source file where I can get more information on this or better just copy paste me the help instructions of this command.
Thanks in advance!
Hi zealot,
you are not bothering me - don't worry :)
I am a little bit confused, that the "-help" parameter does not work, as it should.
Anyway, I uploaded the output of the manpage: http://pycam.sourceforge.net/pycam.1.html
cheers,
Lars
Thank you very much, it's exactly what I was looking for.