mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 22:25:53 +08:00
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.
This commit is contained in:
parent
b9d7c02175
commit
628aa70e12
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user