Make warning values for support interface depend on Z distance

Rather than a hard-coded 0.2mm. The point of these is to ensure that there is always one layer.
This commit is contained in:
Ghostkeeper 2020-02-25 14:42:11 +01:00
parent dba35dc664
commit b4a646c191
No known key found for this signature in database
GPG Key ID: 37E2020986774393

View File

@ -4607,7 +4607,7 @@
"type": "float",
"default_value": 1,
"minimum_value": "0",
"minimum_value_warning": "0.2 + layer_height",
"minimum_value_warning": "support_top_distance + layer_height",
"maximum_value_warning": "10",
"value": "extruderValue(support_roof_extruder_nr, 'support_interface_height')",
"limit_to_extruder": "support_roof_extruder_nr",
@ -4623,7 +4623,7 @@
"default_value": 1,
"value": "extruderValue(support_bottom_extruder_nr, 'support_interface_height')",
"minimum_value": "0",
"minimum_value_warning": "min(0.2 + layer_height, support_bottom_stair_step_height)",
"minimum_value_warning": "min(support_bottom_distance + layer_height, support_bottom_stair_step_height)",
"maximum_value_warning": "10",
"limit_to_extruder": "support_bottom_extruder_nr",
"enabled": "support_bottom_enable and (support_enable or support_tree_enable)",