From 32985cb7839055a1c1097643ff38a952564d10e6 Mon Sep 17 00:00:00 2001 From: make-ing Date: Fri, 13 Nov 2015 15:27:58 +0100 Subject: [PATCH] added gcode hooks for G01, G02 and G03 --- src/octoprint/util/comm_acc2.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/octoprint/util/comm_acc2.py b/src/octoprint/util/comm_acc2.py index 8d05570f..cc2401dd 100644 --- a/src/octoprint/util/comm_acc2.py +++ b/src/octoprint/util/comm_acc2.py @@ -707,6 +707,15 @@ class MachineCom(object): cmd = self._replace_intensity(cmd) return cmd + def _gcode_G01_sending(self, cmd, cmd_type=None): + return self._gcode_G1_sending(cmd, cmd_type) + + def _gcode_G02_sending(self, cmd, cmd_type=None): + return self._gcode_G2_sending(cmd, cmd_type) + + def _gcode_G03_sending(self, cmd, cmd_type=None): + return self._gcode_G3_sending(cmd, cmd_type) + def _gcode_H_sent(self, cmd, cmd_type=None): self._changeState(self.STATE_HOMING) return cmd