Add infill_angles setting to control direction of lines and zig zag infill.

This setting provides 4 options:

Default - the original directions, 45 and 135.

Uniform - one each of 45, 90, 135 and 180.

Stronger X - 45, 90, 135 and 90 again - provides more strength in X direction.

Stronger Y - 45, 0, 135 and 0 again - provides more strength in Y direction.
This commit is contained in:
Mark Burton 2016-12-28 08:38:33 +00:00
parent 84871017b8
commit 2caddee2fa

View file

@ -1071,6 +1071,22 @@
"value": "'lines' if infill_sparse_density > 25 else 'grid'",
"settable_per_mesh": true
},
"infill_angles":
{
"label": "Infill Line Directions",
"description": "The line directions to use when the infill pattern is lines or zig zag. Default directions are 45 and 135 degrees, Uniform directions are 45, 90, 135 and 180, Stronger X directions are 45, 90, 135 and 90 again and Stronger Y directions are 45, 0, 135 and 0 again.",
"type": "enum",
"options":
{
"45,135": "Default",
"45,90,135,180": "Uniform",
"45,90,135,90": "Stronger X",
"45,0,135,0": "Stronger Y"
},
"default_value": "45,135",
"enabled": "infill_pattern == 'lines' or infill_pattern == 'zigzag'",
"settable_per_mesh": true
},
"sub_div_rad_mult":
{
"label": "Cubic Subdivision Radius",