poweed
Posts: 2
Joined: Thu Apr 04, 2019 8:01 pm

Turn off support material nozzle when done using

I am trying to figure out an additional terminal command to run for post-processing that will allow me to turn off tool T0's heater (M104 T0 S0) right before the very last tool change over to T1. I want to do this because the material I am using for support material (E3D Scaffold) does not really like to sit in a hot nozzle for 3 hours, and ends up becoming hard and crusty and plugging up the print head. Is there a way to accomplish this in simplify3D? Currently, I manually open the file after saving the gcode, find the second to last instance of "T1" (the last instance of T1 is when I turn off the heater for T1 at the end of the print) and insert the M104 T0 S0 line right above it.

Any help is appreciated.
B-H-S
Posts: 39
Joined: Tue May 15, 2018 2:49 pm

Re: Turn off support material nozzle when done using

cant you do this in layer / temp settings I do what you do edit the code direct but I also do the temp to 0 at a given layer ???
gearsawe
Posts: 233
Joined: Sun Sep 10, 2017 11:06 pm

Re: Turn off support material nozzle when done using

So I use the "replace"
first split the process at the point you wish to turn off
rename your process which will turn off T0 to something like "process-T0_OFF"

in the "scripts" tab under "additional terminal commands for pose processing"
add the line

{REPLACE "-T0_OFF" "-T0_OFF\nM104 T0 S0"}


so now it will replace the comment
; process Process2-T0_OFF
to
; process Process2-T0_OFF
M104 T0 S0

The nice thing about this is it is Layer independent. Just split the process. add -T0_OFF to the name and that is it. just keep the replace in the scripts. I do this with pause command and don;t worry about trying to find a layer number any more. and if I change the layer height I don't have to find the new layer.

Return to “Troubleshooting and Bug Reports”