Use the lowest of the layer heights for initial layer height

This was discussed with the materials team. A layer height of 0.4mm for a 0.4mm nozzle could give problems. This would be even worse with a 0.25mm nozzle.
This commit is contained in:
Ghostkeeper 2017-08-16 11:28:48 +02:00
parent 33f843b73a
commit abcec2157e
No known key found for this signature in database
GPG Key ID: C5F96EE2BC0F7E75

View File

@ -633,7 +633,7 @@
"unit": "mm",
"type": "float",
"default_value": 0.3,
"resolve": "sum(extruderValues('layer_height_0')) / len(extruderValues('layer_height_0'))",
"resolve": "min(extruderValues('layer_height_0'))",
"minimum_value": "0.001",
"minimum_value_warning": "0.1",
"maximum_value_warning": "0.8 * min(extruderValues('machine_nozzle_size'))",