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") diff --git a/resources/definitions/fdmprinter.def.json b/resources/definitions/fdmprinter.def.json index eb7f2d8cb0..30ffcdec23 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'))",