mirror of
https://github.com/Klipper3d/klipper.git
synced 2026-01-11 18:33:11 -07:00
Features: - New Z_CALIBRATE command that performs full Z-axis calibration: 1. Executes G28 Z (home to Zmin endstop) 2. Probes upward to find Zmax using Y endstop (SKR3 hardware workaround) 3. Reports actual travel distance vs configured position_max 4. Auto-updates both NanoDLP ZLength and Klipper position_max if diff > 0.5mm 5. Automatically restarts Klipper to load new configuration Technical changes: - Fixed YEndstopWrapper to return Z steppers instead of Y steppers This allows probing_move() to correctly track Z-axis movement while using Y endstop for trigger detection - Temporarily expands Z limits during calibration to allow full travel - Updates NanoDLP machine.json CustomValues.ZLength directly (JSON modification) - Updates Klipper printer.cfg position_max via regex replacement Usage: Z_CALIBRATE # Use default speed Z_CALIBRATE SPEED=5 # Custom probe speed (mm/s) Z_CALIBRATE MAX_TRAVEL=200 # Custom max travel distance 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| chelper | ||
| extras | ||
| kinematics | ||
| clocksync.py | ||
| configfile.py | ||
| console.py | ||
| gcode.py | ||
| klippy.py | ||
| mathutil.py | ||
| mcu.py | ||
| msgproto.py | ||
| parsedump.py | ||
| pins.py | ||
| queuelogger.py | ||
| reactor.py | ||
| serialhdl.py | ||
| stepper.py | ||
| toolhead.py | ||
| util.py | ||
| webhooks.py | ||