Skip to content

Commit

Permalink
Trust the user on the print_radius for delta kinematics (#384)
Browse files Browse the repository at this point in the history
  • Loading branch information
CarpeNecopinum authored Oct 23, 2024
1 parent 748670b commit 3ad992f
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions klippy/kinematics/delta.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,7 @@ def ratio_to_xy(ratio):

self.slow_xy2 = ratio_to_xy(SLOW_RATIO) ** 2
self.very_slow_xy2 = ratio_to_xy(2.0 * SLOW_RATIO) ** 2
self.max_xy2 = (
min(
print_radius,
min_arm_length - radius,
ratio_to_xy(4.0 * SLOW_RATIO),
)
** 2
)
self.max_xy2 = print_radius ** 2
max_xy = math.sqrt(self.max_xy2)
logging.info(
"Delta max build radius %.2fmm (moves slowed past %.2fmm"
Expand Down

0 comments on commit 3ad992f

Please sign in to comment.