From 628aa70e12321616f1d951725c8c9264a4ea5595 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 16 Sep 2016 16:45:34 +0200 Subject: [PATCH] Make Regular Fan Speed At Layer one-based This coincides with the layer view, which starts counting layers at 1, not 0. Contributes to issue CURA-2314. --- resources/definitions/fdmprinter.def.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/definitions/fdmprinter.def.json b/resources/definitions/fdmprinter.def.json index 1cd38ba86b..9b7dc20222 100644 --- a/resources/definitions/fdmprinter.def.json +++ b/resources/definitions/fdmprinter.def.json @@ -2228,10 +2228,10 @@ "label": "Regular Fan Speed at Layer", "description": "The layer at which the fans spin on regular fan speed. If regular fan speed at height is set, this value is calculated and rounded to a whole number.", "type": "int", - "default_value": 1, - "minimum_value": "0", + "default_value": 2, + "minimum_value": "1", "maximum_value_warning": "100", - "value": "max(0, int(math.floor((cool_fan_full_at_height - layer_height_0) / layer_height) + 2))", + "value": "max(1, int(math.floor((cool_fan_full_at_height - layer_height_0) / layer_height) + 2))", "settable_per_mesh": false, "settable_per_extruder": true }