Use definition name rather then display name of the machine

CURA-10561
This commit is contained in:
c.lamboo 2023-10-30 17:55:06 +01:00
parent 0c8496b7ab
commit 20719ea5b5

View file

@ -169,7 +169,7 @@ class MakerbotWriter(MeshWriter):
meta = dict() meta = dict()
meta["bot_type"] = MakerbotWriter._PRINT_NAME_MAP.get((name := global_stack.name), name) meta["bot_type"] = MakerbotWriter._PRINT_NAME_MAP.get((name := global_stack.definition.name), name)
bounds: Optional[AxisAlignedBox] = None bounds: Optional[AxisAlignedBox] = None
for node in nodes: for node in nodes: