Store application name when saving 3MF file

CURA-7615
This commit is contained in:
Jaime van Kessel 2020-12-23 13:32:27 +01:00
parent 9efe5dd5e2
commit e69edae9aa
No known key found for this signature in database
GPG key ID: 3710727397403C91

View file

@ -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