homing: Ability to set retract speed between homing moves (#2487)

On the retract move between homing moves, use a different speed (typically a faster one).

Signed-off-by: Mike Stiemke <fandjango@gmx.de>
This commit is contained in:
FanDjango
2020-02-12 16:09:39 +01:00
committed by GitHub
parent cb042e749d
commit 4d9a36b34f
3 changed files with 11 additions and 5 deletions

View File

@@ -130,7 +130,7 @@ class Homing:
retract_r = min(1., hi.retract_dist / move_d)
retractpos = [mp - ad * retract_r
for mp, ad in zip(movepos, axes_d)]
self.toolhead.move(retractpos, hi.speed)
self.toolhead.move(retractpos, hi.retract_speed)
# Home again
forcepos = [rp - ad * retract_r
for rp, ad in zip(retractpos, axes_d)]