My Klipper Macros
-
Homing — A set of macros for safe, controlled homing of the X, Y, and Z axes. Replaces the built-in
G28with a stepwise sequence that raises Z before homing X/Y, moves to a configurable safe XY position before homing Z, and loads the default bed mesh after homing. Also providesG27(park toolhead),G29(bed mesh calibration), and individualHOME_X/HOME_Y/HOME_Zmacros with status reporting. Install by dropping all files into aHomingfolder and adding[include Homing/homing.cfg]toprinter.cfg. -
Nozzle Clean — Wipe the nozzle on a cleaning pad (silicone brush, brass brush, scrub pad, etc.) to remove ooze and debris before or after a print. Supports five wipe patterns (straight-line, zig-zag, wave, spiral inward, and criss-cross), automatic wipe-height calculation from pad geometry, filament retraction, configurable temperatures and pass counts, and a dry-run test mode. Install by dropping all files into a
Nozzle-Cleanfolder and adding[include Nozzle-Clean/nozzle-clean.cfg]toprinter.cfg. -
Camera Control — Inspect and adjust V4L2 camera settings from the Klipper console for Moonraker/Crowsnest-managed cameras. Includes macros for listing configured cameras and raw V4L2 devices, viewing available controls, setting arbitrary controls, resetting common image settings, and changing brightness, contrast, saturation, hue, and automatic white balance. Install by running
Camera-Control/install.shor by copyingcamera_controls.cfgandcamctl.sh, then include[include camera_controls.cfg]inprinter.cfg.