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

Enable the "Not on outer surfaces" combing mode if monotonic or ironing

The "Combing": "Not in outer surfaces" option will be activated for all extruders in the following cases:

1. Monotonic Top/Bottom Order is enabled (in any extruder)
2. Ironing is enabled (in any extruder)
3. Top Surface Skin Layers > 0 and Monotonic Top Surface Order is enabled (in any extruder)

CURA-7976
Konstantinos Karmas 3 лет назад
Родитель
Сommit
f1174cb7f6
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      resources/definitions/fdmprinter.def.json

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

@@ -3855,6 +3855,7 @@
                         "infill": "Within Infill"
                     },
                     "default_value": "all",
+                    "value": "'no_outer_surfaces' if (any(extruderValues('skin_monotonic')) or any(extruderValues('ironing_enabled')) or (any(extruderValues('roofing_monotonic')) and any(extruderValues('roofing_layer_count')))) else 'all'",
                     "resolve": "'noskin' if 'noskin' in extruderValues('retraction_combing') else ('infill' if 'infill' in extruderValues('retraction_combing') else ('all' if 'all' in extruderValues('retraction_combing') else ('no_outer_surfaces' if 'no_outer_surfaces' in extruderValues('retraction_combing') else 'off')))",
                     "settable_per_mesh": false,
                     "settable_per_extruder": false