diff options
author | Jaime van Kessel <nallath@gmail.com> | 2020-12-23 15:32:27 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2020-12-23 15:32:27 +0300 |
commit | e69edae9aa269405dc9bf9d84a9cd8bbf22fa37e (patch) | |
tree | 0811c017e70cd28e6cdf9667572fefcc69cdbaf5 /plugins/3MFWriter | |
parent | 9efe5dd5e29f36732148731c389c8bb280ab2402 (diff) |
Store application name when saving 3MF file
CURA-7615
Diffstat (limited to 'plugins/3MFWriter')
-rw-r--r-- | plugins/3MFWriter/ThreeMFWriter.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/3MFWriter/ThreeMFWriter.py b/plugins/3MFWriter/ThreeMFWriter.py index 6c02935080..7b74bee22e 100644 --- a/plugins/3MFWriter/ThreeMFWriter.py +++ b/plugins/3MFWriter/ThreeMFWriter.py @@ -145,6 +145,7 @@ class ThreeMFWriter(MeshWriter): model_relation_element = ET.SubElement(relations_element, "Relationship", Target = "/3D/3dmodel.model", Id = "rel0", Type = "http://schemas.microsoft.com/3dmanufacturing/2013/01/3dmodel") savitar_scene = Savitar.Scene() + savitar_scene.setMetaDataEntry("Application", CuraApplication.getInstance().getApplicationDisplayName()) transformation_matrix = Matrix() transformation_matrix._data[1, 1] = 0 transformation_matrix._data[1, 2] = -1 |