Files
klipper-macros/macros/klipper-macros.cfg
T
mangavalkandClaude Opus 5.5 b16961dba3 TOUCH_COMPARE: Beacon contact vs bd_pressure touch (extras/bdp_touch.py)
bd_pressure's endstop output is not wired, so BDP_TOUCH lowers the nozzle
in small steps and reads the force after each one, up to a force limit
(default 80) or 0.4 mm below the start, then lifts back. It reports the
threshold height and the zero-force height from a line fit and logs the
curve to klippy.log. TOUCH_COMPARE heats the nozzle to 150C, homes, and
alternates Beacon's contact probe with BDP_TOUCH at one spot, reporting
mean, spread and range of each and of the difference. Refuses while the
bdp_guard is armed or the sensor is in PA mode.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 16:58:20 +01:00

54 lines
2.1 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]
[include afc/flex_lanes.cfg] # TPU/TPE lanes: slower long moves
# 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]
[include sensors/touch_compare.cfg] # TOUCH_COMPARE: Beacon contact vs bd_pressure (needs extras/bdp_touch.py)