From 16df091ef8c2bcfbc561e315ebce1e3725871fe3 Mon Sep 17 00:00:00 2001 From: fieldOfView Date: Wed, 12 Dec 2018 23:53:07 +0100 Subject: [PATCH] Derive jobname from material name instead of material type --- plugins/BlackBeltPlugin/PrintInformationPatches.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/BlackBeltPlugin/PrintInformationPatches.py b/plugins/BlackBeltPlugin/PrintInformationPatches.py index bc20eef26b..10f0383737 100644 --- a/plugins/BlackBeltPlugin/PrintInformationPatches.py +++ b/plugins/BlackBeltPlugin/PrintInformationPatches.py @@ -50,7 +50,7 @@ class PrintInformationPatches(): gantry_angle = global_container_stack.getProperty("blackbelt_gantry_angle", "value") nozzle_size = str(global_container_stack.getProperty("machine_nozzle_size", "value")).replace(".", "") - material_type = extruder_stack.material.getMetaDataEntry("material") + material_type = extruder_stack.material.getName().split()[0] self._print_information._abbr_machine = "%s_%s_%s" % (gantry_angle, nozzle_size, material_type) return ### END PATCH