Merge pull request #3651 from smartavionics/mb-fix-gcode-reader-g90

No! G90 does not command absolute extrusion, M82 does that.
This commit is contained in:
Diego Prado Gesto 2018-04-12 13:40:32 +02:00 committed by GitHub
commit 01c846dbd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,10 +18,10 @@ class RepRapFlavorParser(FlavorParser.FlavorParser):
self._is_absolute_extrusion = False
## 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):
self._is_absolute_positioning = True
self._is_absolute_extrusion = True
return position
## Set the relative positioning