Skip to content

Commit

Permalink
update to init
Browse files Browse the repository at this point in the history
nick3621 committed Dec 11, 2024
1 parent 3fafc4c commit 7fa23d1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions klippy/kinematics/dual_gantry.py
Original file line number Diff line number Diff line change
@@ -47,6 +47,10 @@ def __init__(self, toolhead, config):
# Get range for all rails
xyz_ranges = [r.get_range() for r in self.rails]
uv_ranges = [(r.get_range() if r else (0., 0.)) for r in self.uv_rails]

# Calculate UV min/max first
self.uv_min = [r[0] for r in uv_ranges]
self.uv_max = [r[1] for r in uv_ranges]

# Store axis limits
self.axes_min = toolhead.Coord(*[r[0] for r in xyz_ranges], e=0., u=self.uv_min[0], v=self.uv_min[1])

0 comments on commit 7fa23d1

Please sign in to comment.