Fix pause/resume chain, shared print cleanup, add CLAUDE.md

- RESUME is defined only in print/pause_resume.cfg; heat_soak.cfg's
  duplicate replaced it (no unretract, no fan restore). It now runs
  HEAT_SOAK_RESUME -> _RESUME_PRINT -> RESUME_BASE.
- PAUSE runs PAUSE_BASE first, then retracts and parks once (X20 Y345);
  a parked flag makes resume undo only what PAUSE did.
- New _PRINT_CLEANUP shared by PRINT_END and CANCEL_PRINT: heaters incl.
  iHEATER_OFF, fan, M221 S100, bdwidth off, mesh and skew cleared.
  In PRINT_END it runs after RESTORE_GCODE_STATE so the flow reset sticks.
- Add CLAUDE.md and tools/effective_config.py.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mangavalkandClaude Opus 5.5 committed 2026-10-10 15:20:28 +02:00
1 parent eaf9c82617
commit 9dc733b5bb
7 files changed
+245 -85

No files matched your search

+4 -5
View File
@@ -5,9 +5,8 @@
#
# [include klipper-macros/klipper-macros.cfg]
#
# Comment out what you do not use. Keep the order where noted: some
# macros (PAUSE, RESUME, CANCEL_PRINT) are defined in more than one file
# and the last definition wins.
# Comment out what you do not use. Every macro is defined in exactly one
# file: Klipper merges sections with the same name and the last one wins.
#####################################################################
[include save_variables.cfg] # the one [save_variables] for all macros
@@ -16,7 +15,7 @@
[include blobifier/blobifier.cfg]
# Printing
[include print/pause_resume.cfg] # before heating/heat_soak.cfg
[include print/pause_resume.cfg]
[include print/filament.cfg]
[include print/homing.cfg]
[include print/idle_timeout.cfg]
@@ -25,7 +24,7 @@
# Heating
[include heating/bed_fans.cfg]
[include heating/chamber_iheater.cfg]
[include heating/heat_soak.cfg] # its RESUME wraps the one above
[include heating/heat_soak.cfg]
[include heating/soak_my_bed.cfg]
[include heating/filament_drying.cfg]