diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2016-11-30 22:34:38 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2016-11-30 23:00:29 -0500 |
commit | a6055ce069b65d04a56551b72282f0f2b439b6c8 (patch) | |
tree | 160721fbe61afdd18c127cfde7866c4f4fbc632b /klippy/toolhead.py | |
parent | 35719e665cd9c77f8ef70c88c4300cf9feb76930 (diff) | |
download | kutter-a6055ce069b65d04a56551b72282f0f2b439b6c8.tar.gz kutter-a6055ce069b65d04a56551b72282f0f2b439b6c8.tar.xz kutter-a6055ce069b65d04a56551b72282f0f2b439b6c8.zip |
gcode: Support parsing of "extended" gcode commands
Support human readable commands (eg, "help"). Add a "help" command to
list these extended commands.
Also, add support for declaring command aliases, command help, and
command availability next to the handlers themselves.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/toolhead.py')
-rw-r--r-- | klippy/toolhead.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/toolhead.py b/klippy/toolhead.py index 681ebe73..e173f279 100644 --- a/klippy/toolhead.py +++ b/klippy/toolhead.py @@ -248,7 +248,7 @@ class ToolHead: self.move_queue.flush() self.commanded_pos[:] = newpos self.kin.set_position(newpos) - def move(self, newpos, speed, sloppy=False): + def move(self, newpos, speed): speed = min(speed, self.max_speed) move = Move(self, self.commanded_pos, newpos, speed, self.max_accel) if not move.move_d: |