From ded9f43654c03464e78b50ef91c376fcfed1496d Mon Sep 17 00:00:00 2001 From: Dmitry Butyugin Date: Fri, 9 Jan 2026 10:57:47 +0100 Subject: [PATCH] exclude_object: Fixed object exclusion with changing GCode axes Signed-off-by: Dmitry Butyugin --- klippy/extras/exclude_object.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klippy/extras/exclude_object.py b/klippy/extras/exclude_object.py index c80dd000d..3ca6d53eb 100644 --- a/klippy/extras/exclude_object.py +++ b/klippy/extras/exclude_object.py @@ -89,7 +89,7 @@ class ExcludeObject: offset = [0.] * num_coord self.extrusion_offsets[ename] = offset if len(offset) < num_coord: - offset.extend([0.] * (len(num_coord) - len(offset))) + offset.extend([0.] * (num_coord - len(offset))) return offset def get_position(self):