Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2020-12-23 15:32:27 +0300
committerJaime van Kessel <nallath@gmail.com>2020-12-23 15:32:27 +0300
commite69edae9aa269405dc9bf9d84a9cd8bbf22fa37e (patch)
tree0811c017e70cd28e6cdf9667572fefcc69cdbaf5 /plugins/3MFWriter
parent9efe5dd5e29f36732148731c389c8bb280ab2402 (diff)
Store application name when saving 3MF file
CURA-7615
Diffstat (limited to 'plugins/3MFWriter')
-rw-r--r--plugins/3MFWriter/ThreeMFWriter.py1
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