From 21b8694289a89bb5319a9b3ebc0246d80b88076a Mon Sep 17 00:00:00 2001 From: "c.lamboo" Date: Wed, 15 May 2024 17:49:44 +0200 Subject: [PATCH] Add comment explaining workaround CURA-11777 --- plugins/MakerbotWriter/MakerbotWriter.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/MakerbotWriter/MakerbotWriter.py b/plugins/MakerbotWriter/MakerbotWriter.py index 4e4930075d..233575029c 100644 --- a/plugins/MakerbotWriter/MakerbotWriter.py +++ b/plugins/MakerbotWriter/MakerbotWriter.py @@ -160,6 +160,8 @@ class MakerbotWriter(MeshWriter): nodes.append(node) meta = dict() + # This is a bit of a "hack", the mime type should be passed through with the export writer but + # since this is not the case we get the mime type from the global stack instead file_format = global_stack.definition.getMetaDataEntry("file_formats") meta["bot_type"] = global_stack.definition.getMetaDataEntry("reference_machine_id")