Add some value constraints to z_offset_layer_0.

Now the offset cannot be such that the first layer would be less than 1/2 of its normal height.

Warnings shown when first layer is less than 80% or more than 200% of its normal height.
This commit is contained in:
Mark Burton 2017-08-23 21:52:21 +01:00
parent d3e45e6892
commit 5cbead5128

View file

@ -4095,6 +4095,9 @@
"unit": "mm",
"type": "float",
"default_value": 0,
"minimum_value": "-layer_height_0 * 0.5",
"minimum_value_warning": "-layer_height_0 * 0.2",
"maximum_value_warning": "layer_height_0",
"enabled": "resolveOrValue('adhesion_type') != 'raft'",
"settable_per_mesh": false,
"settable_per_extruder": false