mirror of
https://github.com/bassamanator/Sovol-SV06-firmware.git
synced 2025-11-08 21:41:15 +00:00
Avoid cooling down the extruder in PRINT_START
The current `PRINT_START` macro heats the extruder to 150 degrees, then to 170, and finally to the target temperature. If the extruder is already hot, this unnecessarily cools it down and wastes time. This change only cools down the hotend if it's above the target temperature and then only to that temperature. If the extruder was colder than 150 degrees, this change maintains the current behaviour.
This commit is contained in:
@@ -136,8 +136,8 @@ gcode:
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% set bedtempAlmost = (bedtemp - 2, 0)|max %}
|
{% set bedtempAlmost = (bedtemp - 2, 0)|max %}
|
||||||
{% set hotendtempStepOne = 150|int %}
|
{% set hotendtempStepOne = ((hotendtemp, printer[printer.toolhead.extruder].temperature|int)|min, 150)|max %}
|
||||||
{% set hotendtempStepTwo = 170|int %}
|
{% set hotendtempStepTwo = ((hotendtemp, printer[printer.toolhead.extruder].temperature|int)|min, 170)|max %}
|
||||||
|
|
||||||
BED_MESH_PROFILE LOAD=default ; NOTE if not using a mesh, comment out this line
|
BED_MESH_PROFILE LOAD=default ; NOTE if not using a mesh, comment out this line
|
||||||
ADJUST_FILAMENT_SENSOR_STATUS ENABLE=1
|
ADJUST_FILAMENT_SENSOR_STATUS ENABLE=1
|
||||||
|
|||||||
Reference in New Issue
Block a user