Browse Source

moved new speed and line width settings to overrides

Tim Kuipers 9 years ago
parent
commit
3d58939738
1 changed files with 33 additions and 39 deletions
  1. 33 39
      resources/settings/dual_extrusion_printer.json

+ 33 - 39
resources/settings/dual_extrusion_printer.json

@@ -19,52 +19,46 @@
         "machine_extruder_end_pos_y": { "default": 0, "SEE_machine_extruder_trains": true   },
         "machine_extruder_end_code": { "default": "", "SEE_machine_extruder_trains": true  }
     },
-    "categories": {
-        "resolution": {
-            "settings": {
-                "line_width": {
-                    "children": {
-                        "prime_tower_line_width": {
-                            "label": "Prime Tower Line Width",
-                            "description": "Width of a single prime tower line.",
-                            "unit": "mm",
-                            "min_value": 0.0001,
-                            "min_value_warning": 0.2,
-                            "max_value_warning": 5,
-                            "default": 0.4,
-                            "type": "float",
-                            "visible": false,
-                            "active_if": {
-                                "setting": "prime_tower_enable",
-                                "value": true
-                            }
-                        }
+    "overrides": {
+        "speed_print": {
+            "children": {
+                "speed_prime_tower": {
+                    "label": "Prime Tower Speed",
+                    "description": "The speed at which the prime tower is printed. Printing the prime tower slower can make it more stable when the adhesion between the different filaments is suboptimal.",
+                    "unit": "mm/s",
+                    "type": "float",
+                    "min_value": 0.1,
+                    "max_value_warning": 150,
+                    "default": 50,
+                    "visible": false,
+                    "active_if": {
+                        "setting": "prime_tower_enable",
+                        "value": true
                     }
                 }
             }
         },
-        "speed": {
-            "settings": {
-                "speed_print": {
-                    "children": {
-                        "speed_prime_tower": {
-                            "label": "Prime Tower Speed",
-                            "description": "The speed at which the prime tower is printed. Printing the prime tower slower can make it more stable when the adhesion between the different filaments is suboptimal.",
-                            "unit": "mm/s",
-                            "type": "float",
-                            "min_value": 0.1,
-                            "max_value_warning": 150,
-                            "default": 50,
-                            "visible": false,
-                            "active_if": {
-                                "setting": "prime_tower_enable",
-                                "value": true
-                            }
-                        }
+        "line_width": {
+            "children": {
+                "prime_tower_line_width": {
+                    "label": "Prime Tower Line Width",
+                    "description": "Width of a single prime tower line.",
+                    "unit": "mm",
+                    "min_value": 0.0001,
+                    "min_value_warning": 0.2,
+                    "max_value_warning": 5,
+                    "default": 0.4,
+                    "type": "float",
+                    "visible": false,
+                    "active_if": {
+                        "setting": "prime_tower_enable",
+                        "value": true
                     }
                 }
             }
-        },
+        }
+    },
+    "categories": {
         "dual": {
             "label": "Dual Extrusion",
             "visible": false,