Send M83 and M82 in extrusion commands to support firmware that decoupled XYZ from E relatives
This commit is contained in:
1 parent
65a66b11eb
commit
2e5d97e99c
2 files changed
+2
-1
No files matched your search
@@ -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
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user