Klipper is a 3d-printer firmware
Find a file
microlay cdb798aee5 Add Z_CALIBRATE command for automatic Z-axis calibration
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>
2025-11-28 17:47:25 +01:00
.github workflows: Update github build-test.yaml to ubuntu-22.04 2025-04-16 13:19:54 -04:00
config config: Update CR6-SE 2021 config with board revision (#6924) 2025-05-08 11:36:04 -04:00
docs docs: Fix typo in Benchmarks.md 2025-06-08 12:23:02 -04:00
klippy Add Z_CALIBRATE command for automatic Z-axis calibration 2025-11-28 17:47:25 +01:00
lib lib: Update can2040 to v1.7.0 2025-01-10 12:20:13 -05:00
scripts ar100: Convert to or1k-elf toolchain 2025-06-08 14:15:50 -04:00
src load_cell_probe: Fix warnings on avr builds 2025-06-18 11:09:58 -04:00
test manual_stepper: Support registering as an additional axis 2025-05-12 20:15:03 -04:00
.gitignore util: Fix versioning when gitdir is absent (#809) 2018-10-27 10:44:38 -04:00
COPYING COPYING: Update GPLv3 license to latest text (uses https instead of http) 2022-06-03 11:28:44 -04:00
Makefile Revert "Makefile: Don't disable gcc's use-linker-plugin option" 2025-04-16 15:24:05 -04:00
README.md docs: Improve wording of main Klipper page 2025-01-21 18:54:00 -05:00

Welcome to the Klipper project!

Klipper

https://www.klipper3d.org/

The Klipper firmware controls 3d-Printers. It combines the power of a general purpose computer with one or more micro-controllers. See the features document for more information on why you should use the Klipper software.

Start by installing Klipper software.

Klipper software is Free Software. See the license or read the documentation. We depend on the generous support from our sponsors.