Process M82 and M83 command for Marlin flavoured GCode too

This commit is contained in:
Michael Jäger 2024-08-09 18:13:01 +02:00
parent e3287a1c16
commit 3136dfc0ec
2 changed files with 8 additions and 10 deletions

View file

@ -11,14 +11,6 @@ class RepRapFlavorParser(FlavorParser.FlavorParser):
def __init__(self):
super().__init__()
def processMCode(self, M, line, position, path):
if M == 82:
# Set absolute extrusion mode
self._is_absolute_extrusion = True
elif M == 83:
# Set relative extrusion mode
self._is_absolute_extrusion = False
def _gCode90(self, position, params, path):
"""Set the absolute positioning