Purge check: stop an infinite spool swap when the check fails
An AFC swap pauses and resumes the file without the PAUSE and RESUME macros and only stops on AFC's own error state. A failed check called PAUSE, so the swap went on and restarted the print while the printer counted as paused. During a swap (file paused, pause_resume not paused) the check now raises an error at the end of BLOBIFIER_CHECKED, after the temperature and sensor cleanup. CHANGE_TOOL catches it and pauses through AFC_error. AFC's remap is skipped, so the message names the SET_MAP command. Other failed checks still call PAUSE. Read from AFC 5ea84ea and Klipper 0cee841; render tests only, not yet run on the printer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b415cbebf4
commit
19c70ebeb8
2 files changed
+36
-1
No files matched your search
@@ -62,6 +62,10 @@ detection, `filament_error_sensitivity`), iHeater chamber heater.
|
||||
calls `_BED_CHECK_RETRY`, which sets the print file back to the `PRINT_START`
|
||||
line (`M26`) and resumes. Everything after the check belongs in
|
||||
`_PRINT_START_FINISH`: a pause does not stop a running macro.
|
||||
- An AFC infinite spool swap pauses and resumes the file without the PAUSE and
|
||||
RESUME macros and only stops on AFC's own error state, so PAUSE cannot stop it.
|
||||
During a swap `print_stats.state` is paused with `pause_resume.is_paused` False;
|
||||
a failed purge check then raises an error (`_PURGE_CHECK_SWAP_STOP`).
|
||||
- Only one `[save_variables]`, in `macros/save_variables.cfg`.
|
||||
- PA values are saved per nozzle and spool (`pa_value_0_4_spool_<id>`), the fitted
|
||||
size in `pa_nozzle` (`SET_NOZZLE`). The slicer's `NOZZLE=` on `PRINT_WARMUP` must
|
||||
|
||||
Reference in new issue
Block a user