Skip to content

Commit

Permalink
don't do the cool down if target bed temp is above configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
pellcorp committed Dec 13, 2024
1 parent ab61e8f commit 2566c08
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion k1/start_end.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ variable_carto_touch_retries: 20
variable_carto_touch_samples: 3
# where not using cartotouch what to heat nozzle to just before oozing
variable_start_preheat_nozzle_temp: 150
# whether to do cooldown routine in END_PRINT
variable_end_print_cool_down: False
variable_end_print_cool_down_nozzle_temp: 40.0
# if target bed temp is above this the cool down is skipped
variable_end_print_cool_down_max_bed_temp: 85.0
gcode:

[gcode_macro _CLIENT_VARIABLE]
Expand Down Expand Up @@ -153,6 +156,8 @@ gcode:
{% set enable_disable_filament_sensor = printer["gcode_macro _START_END_PARAMS"].enable_disable_filament_sensor %}
{% set end_print_cool_down = printer["gcode_macro _START_END_PARAMS"].end_print_cool_down %}
{% set end_print_cool_down_nozzle_temp = printer["gcode_macro _START_END_PARAMS"].end_print_cool_down_nozzle_temp|float %}
{% set end_print_cool_down_max_bed_temp = printer["gcode_macro _START_END_PARAMS"].end_print_cool_down_max_bed_temp|float %}
{% set current_bed_temp = printer.heater_bed.temperature %}

_CLIENT_RETRACT
{% if bed_warp_stabilisation %}
Expand All @@ -173,7 +178,7 @@ gcode:

M84 # motors off

{% if end_print_cool_down %}
{% if end_print_cool_down and current_bed_temp < end_print_cool_down_max_bed_temp %}
SET_FAN_SPEED FAN=chamber SPEED=0
SET_FAN_SPEED FAN=auxiliary SPEED=1
SET_FAN_SPEED FAN=part SPEED=1
Expand Down

0 comments on commit 2566c08

Please sign in to comment.