Page 1 of 1

Y coupling, two extruders, one nozzle and ending script

Posted: Tue Mar 10, 2020 6:14 am
by joshiegy
Hey all!
So I just got my self a Y coupling/Y merger and it works almost perfect. The only thing I want is for T0 to be loaded at the end of the print instead of random (since it's sometimes is T1 that is used last and so on).

I've found scripts for new_tool and old_tool, used in tool_change_script, but I want something like "if [current_tool] != T0".
Is that possible?

Re: Y coupling, two extruders, one nozzle and ending script

Posted: Wed Mar 11, 2020 3:19 am
by XoTT@6bI4
try this (for >= v4.1)

Code: Select all

{IF "[current_tool] != 0"}G1 E-[toolchange_retract_distance] F[toolchange_retract_speed]
{IF "[current_tool] != 0"}T0
{IF "[current_tool] != 0"}G1 E[toolchange_retract_distance] F[toolchange_retract_speed]