Allow down to half the layer height for infill layer thickness

This is possible because CuraEngine rounds these to the nearest layer thickness. So if it's more than half the layer height it gets rounded up and it's still properly one layer.

Contributes to issue #6465.
This commit is contained in:
Ghostkeeper 2019-10-02 12:59:30 +02:00
parent 2d03bc6bc3
commit 672fc58930
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276

View file

@ -1886,7 +1886,7 @@
"unit": "mm",
"type": "float",
"default_value": 0.1,
"minimum_value": "resolveOrValue('layer_height') if infill_line_distance > 0 else -999999",
"minimum_value": "resolveOrValue('layer_height') / 2 if infill_line_distance > 0 else -999999",
"maximum_value_warning": "0.75 * machine_nozzle_size",
"maximum_value": "resolveOrValue('layer_height') * (1.45 if spaghetti_infill_enabled else 8) if infill_line_distance > 0 else 999999",
"value": "resolveOrValue('layer_height')",