diff --git a/klippy/kinematics/hybrid_corexy.py b/klippy/kinematics/hybrid_corexy.py index 2f52d7ead64d..49b4f4ba405c 100644 --- a/klippy/kinematics/hybrid_corexy.py +++ b/klippy/kinematics/hybrid_corexy.py @@ -69,18 +69,16 @@ 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 [stepper_positions['dual_carriage'] \ - - pos[1], pos[1], pos[2]] + return stepper_positions['dual_carriage'] \ + - pos[1], pos[1], pos[2] else: - return [stepper_positions['dual_carriage'] \ - + pos[1], pos[1], pos[2]] + return stepper_positions['dual_carriage'] \ + + pos[1], pos[1], pos[2] else: if self.inverted == False: - return [stepper_positions['stepper_x'] \ - + pos[1], pos[1], pos[2]] + return pos[0] + pos[1], pos[1], pos[2] else: - return [stepper_positions['stepper_x'] \ - - pos[1], pos[1], pos[2]] + return pos[0] - 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,