Browse Source

Merge branch 'libArachne_rebased' into CURA-7678_remove_inset_usage

Ghostkeeper 4 years ago
parent
commit
5107c0deea
1 changed files with 50 additions and 1 deletions
  1. 50 1
      resources/definitions/fdmprinter.def.json

+ 50 - 1
resources/definitions/fdmprinter.def.json

@@ -1056,7 +1056,7 @@
                 "beading_strategy_type":
                 {
                     "label": "Variable Line Strategy",
-                    "description": "Beading strategy used by libArachne to generate walls.",
+                    "description": "Strategy to use to print the width of a part with a number of walls. This determines how many walls it will use for a certain total width, and how wide each of these lines are. \"Center Deviation\" will print all walls at the nominal line width except the central one(s), causing big variations in the center but very consistent outsides. \"Distributed\" distributes the width equally over all walls. \"Inward Distributed\" is a balance between the other two, distributing the changes in width over all walls but keeping the walls on the outside slightly more consistent.",
                     "type": "enum",
                     "options":
                     {
@@ -1067,6 +1067,55 @@
                     "default_value": "inward_distributed",
                     "limit_to_extruder": "wall_0_extruder_nr"
                 },
+                "wall_transition_threshold":
+                {
+                    "label": "Minimum Variable Line Width",
+                    "description": "The smallest line width, as a factor of the normal line width, beyond which it will choose to use fewer, but wider lines to fill the available space. Reduce this threshold to use more, thinner lines. Increase to use fewer, wider lines.",
+                    "type": "float",
+                    "unit": "%",
+                    "default_value": 50,
+                    "minimum_value": "1",
+                    "minimum_value_warning": "min_bead_width / line_width * 100",
+                    "maximum_value_warning": "75",
+                    "maximum_value": "100"
+                },
+                "wall_transition_length":
+                {
+                    "label": "Wall Transition Length",
+                    "description": "When transitioning between different numbers of walls as the part becomes thinner, a certain amount of space is allotted to split or join the wall lines.",
+                    "type": "float",
+                    "unit": "mm",
+                    "default_value": 0.4,
+                    "value": "line_width",
+                    "minimum_value": "0.001",
+                    "minimum_value_warning": "0.5 * line_width",
+                    "maximum_value_warning": "2 * line_width",
+                    "maximum_value": "min_bead_width * 3 * math.pi"
+                },
+                "wall_transition_angle":
+                {
+                    "label": "Wall Transition Angle",
+                    "description": "When transitioning between different numbers of walls as the part becomes thinner, two adjacent walls will join together at this angle. This can make the walls come together faster than what the Wall Transition Length indicates, filling the space better.",
+                    "type": "float",
+                    "unit": "°",
+                    "default_value": 30,
+                    "minimum_value": "1",
+                    "minimum_value_warning": "15",
+                    "maximum_value_warning": "50",
+                    "maximum_value": "59"
+                },
+                "wall_transition_filter_distance":
+                {
+                    "label": "Wall Transition Distance Filter",
+                    "description": "If it would be transitioning back and forth between different numbers of walls in quick succession, don't transition at all. Remove transitions if they are closer together than this distance.",
+                    "type": "float",
+                    "unit": "mm",
+                    "default_value": 0.7,
+                    "value": "2 * math.cos(wall_transition_angle / 180 * math.pi) * wall_line_width_x",
+                    "minimum_value": "wall_transition_length",
+                    "minimum_value_warning": "math.cos(wall_transition_angle / 180 * math.pi) * wall_line_width_x",
+                    "maximum_value_warning": "8 * math.cos(wall_transition_angle / 180 * math.pi) * wall_line_width_x"
+                },
                 "wall_0_wipe_dist":
                 {
                     "label": "Outer Wall Wipe Distance",