Don't set a formula that'll evaluate to 'on' for randomize infill start.

It's policy to default to the old behaviour as much as possible for new features. We can maybe default to true (for these values) if we ask the materials team later. Instead opted to warn the user if the infill isn't in the list of those patterns.

part of CURA-6463
This commit is contained in:
Remco Burema 2019-08-09 14:27:42 +02:00
parent 606bc851a8
commit 44d65b2528

View file

@ -1729,7 +1729,7 @@
"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": false,
"value": "infill_pattern in ('grid', 'triangles', 'trihexagon', 'cubic', 'cubicsubdiv', 'tetrahedral', 'quarter_cubic')",
"warning_value": "True if infill_pattern not in ('grid', 'triangles', 'trihexagon', 'cubic', 'cubicsubdiv', 'tetrahedral', 'quarter_cubic') else None",
"enabled": "not ((infill_pattern == 'cross' and connect_infill_polygons) or infill_pattern == 'concentric')",
"limit_to_extruder": "infill_extruder_nr",
"settable_per_mesh": true