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
This commit is contained in:
Konstantinos Karmas 2021-09-28 15:15:37 +02:00
parent 96f989c33b
commit f1174cb7f6

View File

@ -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