Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't do the cool down if target bed temp is above configuration #320

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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