https://ellis3dp.com/Print-Tuning-Guide/articles/useful_macros/pause_resume_filament.html#resume
the line that reads:
{% if printer[printer.toolhead.extruder].temperature >= printer.configfile.settings.extruder.min_extrude_temp %}
seems to decide its execution path right when "resume" is run, rather than after the extruder is done heating up. probably something to do with buffering gcode commands?
I tried adding an m400 to wait for buffer to clear but that didn't seem to have any effect.
we just waited for the hotend to reach the temperature of etemp so we can assume printer[printer.toolhead.extruder].temperature ≈ etemp
with this assumption, we can just compare against etemp instead, which fixed the issue in my testing.
https://ellis3dp.com/Print-Tuning-Guide/articles/useful_macros/pause_resume_filament.html#resume
the line that reads:
{% if printer[printer.toolhead.extruder].temperature >= printer.configfile.settings.extruder.min_extrude_temp %}seems to decide its execution path right when "resume" is run, rather than after the extruder is done heating up. probably something to do with buffering gcode commands?
I tried adding an m400 to wait for buffer to clear but that didn't seem to have any effect.
we just waited for the hotend to reach the temperature of
etempso we can assumeprinter[printer.toolhead.extruder].temperature≈etempwith this assumption, we can just compare against
etempinstead, which fixed the issue in my testing.