diff --git a/AUTHORS.md b/AUTHORS.md index 9019c524f..32763a221 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -120,6 +120,7 @@ date of first contribution): * [Tobias Schürg](https://github.com/tobiasschuerg) * [Josh Friend](https://github.com/joshfriend) * [Lachlan Cresswell](https://github.com/lachyc) + * [Khoi Pham](https://github.com/osubuu) OctoPrint started off as a fork of [Cura](https://github.com/daid/Cura) by [Daid Braam](https://github.com/daid). Parts of its communication layer and diff --git a/src/octoprint/printer/standard.py b/src/octoprint/printer/standard.py index 35910282e..ea727c9b9 100644 --- a/src/octoprint/printer/standard.py +++ b/src/octoprint/printer/standard.py @@ -396,7 +396,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): # Make sure that specified value is not greater than maximum as defined in printer profile extrusion_speed = min([speed, max_e_speed]) - self.commands(["G91", "G1 E%s F%d" % (amount, extrusion_speed), "G90"], + self.commands(["G91", "M83", "G1 E%s F%d" % (amount, extrusion_speed), "M82", "G90"], tags=kwargs.get("tags", set()) | {"trigger:printer.extrude"}) def change_tool(self, tool, *args, **kwargs):