Add warning max-value to skin-edge-support settings.

Can keep the CPUoccupied for a long time with higher values. Decided that very few people will need that many layers anyway. Rather than complete defer, at least warn people something might be up.

a 5-min. fix
This commit is contained in:
Remco Burema 2020-09-30 12:41:36 +02:00
parent 1ac59d8857
commit 395cdc14bb
No known key found for this signature in database
GPG key ID: 215C49431D43F98C

View file

@ -2100,6 +2100,7 @@
"default_value": 0.8,
"minimum_value": "0",
"maximum_value": "machine_height",
"maximum_value_warning": "resolveOrValue('infill_sparse_thickness') * 10",
"type": "float",
"value": "0 if infill_sparse_density > 0 else 0",
"limit_to_extruder": "infill_extruder_nr",
@ -2113,6 +2114,7 @@
"description": "The number of infill layers that supports skin edges.",
"default_value": 4,
"minimum_value": "0",
"maximum_value_warning": "10",
"type": "int",
"value": "math.ceil(round(skin_edge_support_thickness / resolveOrValue('infill_sparse_thickness'), 4))",
"limit_to_extruder": "infill_extruder_nr",