From 3e91f89ffe0f43f7e7b793995920d2588f2d42a0 Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Thu, 25 Apr 2019 15:17:31 +0200 Subject: [PATCH] Add build volume temperature CURA-6156 --- plugins/XmlMaterialProfile/XmlMaterialProfile.py | 1 + resources/definitions/fdmprinter.def.json | 15 +++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/plugins/XmlMaterialProfile/XmlMaterialProfile.py b/plugins/XmlMaterialProfile/XmlMaterialProfile.py index 40967e75c7..f057585cb5 100644 --- a/plugins/XmlMaterialProfile/XmlMaterialProfile.py +++ b/plugins/XmlMaterialProfile/XmlMaterialProfile.py @@ -1179,6 +1179,7 @@ class XmlMaterialProfile(InstanceContainer): "adhesion tendency": "material_adhesion_tendency", "surface energy": "material_surface_energy", "shrinkage percentage": "material_shrinkage_percentage", + "build volume temperature": "build_volume_temperature", } __unmapped_settings = [ "hardware compatible", diff --git a/resources/definitions/fdmprinter.def.json b/resources/definitions/fdmprinter.def.json index 49dab571e4..013015eb0b 100644 --- a/resources/definitions/fdmprinter.def.json +++ b/resources/definitions/fdmprinter.def.json @@ -2055,6 +2055,21 @@ "settable_per_mesh": false, "minimum_value": "-273.15" }, + "build_volume_temperature": + { + "label": "Build Volume Temperature", + "description": "The temperature used for build volume. If this is 0, the build volume temperature will not be adjusted.", + "unit": "°C", + "type": "float", + "default_value": 0, + "resolve": "max(extruderValues('build_volume_temperature'))", + "minimum_value": "-273.15", + "minimum_value_warning": "0", + "maximum_value_warning": "285", + "enabled": true, + "settable_per_mesh": false, + "settable_per_extruder": true + }, "material_print_temperature": { "label": "Printing Temperature",