All macros now come from this repo. bd_pressure.cfg ([bdpressure bd_pa] and the vendor PA_CALIBRATE macros) and Macros/TEST_SPEED.cfg were loose files in ~/printer_data/config. PA_CALIBRATE no longer sets Z back to z_current at the end: it was read before the test ran, so a Z hop in the G28 XY (Beacon home_z_hop) would leave Klipper believing the nozzle is lower than it is. Z is never switched off or moved by the test, so it keeps its position without that line. The ACC_WALL bug (read from ACCEL_TO_DECEL, always 4000) is documented, not fixed: the cached PA values were measured at 4000. printer.cfg must drop [include bd_pressure.cfg] and Macros/macros.cfg its TEST_SPEED include, else the old copies (included later) still win. Reference values from the load-check-afc branch and from the guard and Z check tests added to CLAUDE.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
52 lines
1.9 KiB
INI
52 lines
1.9 KiB
INI
#####################################################################
|
|
# klipper-macros: include this one file from printer.cfg, after
|
|
# [include mainsail.cfg] (it needs [pause_resume], [virtual_sdcard] and
|
|
# [respond] from there, and replaces Mainsail's PAUSE/RESUME/CANCEL_PRINT)
|
|
# and after [include AFC/*.cfg] (bd_pa_spoolman.cfg renames AFC's
|
|
# SET_SPOOL_ID, which only works when AFC is loaded first):
|
|
#
|
|
# [include klipper-macros/klipper-macros.cfg]
|
|
#
|
|
# 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
|
|
[include messages.cfg] # _ERROR, _WARN: errors and warnings also on the display
|
|
|
|
# Blobifier purge bucket (Turtleblobifier for AFC, modified)
|
|
[include blobifier/blobifier.cfg]
|
|
|
|
# Printing
|
|
[include print/pause_resume.cfg]
|
|
[include print/filament.cfg]
|
|
[include print/nozzle_guard.cfg] # bd_pressure nozzle collision guard (needs extras/bdp_guard.py)
|
|
[include print/homing.cfg]
|
|
[include print/idle_timeout.cfg]
|
|
[include print/print_start_end.cfg]
|
|
[include print/test_speed.cfg] # TEST_SPEED: skipped-steps test
|
|
|
|
# Heating
|
|
[include heating/bed_fans.cfg]
|
|
[include heating/chamber_iheater.cfg]
|
|
[include heating/heat_soak.cfg]
|
|
[include heating/soak_my_bed.cfg]
|
|
[include heating/filament_drying.cfg]
|
|
|
|
# AFC (Box Turtle)
|
|
[include afc/xy_safety_check.cfg]
|
|
[include afc/lane_tools.cfg]
|
|
[include afc/purge_check.cfg]
|
|
[include afc/purge_until_empty.cfg]
|
|
|
|
# Pressure advance per lane/spool (bd_pressure + Spoolman)
|
|
[include pressure_advance/bd_pressure.cfg] # [bdpressure bd_pa] and the vendor PA_CALIBRATE macros
|
|
[include pressure_advance/bd_pa_spoolman.cfg]
|
|
|
|
# Spoolman
|
|
[include spoolman/active_spool.cfg]
|
|
|
|
# LEDs and sensors
|
|
[include leds/stealthburner_leds.cfg]
|
|
[include sensors/motion_sensor.cfg]
|