What's New In The 3D Printer World

1 minute reading time (137 words)
Featured 

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

 

Tronxy X5S to X5SA Upgrade kit installation
Flashing Tronxy X5S Factory Control board USB Cabl...
 

Comments 5

Guest - Mai Mariarti on Tuesday, 17 April 2018 23:33

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.

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. ;)
Csaba Garay on Wednesday, 18 April 2018 02:49

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...

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...
Guest - Mai Mariarti on Wednesday, 18 April 2018 06:39

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.

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.
Csaba Garay on Wednesday, 18 April 2018 15:42

My understanding was that this feature (saving state of post processing plugins) is missing from 3.2.1.
Great to hear it is supposed to be in 3.3 beta and being fixed.
I don't feel quite ready to jump on the beta version though just yet...

My understanding was that this feature (saving state of post processing plugins) is missing from 3.2.1. Great to hear it is supposed to be in 3.3 beta and being fixed. I don't feel quite ready to jump on the beta version though just yet...
Guest - Mai Mariarti on Wednesday, 18 April 2018 16:28

I tried the 3.3Betta and its very buggy for now.
I'll have to Endure and make the changes manually for now.
Maybe I'll mess with it more when I have some spare time to kill. Beats watching TV (shit box)

I tried the 3.3Betta and its very buggy for now. I'll have to Endure and make the changes manually for now. Maybe I'll mess with it more when I have some spare time to kill. Beats watching TV (shit box) ;)
Already Registered? Login Here
Guest
Sunday, 22 December 2024

To keep the site live and make improvements Please consider Donating. Thank you for your donation.