Allow zig-zaggifying infill for patterns other than Cross as well

It is now supported for any linear-based infill except zigzag (which has its own algorithm; that's a TODO).

Contributes to issue CURA-4017.
This commit is contained in:
Ghostkeeper 2018-02-21 08:43:39 +01:00
parent 03265cb90a
commit 31ad0dd56c
No known key found for this signature in database
GPG Key ID: 5252B696FB5E7C7A

View File

@ -1528,7 +1528,7 @@
"description": "Connect the ends where the infill pattern meets the inner wall using a line which follows the shape of the inner wall. Enabling this setting can make the infill adhere to the walls better and reduce the effects of infill on the quality of vertical surfaces. Disabling this setting reduces the amount of material used.",
"type": "bool",
"default_value": true,
"enabled": "infill_pattern == 'cross' or infill_pattern == 'cross_3d' or infill_pattern == 'grid' or infill_pattern == 'triangles'",
"enabled": "infill_pattern == 'grid' || infill_pattern == 'triangles' || infill_pattern == 'trihexagon' || infill_pattern == 'cubic' || infill_pattern == 'tetrahedral' || infill_pattern == 'quarter_cubic' || infill_pattern == 'cross' || infill_pattern == 'cross_3d'",
"settable_per_mesh": true
},
"infill_angles":