diff options
author | Lipu Fei <lipu.fei815@gmail.com> | 2018-07-09 12:00:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-09 12:00:13 +0300 |
commit | 1fdac63168cea6d01caabda619b8e120fdf6ab60 (patch) | |
tree | dcf70850e1df039db5475b6ad907650be3e1c9e0 /plugins | |
parent | 853266e8a81cf87370387cc32bdfcf5e4f19006c (diff) | |
parent | 9c40b1de921b335d20a98a4eb6a5077f0ba68b8f (diff) |
Merge pull request #4038 from Ultimaker/CURA-5545_fix_3mf_reader
CURA-5545 Fix 3MF Reader
Diffstat (limited to 'plugins')
-rwxr-xr-x | plugins/3MFReader/ThreeMFReader.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/3MFReader/ThreeMFReader.py b/plugins/3MFReader/ThreeMFReader.py index 6bfe920863..0280600834 100755 --- a/plugins/3MFReader/ThreeMFReader.py +++ b/plugins/3MFReader/ThreeMFReader.py @@ -169,8 +169,6 @@ class ThreeMFReader(MeshReader): archive = zipfile.ZipFile(file_name, "r") self._base_name = os.path.basename(file_name) parser = Savitar.ThreeMFParser() - with open("/tmp/test.xml", "wb") as f: - f.write(archive.open("3D/3dmodel.model").read()) scene_3mf = parser.parse(archive.open("3D/3dmodel.model").read()) self._unit = scene_3mf.getUnit() for node in scene_3mf.getSceneNodes(): |