Browse Source

Merge pull request #7999 from Ultimaker/CURA-6684_remove_extra_skin_wall_count_in_concentric

Value of skin_outline_count reverts to 0 when concentric top/bottom used
Konstantinos Karmas 4 years ago
parent
commit
f355dc12ee

+ 2 - 1
resources/definitions/fdmprinter.def.json

@@ -1510,11 +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",
                     "default_value": 1,
                     "minimum_value": "0",
                     "maximum_value_warning": "10",
                     "type": "int",
-                    "enabled": "top_layers > 0 or bottom_layers > 0",
+                    "enabled": "(top_layers > 0 or bottom_layers > 0) and top_bottom_pattern != 'concentric'",
                     "limit_to_extruder": "top_bottom_extruder_nr",
                     "settable_per_mesh": true
                 },

+ 1 - 1
resources/definitions/skriware_2.def.json

@@ -447,7 +447,7 @@
             "value": "5"
         },
         "skin_outline_count": {
-            "default_value": 0
+            "value": 0
         },
         "skirt_brim_speed": {
             "value": "10.0"