aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/toolhead.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/toolhead.py')
-rw-r--r--klippy/toolhead.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/klippy/toolhead.py b/klippy/toolhead.py
index cd083a50..74b8f282 100644
--- a/klippy/toolhead.py
+++ b/klippy/toolhead.py
@@ -413,6 +413,13 @@ class ToolHead:
self.move_queue.add_move(move)
if self.print_time > self.need_check_stall:
self._check_stall()
+ def manual_move(self, coord, speed):
+ curpos = list(self.commanded_pos)
+ for i in range(len(coord)):
+ if coord[i] is not None:
+ curpos[i] = coord[i]
+ self.move(curpos, speed)
+ self.printer.send_event("toolhead:manual_move")
def dwell(self, delay):
next_print_time = self.get_last_move_time() + max(0., delay)
self._update_move_time(next_print_time)