Skip to content

in resume macro, "if" statement executes too early, doesn't always purge #174

@Vykori

Description

@Vykori

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].temperatureetemp
with this assumption, we can just compare against etemp instead, which fixed the issue in my testing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions