toolhead: Don't call into kinematic class on extrude only moves

Add a is_kinematic_move flag to the Move class and clear it on extrude
only moves.  Don't call the kinematic check_move() or move() methods
for extrude only moves.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2016-12-28 11:48:40 -05:00
parent f46bc0ef04
commit f2b406fc5e
3 changed files with 7 additions and 9 deletions

View File

@@ -131,8 +131,6 @@ class DeltaKinematics:
movez_r = 0.
inv_movexy_d = 1. / movexy_d
if not axes_d[0] and not axes_d[1]:
if not axes_d[2]:
return
movez_r = axes_d[2] * inv_movexy_d
movexy_d = movexy_r = inv_movexy_d = 0.
elif axes_d[2]: