From 2caddee2fa9e7e696f77426e4cd1e0842f8bc0e5 Mon Sep 17 00:00:00 2001 From: Mark Burton Date: Wed, 28 Dec 2016 08:38:33 +0000 Subject: [PATCH] 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. --- resources/definitions/fdmprinter.def.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/resources/definitions/fdmprinter.def.json b/resources/definitions/fdmprinter.def.json index 842a2a5bfd..3938ecaaad 100644 --- a/resources/definitions/fdmprinter.def.json +++ b/resources/definitions/fdmprinter.def.json @@ -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",