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.
This commit is contained in:
Ghostkeeper 2021-04-09 13:17:03 +02:00
parent e2135088b9
commit 6dd3256671
No known key found for this signature in database
GPG Key ID: D2A8871EE34EC59A

View File

@ -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.", "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", "unit": "mm/s",
"type": "float", "type": "float",
"enabled": "speed_slowdown_layers > 0",
"default_value": 30, "default_value": 30,
"value": "speed_print * 30 / 60", "value": "speed_print * 30 / 60",
"minimum_value": "0.1", "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.", "description": "The speed of printing for the initial layer. A lower value is advised to improve adhesion to the build plate.",
"unit": "mm/s", "unit": "mm/s",
"type": "float", "type": "float",
"enabled": "speed_slowdown_layers > 0",
"default_value": 30, "default_value": 30,
"value": "speed_layer_0", "value": "speed_layer_0",
"minimum_value": "0.1", "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.", "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", "unit": "mm/s",
"type": "float", "type": "float",
"enabled": "speed_slowdown_layers > 0",
"default_value": 60, "default_value": 60,
"value": "speed_layer_0 * speed_travel / speed_print", "value": "speed_layer_0 * speed_travel / speed_print",
"minimum_value": "0.1", "minimum_value": "0.1",