mirror of
https://github.com/QIDITECH/klipper.git
synced 2026-02-04 01:48:43 +03:00
plus4的klipper版本
This commit is contained in:
@@ -41,7 +41,7 @@ class ZAdjustHelper:
|
||||
s.set_trapq(None)
|
||||
# Move each z stepper (sorted from lowest to highest) until they match
|
||||
positions = [(-a, s) for a, s in zip(adjustments, self.z_steppers)]
|
||||
positions.sort()
|
||||
positions.sort(key=(lambda k: k[0]))
|
||||
first_stepper_offset, first_stepper = positions[0]
|
||||
z_low = curpos[2] - first_stepper_offset
|
||||
for i in range(len(positions)-1):
|
||||
|
||||
Reference in New Issue
Block a user