From 57305cde0e68d3cecb640c3c60345db143326fc3 Mon Sep 17 00:00:00 2001 From: HelgeKeck Date: Wed, 27 Sep 2023 19:37:09 +0200 Subject: [PATCH] root cause fixed --- klippy/kinematics/hybrid_corexy.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/klippy/kinematics/hybrid_corexy.py b/klippy/kinematics/hybrid_corexy.py index d075f1266d2b..c267a9f8117f 100644 --- a/klippy/kinematics/hybrid_corexy.py +++ b/klippy/kinematics/hybrid_corexy.py @@ -69,14 +69,14 @@ def calc_position(self, stepper_positions): if (self.dc_module is not None and 'PRIMARY' == \ self.dc_module.get_status()['carriage_1']): if self.inverted == False: - return [pos[0] - pos[1], pos[1], pos[2]] + return [stepper_positions['dual_carriage'] - pos[1], pos[1], pos[2]] else: - return [pos[0] + pos[1], pos[1], pos[2]] + return [stepper_positions['dual_carriage'] + pos[1], pos[1], pos[2]] else: if self.inverted == False: - return [pos[0] + pos[1], pos[1], pos[2]] + return [stepper_positions['stepper_x'] + pos[1], pos[1], pos[2]] else: - return [pos[0] - pos[1], pos[1], pos[2]] + return [stepper_positions['stepper_x'] - pos[1], pos[1], pos[2]] def update_limits(self, i, range): l, h = self.limits[i] # Only update limits if this axis was already homed,