Browse Source

Merge pull request #3479 from smartavionics/mb-wall-min-flow

Added wall_min_flow and wall_min_flow_retract settings.
Ian Paschal 6 years ago
parent
commit
d68b44791b
1 changed files with 23 additions and 0 deletions
  1. 23 0
      resources/definitions/fdmprinter.def.json

+ 23 - 0
resources/definitions/fdmprinter.def.json

@@ -1274,6 +1274,29 @@
                             "value": "travel_compensate_overlapping_walls_enabled",
                             "limit_to_extruder": "wall_x_extruder_nr",
                             "settable_per_mesh": true
+                        },
+                        "wall_min_flow":
+                        {
+                            "label": "Minimum Wall Flow",
+                            "description": "Minimum allowed percentage flow for a wall line. The wall overlap compensation reduces a wall's flow when it lies close to an existing wall. Walls whose flow is less than this value will be replaced with a travel move. When using this setting, you must enable the wall overlap compensation and print the outer wall before inner walls.",
+                            "unit": "%",
+                            "minimum_value": "0",
+                            "maximum_value": "100",
+                            "default_value": 0,
+                            "type": "float",
+                            "enabled": "travel_compensate_overlapping_walls_0_enabled or travel_compensate_overlapping_walls_x_enabled",
+                            "settable_per_mesh": false,
+                            "settable_per_extruder": true
+                        },
+                        "wall_min_flow_retract":
+                        {
+                            "label": "Prefer Retract",
+                            "description": "If enabled, retraction is used rather than combing for travel moves that replace walls whose flow is below the minimum flow threshold.",
+                            "type": "bool",
+                            "default_value": false,
+                            "enabled": "(travel_compensate_overlapping_walls_0_enabled or travel_compensate_overlapping_walls_x_enabled) and wall_min_flow > 0",
+                            "settable_per_mesh": false,
+                            "settable_per_extruder": true
                         }
                     }
                 },