Move toolhead to center always before bed heating

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

View File

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