What's New In The 3D Printer World
How to Install a Post Processing Scripts in Cura 3.2.1
A PostProcessingPlugin Script is an easy way to modify gcode before it gets written onto disk.
A Python script is executed and handed over the full gcode.
The script is expected to return a gcode as a list of lines.
Here is how you do it.
Find where your configuration folder is.
1. Click Help menu item.
2. Click "Show Configuration Folder".
3. Find the folder call "scripts".
If you don't see one create one in the configuration folder.
4. Place the python script (with file extension .py) into the script folder.
5. Restart Cura.
That’s all.
Now you should be able to see the newly added post processing script
1. Click Extensions -> Post Processing -> Modify G-Code
2. Click “Add a script”
3. The newly added script name should appear in the dropdown list
Comments 5
Hi, Thanks for the valuable info.
I have been using Simplify3D with its custom post processing section like this;
{REPLACE "; layer 2," ";layer 2\nM160 S0\nM42 P6 S255\n"}
What I want to do is; Starting @ layer 2, Turn off the heated bed, Turn on the external mosfet for the part cooling (using the internal mosfet of the RAMPS 1.4 for hot-end cooling, where it gets turned off by Marlin when temp gets lower than 50ºC at the end of the print)
Is there a script or some plugin I can use to do this?
The "Search and Replace" Post processing script option seems to have amnesia in Cura 3.2.1 !!
I would like to ditch S3D as it's starting to bug the hell out of me with it's inferior G-Code generation.
I love the G-Code generated by Cura but have to go in after the file has been saved, and do the search and replace manually using notepad++ which is also a pain.
Thanks.
Unfortunately Cura 3.2.1 indeed has amnesia about post processing script settings and currently there's no way to save them at all.
One option would be to write a simple post processing script that only does what you described. But even in this case you have to go and enable the script each time you start cura. (if you need help with this let me know...)
Other option could be to write octoprint plugin if you use octoprint but honestly I have zero experience in octoprint plugins and how they behave...
Thanks for the reply.
I found the exact problem ans possible solution. Here is the link if it could help others.
https://github.com/Ultimaker/Cura/issues/3627#issuecomment-379245625
I have to try it, but notice that the problem is not exactly in Cura, but rather in Uranium.