No! G90 does not command absolute extrusion, M82 does that.

This commit is contained in:
Mark Burton 2018-04-11 09:12:22 +01:00
parent 56e80bb518
commit c4a9c38c33

View file

@ -18,10 +18,10 @@ class RepRapFlavorParser(FlavorParser.FlavorParser):
self._is_absolute_extrusion = False self._is_absolute_extrusion = False
## Set the absolute positioning ## Set the absolute positioning
# RepRapFlavor code G90 sets position of X, Y, Z, and E to absolute # RepRapFlavor code G90 sets position of X, Y, Z to absolute
# For absolute E, M82 is used
def _gCode90(self, position, params, path): def _gCode90(self, position, params, path):
self._is_absolute_positioning = True self._is_absolute_positioning = True
self._is_absolute_extrusion = True
return position return position
## Set the relative positioning ## Set the relative positioning