Derive jobname from material name instead of material type

This commit is contained in:
fieldOfView 2018-12-12 23:53:07 +01:00
parent e0ba8e7d00
commit 16df091ef8

View file

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