CURA-4552 Add flavors to GCodeReader. The preRead looks for the flavor

in the GCode and then the right flavor handler is responsible for
reading the code. At this moment just the Griffin and RepRap flavors are
taken into account.
This commit is contained in:
Diego Prado Gesto 2017-11-27 16:56:26 +01:00
parent ffef26097d
commit cab2e14728
4 changed files with 522 additions and 451 deletions

View file

@ -0,0 +1,9 @@
# Copyright (c) 2017 Ultimaker B.V.
# Cura is released under the terms of the LGPLv3 or higher.
from . import GCodeFlavor
class GriffinFlavor(GCodeFlavor.GCodeFlavor):
def __init__(self):
super().__init__()