From 6dd3256671619793201f1f818a98480a252fd0c9 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 9 Apr 2021 13:17:03 +0200 Subject: [PATCH] Hide initial layer speed settings if Number of Slower Layers is 0 These initial layer speeds were only applied to the model (not the raft). Number of Slower Layers indicates how many layers the initial layer speed should apply to. So if that is 0, the initial layer speed doesn't apply to anything any more, and the setting should be hidden because it has no effect on the print. Found by Markouustalu in #4439. --- resources/definitions/fdmprinter.def.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/definitions/fdmprinter.def.json b/resources/definitions/fdmprinter.def.json index 7737e01efc..8d13629adc 100644 --- a/resources/definitions/fdmprinter.def.json +++ b/resources/definitions/fdmprinter.def.json @@ -2996,6 +2996,7 @@ "description": "The speed for the initial layer. A lower value is advised to improve adhesion to the build plate. Does not affect the build plate adhesion structures themselves, like brim and raft.", "unit": "mm/s", "type": "float", + "enabled": "speed_slowdown_layers > 0", "default_value": 30, "value": "speed_print * 30 / 60", "minimum_value": "0.1", @@ -3010,6 +3011,7 @@ "description": "The speed of printing for the initial layer. A lower value is advised to improve adhesion to the build plate.", "unit": "mm/s", "type": "float", + "enabled": "speed_slowdown_layers > 0", "default_value": 30, "value": "speed_layer_0", "minimum_value": "0.1", @@ -3023,6 +3025,7 @@ "description": "The speed of travel moves in the initial layer. A lower value is advised to prevent pulling previously printed parts away from the build plate. The value of this setting can automatically be calculated from the ratio between the Travel Speed and the Print Speed.", "unit": "mm/s", "type": "float", + "enabled": "speed_slowdown_layers > 0", "default_value": 60, "value": "speed_layer_0 * speed_travel / speed_print", "minimum_value": "0.1",