BED_SCAN_CHECK levels, scans and warns, without heating or touching the bed. extras/mesh_check.py fits a smooth surface to the mesh and reports areas more than 0.03 mm from it, and a range over 0.30 mm. In PRINT_START a failed check pauses before the nozzle heats. Resume sets the print file back to the PRINT_START line (M26), so it runs again as normal file G-code. BED_CHECK_IGNORE lets the next failed check only warn. Tested on saved scans and rendered macros only, not yet on the printer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
58 lines
2.4 KiB
INI
58 lines
2.4 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)
|
|
|
|
# Calibration
|
|
[include calibration/twist_check.cfg] # TWIST_CALIBRATE: axis twist compensation, with windows in Mainsail (runs scripts/twist_check.py)
|
|
[include calibration/bed_scan_check.cfg] # BED_SCAN_CHECK, BED_MESH_CHECK: bumps and flatness; PRINT_START pauses on a failed check (needs extras/mesh_check.py)
|