mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 18:27:51 -06:00
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:
parent
ffef26097d
commit
cab2e14728
4 changed files with 522 additions and 451 deletions
9
plugins/GCodeReader/GriffinFlavor.py
Normal file
9
plugins/GCodeReader/GriffinFlavor.py
Normal 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__()
|
Loading…
Add table
Add a link
Reference in a new issue