From 33f843b73ab10505233ac959592bafca8bb46d5e Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Wed, 16 Aug 2017 10:52:13 +0200 Subject: [PATCH 1/2] Added name of output device CURA-4160 --- plugins/SliceInfoPlugin/SliceInfo.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/SliceInfoPlugin/SliceInfo.py b/plugins/SliceInfoPlugin/SliceInfo.py index 57df84ffc4..8269b92ab5 100755 --- a/plugins/SliceInfoPlugin/SliceInfo.py +++ b/plugins/SliceInfoPlugin/SliceInfo.py @@ -182,6 +182,9 @@ class SliceInfo(Extension): data["print_settings"] = print_settings + # Send the name of the output device type that is used. + data["output_to"] = type(output_device).__name__ + # Convert data to bytes binary_data = json.dumps(data).encode("utf-8") From abcec2157edb13e1acf85e49f979d5ba39781640 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Wed, 16 Aug 2017 11:28:48 +0200 Subject: [PATCH 2/2] Use the lowest of the layer heights for initial layer height This was discussed with the materials team. A layer height of 0.4mm for a 0.4mm nozzle could give problems. This would be even worse with a 0.25mm nozzle. --- resources/definitions/fdmprinter.def.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/definitions/fdmprinter.def.json b/resources/definitions/fdmprinter.def.json index c8d97a392b..0eff9e470f 100755 --- a/resources/definitions/fdmprinter.def.json +++ b/resources/definitions/fdmprinter.def.json @@ -633,7 +633,7 @@ "unit": "mm", "type": "float", "default_value": 0.3, - "resolve": "sum(extruderValues('layer_height_0')) / len(extruderValues('layer_height_0'))", + "resolve": "min(extruderValues('layer_height_0'))", "minimum_value": "0.001", "minimum_value_warning": "0.1", "maximum_value_warning": "0.8 * min(extruderValues('machine_nozzle_size'))",