You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Opening the 3MF file within the most recent version of PrusaSlicer (2.9.0) on Windows works fine. However, if I save changes made in PrusaSlicer, the metadata tags are wholesale removed and replaced:
All of the metadata elements have updated values, even those whose preserve attribute is set to 1.
I get the ModificationDate is always mutable and the Title is subject to change if the 3mf file is saved to a new file, but my understanding of the 3MF core spec at 1 is that none of it should have changed.
If this is intentional, would you please explain why?
If this isn't intentional, what would you need to do for PrusaSlicer to honor the preserve attribute on 3MF metadata elements?
Project file & How to reproduce
Included is a zip file of two 3mf project files. The original, 002.3mf, has the preserve attribute set on the <metadata> elements within its 3D/3dmodel.model file. To get the modified 002-1.3mf, I did:
open 002.3mf in PrusaSlicer
Use the File->Save As menu option and save the contents as 002-1.3mf
No other changes were made.
Examining the 3D/3dmodel.model files involves unpacking the 3MF files with unzip and viewing the model file. Eg:
unzip 002.3mf 3D/3dmodel.model
less 3D/3dmodel.model
Description of the bug
I have a 3MF file with metadata elements set within the model's XML. The metadata looks like this (the object model data is excluded below):
Opening the 3MF file within the most recent version of PrusaSlicer (2.9.0) on Windows works fine. However, if I save changes made in PrusaSlicer, the metadata tags are wholesale removed and replaced:
All of the metadata elements have updated values, even those whose preserve attribute is set to 1.
I get the ModificationDate is always mutable and the Title is subject to change if the 3mf file is saved to a new file, but my understanding of the 3MF core spec at 1 is that none of it should have changed.
If this is intentional, would you please explain why?
If this isn't intentional, what would you need to do for PrusaSlicer to honor the preserve attribute on 3MF metadata elements?
Project file & How to reproduce
Included is a zip file of two 3mf project files. The original,
002.3mf
, has thepreserve
attribute set on the<metadata>
elements within its3D/3dmodel.model
file. To get the modified002-1.3mf
, I did:002.3mf
in PrusaSlicer002-1.3mf
No other changes were made.
Examining the
3D/3dmodel.model
files involves unpacking the 3MF files with unzip and viewing the model file. Eg:github-prusaslicer-metadata.zip
Checklist of files included above
Version of PrusaSlicer
Version 2.9.0
Operating system
MS Windows 10 x86-64 bit 19045.5247
Printer model
Prusa MK4 (though, this is not related to a printer issue)
The text was updated successfully, but these errors were encountered: