mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Added stub workspace reader
CURA-1263
This commit is contained in:
parent
5b89f5e8ee
commit
efc9719ff0
2 changed files with 24 additions and 2 deletions
12
plugins/3MFReader/ThreeMFWorkspaceReader.py
Normal file
12
plugins/3MFReader/ThreeMFWorkspaceReader.py
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue