mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-07 05:54:05 -06:00
stepper: Don't store step_dist in PrinterStepper
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
544f8c1e85
commit
28b7a28651
2 changed files with 16 additions and 12 deletions
|
@ -66,7 +66,7 @@ class DeltaKinematics:
|
|||
s.setup_itersolve(sk)
|
||||
# Find the point where an XY move could result in excessive
|
||||
# tower movement
|
||||
half_min_step_dist = min([s.step_dist for s in self.steppers]) * .5
|
||||
half_min_step_dist = min([s.get_step_dist() for s in self.steppers]) * .5
|
||||
min_arm_length = min(arm_lengths)
|
||||
def ratio_to_dist(ratio):
|
||||
return (ratio * math.sqrt(min_arm_length**2 / (ratio**2 + 1.)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue