Skip to content

Commit

Permalink
Update beacon.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeanon committed Oct 21, 2024
1 parent 7f7087a commit 4dc4e1f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions beacon.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4dc4e1f

Please sign in to comment.