From 50f557f5a81f511070e77d6466c330cbe20140f0 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Mon, 7 Sep 2015 13:38:03 +0200 Subject: [PATCH] Updated warnings & errors for fdm printer --- resources/machines/fdmprinter.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/resources/machines/fdmprinter.json b/resources/machines/fdmprinter.json index 45fcc2f437..b1c50d1201 100644 --- a/resources/machines/fdmprinter.json +++ b/resources/machines/fdmprinter.json @@ -438,7 +438,8 @@ "unit": "%", "type": "float", "default": 20, - "max_value_error": "100.0", + "min_value": "0", + "max_value": "100", "children": { "infill_line_distance": { "label": "Line distance", @@ -471,6 +472,8 @@ "unit": "%", "type": "float", "default": 10, + "min_value": "0", + "max_value": "100", "inherit_function": "10 if infill_sparse_density < 95 else 0", "visible": false }, @@ -1771,6 +1774,8 @@ "description": "Flow compensation: the amount of material extruded is multiplied by this value. Only applies to Wire Printing.", "unit": "%", "default": 100, + "min_value": "0", + "max_value": "100", "type": "float", "visible": false, "enabled": "wireframe_enabled", @@ -1876,6 +1881,8 @@ "description": "Percentage of a diagonally downward line which is covered by a horizontal line piece. This can prevent sagging of the top most point of upward lines. Only applies to Wire Printing.", "type": "float", "unit": "%", + "min_value": "0", + "max_value": "100", "default": 20, "visible": false, "enabled": "wireframe_enabled"