From 4dc4e1f1acef07eb41e88470edde220f5755d5a8 Mon Sep 17 00:00:00 2001 From: Zeanon Date: Mon, 21 Oct 2024 18:13:18 +0200 Subject: [PATCH] Update beacon.py --- beacon.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/beacon.py b/beacon.py index ffbbf29..01aabf7 100644 --- a/beacon.py +++ b/beacon.py @@ -366,6 +366,12 @@ def _build_config(self): self.toolhead = self.printer.lookup_object("toolhead") self.trapq = self.toolhead.get_trapq() + rails = self.toolhead.get_kinematics().get_rails() + if len(rails) > 2: + rails[2].homing_retract_dist = 0 + if hasattr(rails[2], "min_home_dist"): + rails[2].min_home_dist = 0 + self.mcu_temp = BeaconMCUTempHelper.build_with_nvm(self) self.model_temp = self.model_temp_builder.build_with_nvm(self) if self.model_temp: