New custom g-code only for Single extruder printers?

#1
Hey everyone,

While going through the YouTube slic3r tutorial videos I noticed that the new custom g-code Gordon mentions only shows up if you select the "Single 0.35..." or "Single 0.5..." printers. None of the "Dual -..." printers in the slic3r config bundle has this new g-code.

For example, selecting the "Single 0.5..." printer shows the following custom g-code:

Start G-Code

Code:
G28 ; home all axes
G1 Z5 F5000; Raise nozzle
M109 S[first_layer_temperature]; Heat to first layer temp
G1 F5000 X210 Y210 Z1; Move print head to center and lower to first layer height
End G-code

Code:
M104 S0 ; turn off temperature
G28 X0  ; home X axis
G28 Y0  ; home X axis [seems to be a typo here.  Should read "home Y axis"]
M84     ; disable motors
But with the "Dual - 0.5mm and 0.5mm..." printer selected, you see this:

Start G-code

Code:
G28 ; home all axes
End G-code

Code:
M104 S0 ; turn off temperature
G28 X0  ; home X axis
M84     ; disable motors
Any reason this code shouldn't work for the dual extruder versions?

Thanks,

Doug
 
#2
Hi Doug,

This custom g-code will work for dual extruders.

Start g-code:

Code:
M104 S[first_layer_temperature_0] T0; set 1st nozzle heater to first layer temperature
M104 S[first_layer_temperature_1] T1; set 2nd nozzle heater to first layer temperature
G28 ; home all axes
G1 Z5 F5000; Raise nozzle
M109 S[first_layer_temperature_0] T0; set 1st nozzle heater to first layer temperature
M109 S[first_layer_temperature_1] T1; set 2nd nozzle heater to first layer temperature
G1 F5000 X210 Y210 Z1; Move print head to center and lower to first layer height
End g-code:

Code:
M104 S0 T0 ; turn off temperature 1st nozzle.
M104 S0 T1 ; turn off temperature 2nd nozzle.
G28 X0  ; home X axis
G28 Y0  ; home Y axis
M84     ; disable motors