Added stub workspace reader

CURA-1263
This commit is contained in:
Jaime van Kessel 2016-11-08 10:00:00 +01:00
parent 5b89f5e8ee
commit efc9719ff0
2 changed files with 24 additions and 2 deletions

View file

@ -0,0 +1,12 @@
from UM.Workspace.WorkspaceReader import WorkspaceReader
## Base implementation for reading 3MF workspace files.
class ThreeMFWorkspaceReader(WorkspaceReader):
def __init__(self):
super().__init__()
def preRead(self, file_name):
return WorkspaceReader.PreReadResult.accepted
# TODO: Find 3MFFileReader so we can load SceneNodes
# TODO: Ask user if it's okay for the scene to be cleared