Hide Extra Skin Wall Count in concentric

When the Bottom Layer Initial Pattern and Top/Bottom Pattern are set to concentric
AND the Top Surface Skin Layers are 0, hide the Extra Skin Wall Count, as it has not
effect.

CURA-6684
This commit is contained in:
Kostas Karmas 2020-07-08 15:54:46 +02:00
parent 141ad8ff1d
commit b3d6faffa8

View File

@ -1510,12 +1510,12 @@
{
"label": "Extra Skin Wall Count",
"description": "Replaces the outermost part of the top/bottom pattern with a number of concentric lines. Using one or two lines improves roofs that start on infill material.",
"value": "0 if top_bottom_pattern == 'concentric' else 1",
"value": "0 if top_bottom_pattern == 'concentric' and top_bottom_pattern_0 == 'concentric' and roofing_layer_count <= 0 else 1",
"default_value": 1,
"minimum_value": "0",
"maximum_value_warning": "10",
"type": "int",
"enabled": "(top_layers > 0 or bottom_layers > 0) and top_bottom_pattern != 'concentric'",
"enabled": "(top_layers > 0 or bottom_layers > 0) and not (top_bottom_pattern == 'concentric' and top_bottom_pattern_0 == 'concentric' and roofing_layer_count <= 0)",
"limit_to_extruder": "top_bottom_extruder_nr",
"settable_per_mesh": true
},