aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/gcode.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2016-12-09 17:28:09 -0500
committerKevin O'Connor <kevin@koconnor.net>2016-12-09 17:28:09 -0500
commitb099851a8b3a7727c13821da4925f6030abdc6b7 (patch)
tree436c97066e279fd4a4e1ebad2c48c0abce489351 /klippy/gcode.py
parentf25ead109cd9eb8442bc61aa9f6c54532e7d70f3 (diff)
downloadkutter-b099851a8b3a7727c13821da4925f6030abdc6b7.tar.gz
kutter-b099851a8b3a7727c13821da4925f6030abdc6b7.tar.xz
kutter-b099851a8b3a7727c13821da4925f6030abdc6b7.zip
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 <kevin@koconnor.net>
Diffstat (limited to 'klippy/gcode.py')
-rw-r--r--klippy/gcode.py2
1 files changed, 1 insertions, 1 deletions
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]