Looking for documentation on Gcode post-processing
Hello,
I am using the CuraEngine slicer in Repetier to drive a Printrbot, and I would like to always remove one specific line of Gcode from the output of the slicer.
I understand that this can be done using Printer Settings > Advanced > Post Slice Filter.
Where can I find some documentation on how to use this feature ? And more specifically, how would one remove a specific line number ?
- - - - -
On a side note it would be great for the application to provide least a link to some documentation on how to use the feature. At the moment it just says "You can run a filter program after each slicing action", but doesn't explain anything at all on how to do so. Is this an .exe ? Some Python script ? Something else altogether ?
Of course I understand that this may seem like common knowledge for expert users, and I also understand that some users enjoy the process of hunting around for the info. But in my opinion the application itself should do its best to point the user to relevant resources.
Thanks !
I am using the CuraEngine slicer in Repetier to drive a Printrbot, and I would like to always remove one specific line of Gcode from the output of the slicer.
I understand that this can be done using Printer Settings > Advanced > Post Slice Filter.
Where can I find some documentation on how to use this feature ? And more specifically, how would one remove a specific line number ?
- - - - -
On a side note it would be great for the application to provide least a link to some documentation on how to use the feature. At the moment it just says "You can run a filter program after each slicing action", but doesn't explain anything at all on how to do so. Is this an .exe ? Some Python script ? Something else altogether ?
Of course I understand that this may seem like common knowledge for expert users, and I also understand that some users enjoy the process of hunting around for the info. But in my opinion the application itself should do its best to point the user to relevant resources.
Thanks !
Comments
One easy solution as alternative is install repetier-server and print over the server. The server printer config->gcodes->replacements allow to define regular expressions that gets replaced by an alternative or nothing. So just add the line you need removed and that line will never get printed.
First of all thank you for such a quick answer, that's appreciated.
I would say that even though it involves some advanced technical knowledge, your explanation of the process has the merit of being much more clear and definitive than the vague text from the UI (which makes it sound like there is some information missing).
So basically if I understand you correctly, Repetier handles the passing of the source gcode to any third party application, and then gets the result back. Sounds like something one could do with a Python script, right ?