Requirement change: Layer numbers must count from 1

We now send layer numbers one higher than before, also to the back-end, and the back-end must interpret the layer number differently.

Contributes to issue CURA-2314.
This commit is contained in:
Ghostkeeper 2016-09-16 16:20:52 +02:00
parent fd181ca0c3
commit b9d7c02175
No known key found for this signature in database
GPG Key ID: 701948C5954A7385

View File

@ -2231,7 +2231,7 @@
"default_value": 1, "default_value": 1,
"minimum_value": "0", "minimum_value": "0",
"maximum_value_warning": "100", "maximum_value_warning": "100",
"value": "max(0, int(math.floor((cool_fan_full_at_height - layer_height_0) / layer_height) + 1))", "value": "max(0, int(math.floor((cool_fan_full_at_height - layer_height_0) / layer_height) + 2))",
"settable_per_mesh": false, "settable_per_mesh": false,
"settable_per_extruder": true "settable_per_extruder": true
} }