From 687c771fa1a089aea9427cbdefe2c7627e87cf2f Mon Sep 17 00:00:00 2001 From: Patrick Arminio Date: Tue, 20 Oct 2026 18:08:17 +0100 Subject: [PATCH] Remove pen depth limit when jogging Z --- app/printer.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/printer.py b/app/printer.py index 9ac7d26..5f5b6d3 100644 --- a/app/printer.py +++ b/app/printer.py @@ -271,8 +271,6 @@ class Printer: def jog_z(self, dz: float) -> None: self._check_idle() # Relative, so it's safe even before we know where Z is. - if self.z is not None and self.z + dz < -2: - raise PrinterError("That would push the pen too far into the paper") self.send("G91", f"G1 Z{dz:.2f} F{Z_SPEED:.0f}", "G90") if self.z is not None: self.z += dz -- knotmirror 0.0.1