Slic3r PE Temperature Tower Macro
I've been trying to find a way to change temperatures at specific layer heights using Slic3r PE but haven't been able to do it except by editing the gcode file after I export it. I took the example from francesco.s in his post https://shop.prusa3d.com/forum/print-tips-slic3r-settings-kisslicer-model-repair--f12/bed-preheat-using-slic3r-pe-macros-t14357.html to create a macro that will change the temperature automatically.
I added this to the "After Layer change G-code" section of the Custom G-code printer settings but I suppose it could also go into the "Before layer change area" and work just the same. It does require that you know the exact layer height where you want to change the temperature but I just find the layer height I like in the Plater preview. The layer_z heights below are just examples.
{if layer_z ==5.00}M104 S200; change temp to 200C at layer height of 5.00mm{endif}
{if layer_z ==10.00}M104 S205; change temp to 205C at layer height of 10.00mm{endif}
{if layer_z ==15.00}M104 S210; change temp to 210C at layer height of 15.00mm{endif}
etc.....
I have not tried this on a print yet but I have verified it generates the correct gcode.
Re: Slic3r PE Temperature Tower Macro
It works. You just need to make sure you enter the actual layer heights that your g-code is printing at. If you use a 0.2mm 1st layer and then 0.15mm thereafter, your absolute layer heights for the temp transitions will not be nice round ones like 10mm, 15mm, 20mm, etc., but instead 9.95, 14.45, 19.95, etc. Thanks for the post! Very helpful for learning how to use the custom g-code feature in Slic3r PE.
Re: Slic3r PE Temperature Tower Macro
Thank you.
Such things should be more documented.
Re: Slic3r PE Temperature Tower Macro
Bringing back to life an old thread..
But has there been a more easy way for the ones of us that are newbies with this?
Wouldn't it be great to have a g-code file on the memory card from prusa with the printer? Then, when using new filaments I just could just run a tower-test and woopsie then I knew what settings to use..! 🙂