Make support line distance only give warning if actually less than line width

Otherwise you get a warning with the default settings.
This commit is contained in:
Ghostkeeper 2016-11-21 13:28:40 +01:00
parent aceff72c34
commit 50609bfe7e
No known key found for this signature in database
GPG Key ID: C5F96EE2BC0F7E75

View File

@ -2896,7 +2896,7 @@
"type": "float",
"default_value": 0.4,
"minimum_value": "0",
"minimum_value_warning": "support_interface_line_width",
"minimum_value_warning": "support_interface_line_width - 0.0001",
"value": "0 if support_interface_density == 0 else (support_interface_line_width * 100) / support_interface_density * (2 if support_interface_pattern == 'grid' else (3 if support_interface_pattern == 'triangles' else 1))",
"limit_to_extruder": "support_interface_extruder_nr",
"enabled": "extruderValue(support_interface_extruder_nr, 'support_interface_enable') and support_enable",