aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/delta.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2018-06-21 14:38:39 -0400
committerKevin O'Connor <kevin@koconnor.net>2018-06-22 14:09:01 -0400
commit28b7a286517058e782fc7e20da8b6332a7c7661d (patch)
tree5be153d5e938284887120e18fb4414405e877b60 /klippy/delta.py
parent544f8c1e8567db6b4fe62c0b2539a7b2efcd4b68 (diff)
downloadkutter-28b7a286517058e782fc7e20da8b6332a7c7661d.tar.gz
kutter-28b7a286517058e782fc7e20da8b6332a7c7661d.tar.xz
kutter-28b7a286517058e782fc7e20da8b6332a7c7661d.zip
stepper: Don't store step_dist in PrinterStepper
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/delta.py')
-rw-r--r--klippy/delta.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/delta.py b/klippy/delta.py
index 5f7687fb..04e28cf6 100644
--- a/klippy/delta.py
+++ b/klippy/delta.py
@@ -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.)