Просмотр исходного кода

Hide "Extra Skin Wall Count" if roofing pattern is also concentric

Now the ESWC will disappear if:
 * the "Top/Bottom Pattern" is Concentric
 * AND the "Bottom Pattern Initial Layer" is Concentric
 * AND there are top surface skin layers and the roofing pattern is Concentric

CURA-6684
Kostas Karmas 4 лет назад
Родитель
Сommit
5d5d30f9f7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      resources/definitions/fdmprinter.def.json

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

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