mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:55:56 +08: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,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…
x
Reference in New Issue
Block a user