From b099851a8b3a7727c13821da4925f6030abdc6b7 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 9 Dec 2016 17:28:09 -0500 Subject: [PATCH] gcode: Increase initial speed If a speed is never specified then default to 25mm/s (up from 1 mm/s). If a user accidentally issues a move without setting the speed, the default speed shouldn't be so slow that it takes minutes to finish the move. Signed-off-by: Kevin O'Connor --- klippy/gcode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klippy/gcode.py b/klippy/gcode.py index bee259fb..3c6a9bdc 100644 --- a/klippy/gcode.py +++ b/klippy/gcode.py @@ -27,7 +27,7 @@ class GCodeParser: self.is_printer_ready = False self.need_ack = False self.toolhead = self.heater_nozzle = self.heater_bed = self.fan = None - self.speed = 1.0 + self.speed = 25.0 self.absolutecoord = self.absoluteextrude = True self.base_position = [0.0, 0.0, 0.0, 0.0] self.last_position = [0.0, 0.0, 0.0, 0.0]