Files
klipper-macros/macros/klipper-macros.cfg
T
mangavalkandClaude Opus 5.5 61fa8acb05 Print start: contact homing, nozzle guard, Z check, purge before chamber heat
- HOME always homes Z with Beacon contact and recalibrates, also when the
  printer is already homed (home_method_when_homed = proximity used the
  model of an earlier print without touching the bed). PRINT_START homes
  Z again after QGL, before the brush takes the nozzle below Z0.
- _Z_CHECK: after the soak, compare Klipper's Z with a BEACON_QUERY
  reading at Z3 over the bed centre and stop the print above 1 mm.
  Warns and continues when BEACON_QUERY leaves no new
  printer.beacon.last_sample.
- Nozzle guard (extras/bdp_guard.py, print/nozzle_guard.cfg): reads the
  bd_pressure force over I2C every 20 ms while armed and, in stop mode,
  shuts Klipper down on a touch. Armed for HOME X/Y, QGL, Z homing, brush,
  mesh and the Z check; starts in log mode to collect peaks per phase.
- Chamber prints: load and purge the first tool before the chamber heats
  (_LOAD_FOR_CHAMBER replaces _UNLOAD_FOR_CHAMBER). A cut unload leaves a
  piece of PLA in the extruder that softened in the hot chamber and jammed
  the ASA load.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 22:39:26 +02:00

50 lines
1.8 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]
# 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_pa_spoolman.cfg]
# Spoolman
[include spoolman/active_spool.cfg]
# LEDs and sensors
[include leds/stealthburner_leds.cfg]
[include sensors/motion_sensor.cfg]