Move toolhead to center always before bed heating

This commit is contained in:
Zach Schimke 2021-12-07 20:58:49 -07:00
parent 123f56f356
commit fe6e07d734
1 changed files with 2 additions and 1 deletions

View File

@ -29,10 +29,11 @@ gcode:
# Perform a G28 'home' (if needed)
SMARTHOME
G0 X{mid_x} Y{mid_y} Z10 F20000
# Check to see if we need more time preheating the bed, if so
{% if printer.heater_bed.temperature < params.T_BED|float*0.85 %}
M117 Heating bed to 85%
G0 X{mid_x} Y{mid_y} Z10 F20000
M106
M190 S{params.T_BED|float*0.85}
{% endif %}