mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Fix imports for GCodeReader
This code was more or less copied from the writer. It requires regular expressions and the application, but I didn't take the imports along. Contributes to issue CURA-34.
This commit is contained in:
parent
d60d2f6c71
commit
5358dfe2d6
1 changed files with 2 additions and 0 deletions
|
@ -1,7 +1,9 @@
|
|||
# Copyright (c) 2015 Ultimaker B.V.
|
||||
# Cura is released under the terms of the AGPLv3 or higher.
|
||||
|
||||
from UM.Application import Application #To get the current profile that should be updated with the settings from the g-code.
|
||||
from UM.Mesh.MeshReader import MeshReader
|
||||
import re #Regular expressions for parsing escape characters in the settings.
|
||||
|
||||
## A class that reads profile data from g-code files.
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue