From 7ccf1cd617186671da7fb594864915482d961bc5 Mon Sep 17 00:00:00 2001 From: Tim Kuipers Date: Thu, 11 Apr 2019 14:08:49 +0200 Subject: [PATCH] Revert "Revert "JSON: new setting infill_randomize_start_location"" This reverts commit cc9aa1129a7795a9bcc13bf4916d38a2c4b11375. Reintroduce the feature which I reverted on master (because I accidentally pushed to master). --- resources/definitions/fdmprinter.def.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/resources/definitions/fdmprinter.def.json b/resources/definitions/fdmprinter.def.json index 8ce0246a93..4eeac55183 100644 --- a/resources/definitions/fdmprinter.def.json +++ b/resources/definitions/fdmprinter.def.json @@ -1723,6 +1723,17 @@ "limit_to_extruder": "infill_extruder_nr", "settable_per_mesh": true }, + "infill_randomize_start_location": + { + "label": "Randomize Infill Start", + "description": "Randomize which infill line is printed first. This prevents one segment becoming the strongest, but it does so at the cost of an additional travel move.", + "type": "bool", + "default_value": true, + "value": "infill_pattern == 'grid' or infill_pattern == 'triangles' or infill_pattern == 'trihexagon' or infill_pattern == 'triangles' or infill_pattern == 'cubic' or infill_pattern == 'cubicsubdiv' or infill_pattern == 'tetrahedral' or infill_pattern == 'quarter_cubic'", + "enabled": "not ((infill_pattern == 'cross' and connect_infill_polygons) or infill_pattern == 'concentric')", + "limit_to_extruder": "infill_extruder_nr", + "settable_per_mesh": true + }, "infill_multiplier": { "label": "Infill Line Multiplier",