Browse Source

JSON: extracted dual extrusion settings and renamed categories Fixes and Line Dimensions to Mesh Fixes and Quality

Tim Kuipers 9 years ago
parent
commit
1684b9c5f1
2 changed files with 232 additions and 217 deletions
  1. 228 0
      resources/settings/dual_extrusion_printer.json
  2. 4 217
      resources/settings/fdmprinter.json

+ 228 - 0
resources/settings/dual_extrusion_printer.json

@@ -0,0 +1,228 @@
+{
+    "version": 1, 
+
+    "inherits": "fdmprinter.json",
+
+    "machine_settings": {
+        "extruder_nr": { "default": 0 }
+    },
+    "categories": {
+        "dual": {
+            "label": "Dual Extrusion",
+            "visible": false,
+            "icon": "category_dual",
+            "settings": {
+                "prime_tower_enable": {
+                    "label": "Enable Prime Tower",
+                    "description": "Print a tower next to the print which serves to prime the material after each nozzle switch.",
+                    "type": "boolean",
+                    "default": false
+                },
+                "prime_tower_size": {
+                    "label": "Prime Tower Size",
+                    "description": "The width of the prime tower.",
+                    "visible": false,
+                    "type": "float",
+                    "unit": "mm",
+                    "default": 15,
+                    "min_value": 0,
+                    "max_value_warning": 20,
+                    "inherit_function": "0 if prime_tower_enable else 15",
+                    "active_if": {
+                        "setting": "prime_tower_enable",
+                        "value": true
+                    }
+                },
+                "prime_tower_position_x": {
+                    "label": "Prime Tower X Position",
+                    "description": "The x position of the prime tower.",
+                    "visible": false,
+                    "type": "float",
+                    "unit": "mm",
+                    "default": 200,
+                    "active_if": {
+                        "setting": "prime_tower_enable",
+                        "value": true
+                    }
+                },
+                "prime_tower_position_y": {
+                    "label": "Prime Tower Y Position",
+                    "description": "The y position of the prime tower.",
+                    "visible": false,
+                    "type": "float",
+                    "unit": "mm",
+                    "default": 200,
+                    "active_if": {
+                        "setting": "prime_tower_enable",
+                        "value": true
+                    }
+                },
+                "prime_tower_flow": {
+                    "label": "Prime Tower Flow",
+                    "description": "Flow compensation: the amount of material extruded is multiplied by this value.",
+                    "visible": false,
+                    "unit": "%",
+                    "default": 100,
+                    "type": "float",
+                    "min_value": 5,
+                    "min_value_warning": 50,
+                    "max_value_warning": 150,
+                    "active_if": {
+                        "setting": "prime_tower_enable",
+                        "value": true
+                    }
+                },
+                "prime_tower_wipe_enabled": {
+                    "label": "Wipe Nozzle on Prime tower",
+                    "description": "After printing the prime tower with the one nozzle, wipe the oozed material from the other nozzle off on the prime tower.",
+                    "type": "boolean",
+                    "default": false,
+                    "active_if": {
+                        "setting": "prime_tower_enable",
+                        "value": true
+                    }
+                },
+                "ooze_shield_enabled": {
+                    "label": "Enable Ooze Shield",
+                    "description": "Enable exterior ooze shield. This will create a shell around the object which is likely to wipe a second nozzle if it's at the same height as the first nozzle.",
+                    "type": "boolean",
+                    "default": false
+                },
+                "ooze_shield_angle": {
+                    "label": "Ooze Shield Angle",
+                    "description": "The maximum angle a part in the ooze shield will have. With 0 degrees being vertical, and 90 degrees being horizontal. A smaller angle leads to less failed ooze shields, but more material.",
+                    "unit": "°",
+                    "type": "float",
+                    "min_value": 0,
+                    "max_value": 90,
+                    "default": 60,
+                    "visible": false,
+                    "active_if": {
+                        "setting": "ooze_shield_enabled",
+                        "value": true
+                    }
+                },
+                "ooze_shield_dist": {
+                    "label": "Ooze Shields Distance",
+                    "description": "Distance of the ooze shield from the print, in the X/Y directions.",
+                    "unit": "mm",
+                    "type": "float",
+                    "min_value": 0,
+                    "max_value_warning": 30,
+                    "default": 2,
+                    "visible": false,
+                    "active_if": {
+                        "setting": "ooze_shield_enabled",
+                        "value": true
+                    }
+                }
+            }
+        },
+        "platform_adhesion": {
+            "settings": {
+                "adhesion_extruder_nr": {
+                    "label": "Platform Adhesion Extruder",
+                    "description": "The extruder train to use for printing the skirt/brim/raft. This is used in multi-extrusion.",
+                    "type": "int",
+                    "default": 0,
+                    "min_value": 0,
+                    "max_value": 16,
+                    "inherit_function": "extruder_nr"
+                }
+            }
+        },
+        "material": {
+            "settings": {
+                "switch_extruder_retraction_amount": {
+                    "label": "Nozzle Switch Retraction Distance",
+                    "description": "The amount of retraction: Set at 0 for no retraction at all. This should generally be the same as the length of the heat zone.",
+                    "unit": "mm",
+                    "type": "float",
+                    "default": 16,
+                    "visible": false,
+                    "inherit_function": "machine_heat_zone_length",
+                    "active_if": {
+                        "setting": "retraction_enable",
+                        "value": true
+                    }
+                },
+                "switch_extruder_retraction_speeds": {
+                    "label": "Nozzle Switch Retraction Speed",
+                    "description": "The speed at which the filament is retracted. A higher retraction speed works better, but a very high retraction speed can lead to filament grinding.",
+                    "unit": "mm/s",
+                    "type": "float",
+                    "default": 20,
+                    "visible": false,
+                    "inherit": false,
+                    "active_if": {
+                        "setting": "retraction_enable",
+                        "value": true
+                    },
+                    "children": {
+                        "switch_extruder_retraction_speed": {
+                            "label": "Nozzle Switch Retract Speed",
+                            "description": "The speed at which the filament is retracted during a nozzle switch retract. ",
+                            "unit": "mm/s",
+                            "type": "float",
+                            "default": 20,
+                            "visible": false,
+                            "active_if": {
+                                "setting": "retraction_enable",
+                                "value": true
+                            }
+                        },
+                        "switch_extruder_prime_speed": {
+                            "label": "Nozzle Switch Prime Speed",
+                            "description": "The speed at which the filament is pushed back after a nozzle switch retraction.",
+                            "unit": "mm/s",
+                            "type": "float",
+                            "default": 20,
+                            "visible": false,
+                            "active_if": {
+                                "setting": "retraction_enable",
+                                "value": true
+                            }
+                        }
+                    }
+                }
+            }
+        },
+        "support": {
+            "settings": {
+                "support_extruder_nr": {
+                    "label": "Support Extruder",
+                    "description": "The extruder train to use for printing the support. This is used in multi-extrusion.",
+                    "type": "int",
+                    "default": 0,
+                    "min_value": 0,
+                    "max_value": 16,
+                    "inherit_function": "extruder_nr",
+                    "children": {
+                        "support_extruder_nr_layer_0": {
+                            "label": "First Layer Support Extruder",
+                            "description": "The extruder train to use for printing the first layer of support. This is used in multi-extrusion.",
+                            "type": "int",
+                            "default": 0,
+                            "min_value": 0,
+                            "max_value": 16,
+                            "inherit": true
+                        },
+                        "support_roof_extruder_nr": {
+                            "label": "Hammock Extruder",
+                            "description": "The extruder train to use for printing the hammock. This is used in multi-extrusion.",
+                            "type": "int",
+                            "default": 0,
+                            "min_value": 0,
+                            "max_value": 16,
+                            "inherit": true,
+                            "active_if": {
+                                "setting": "support_roof_enable",
+                                "value": true
+                            }
+                        }
+                    }
+                },
+            }
+        }
+    }
+}

+ 4 - 217
resources/settings/fdmprinter.json

@@ -48,7 +48,6 @@
         },
         "machine_use_extruder_offset_to_offset_coords": { "default": false },
 
-        "extruder_nr": { "default": 0 },
         "machine_nozzle_offset_x": { "default": 0, "SEE_machine_extruder_trains": true },
         "machine_nozzle_offset_y": { "default": 0, "SEE_machine_extruder_trains": true  },
         "machine_nozzle_size": { "default": 0.4, "SEE_machine_extruder_trains": true  },
@@ -125,8 +124,8 @@
         }
     },
     "categories": {
-        "layer_height": {
-            "label": "Line dimensions",
+        "resolution": {
+            "label": "Quality",
             "visible": true,
             "icon": "category_layer_height",
             "settings": {
@@ -278,83 +277,6 @@
                 }
             }
         },
-        "dual": {
-            "label": "Dual Extrusion",
-            "visible": false,
-            "icon": "category_dual",
-            "settings": {
-                "prime_tower_enable": {
-                    "label": "Enable Prime Tower",
-                    "description": "Print a tower next to the print which serves to prime the material after each nozzle switch.",
-                    "type": "boolean",
-                    "default": false
-                },
-                "prime_tower_size": {
-                    "label": "Prime Tower Size",
-                    "description": "The width of the prime tower.",
-                    "visible": false,
-                    "type": "float",
-                    "unit": "mm",
-                    "default": 15,
-                    "min_value": 0,
-                    "max_value_warning": 20,
-                    "inherit_function": "0 if prime_tower_enable else 15",
-                    "active_if": {
-                        "setting": "prime_tower_enable",
-                        "value": true
-                    }
-                },
-                "prime_tower_position_x": {
-                    "label": "Prime Tower X Position",
-                    "description": "The x position of the prime tower.",
-                    "visible": false,
-                    "type": "float",
-                    "unit": "mm",
-                    "default": 200,
-                    "active_if": {
-                        "setting": "prime_tower_enable",
-                        "value": true
-                    }
-                },
-                "prime_tower_position_y": {
-                    "label": "Prime Tower Y Position",
-                    "description": "The y position of the prime tower.",
-                    "visible": false,
-                    "type": "float",
-                    "unit": "mm",
-                    "default": 200,
-                    "active_if": {
-                        "setting": "prime_tower_enable",
-                        "value": true
-                    }
-                },
-                "prime_tower_flow": {
-                    "label": "Prime Tower Flow",
-                    "description": "Flow compensation: the amount of material extruded is multiplied by this value.",
-                    "visible": false,
-                    "unit": "%",
-                    "default": 100,
-                    "type": "float",
-                    "min_value": 5,
-                    "min_value_warning": 50,
-                    "max_value_warning": 150,
-                    "active_if": {
-                        "setting": "prime_tower_enable",
-                        "value": true
-                    }
-                },
-                "prime_tower_wipe_enabled": {
-                    "label": "Wipe Nozzle on Prime tower",
-                    "description": "After printing the prime tower with the one nozzle, wipe the oozed material from the other nozzle off on the prime tower.",
-                    "type": "boolean",
-                    "default": false,
-                    "active_if": {
-                        "setting": "prime_tower_enable",
-                        "value": true
-                    }
-                }
-            }
-        },
         "shell": {
             "label": "Shell",
             "visible": true,
@@ -779,58 +701,6 @@
                         "setting": "retraction_enable",
                         "value": true
                     }
-                },
-                "switch_extruder_retraction_amount": {
-                    "label": "Nozzle Switch Retraction Distance",
-                    "description": "The amount of retraction: Set at 0 for no retraction at all. This should generally be the same as the length of the heat zone.",
-                    "unit": "mm",
-                    "type": "float",
-                    "default": 16,
-                    "visible": false,
-                    "inherit_function": "machine_heat_zone_length",
-                    "active_if": {
-                        "setting": "retraction_enable",
-                        "value": true
-                    }
-                },
-                "switch_extruder_retraction_speeds": {
-                    "label": "Nozzle Switch Retraction Speed",
-                    "description": "The speed at which the filament is retracted. A higher retraction speed works better, but a very high retraction speed can lead to filament grinding.",
-                    "unit": "mm/s",
-                    "type": "float",
-                    "default": 20,
-                    "visible": false,
-                    "inherit": false,
-                    "active_if": {
-                        "setting": "retraction_enable",
-                        "value": true
-                    },
-                    "children": {
-                        "switch_extruder_retraction_speed": {
-                            "label": "Nozzle Switch Retract Speed",
-                            "description": "The speed at which the filament is retracted during a nozzle switch retract. ",
-                            "unit": "mm/s",
-                            "type": "float",
-                            "default": 20,
-                            "visible": false,
-                            "active_if": {
-                                "setting": "retraction_enable",
-                                "value": true
-                            }
-                        },
-                        "switch_extruder_prime_speed": {
-                            "label": "Nozzle Switch Prime Speed",
-                            "description": "The speed at which the filament is pushed back after a nozzle switch retraction.",
-                            "unit": "mm/s",
-                            "type": "float",
-                            "default": 20,
-                            "visible": false,
-                            "active_if": {
-                                "setting": "retraction_enable",
-                                "value": true
-                            }
-                        }
-                    }
                 }
             }
         },
@@ -1285,15 +1155,6 @@
                     ],
                     "default": "Skirt"
                 },
-                "adhesion_extruder_nr": {
-                    "label": "Platform Adhesion Extruder",
-                    "description": "The extruder train to use for printing the skirt/brim/raft. This is used in multi-extrusion.",
-                    "type": "int",
-                    "default": 0,
-                    "min_value": 0,
-                    "max_value": 16,
-                    "inherit_function": "extruder_nr"
-                },
                 "skirt_line_count": {
                     "label": "Skirt Line Count",
                     "description": "The skirt is a line drawn around the first layer of the. This helps to prime your extruder, and to see if the object fits on your platform. Setting this to 0 will disable the skirt. Multiple skirt lines can help to prime your extruder better for small objects.",
@@ -1562,47 +1423,6 @@
                             "inherit": true
                         }
                     }
-                }
-            }
-        },
-        "shield": {
-            "label": "Shielding",
-            "visible": true,
-            "icon": "category_shield",
-            "settings": {
-                "ooze_shield_enabled": {
-                    "label": "Enable Ooze Shield",
-                    "description": "Enable exterior ooze shield. This will create a shell around the object which is likely to wipe a second nozzle if it's at the same height as the first nozzle.",
-                    "type": "boolean",
-                    "default": false
-                },
-                "ooze_shield_angle": {
-                    "label": "Ooze Shield Angle",
-                    "description": "The maximum angle a part in the ooze shield will have. With 0 degrees being vertical, and 90 degrees being horizontal. A smaller angle leads to less failed ooze shields, but more material.",
-                    "unit": "°",
-                    "type": "float",
-                    "min_value": 0,
-                    "max_value": 90,
-                    "default": 60,
-                    "visible": false,
-                    "active_if": {
-                        "setting": "ooze_shield_enabled",
-                        "value": true
-                    }
-                },
-                "ooze_shield_dist": {
-                    "label": "Ooze Shields Distance",
-                    "description": "Distance of the ooze shield from the print, in the X/Y directions.",
-                    "unit": "mm",
-                    "type": "float",
-                    "min_value": 0,
-                    "max_value_warning": 30,
-                    "default": 2,
-                    "visible": false,
-                    "active_if": {
-                        "setting": "ooze_shield_enabled",
-                        "value": true
-                    }
                 },
                 "draft_shield_enabled": {
                     "label": "Enable Draft Shield",
@@ -1668,39 +1488,6 @@
                     "type": "boolean",
                     "default": true
                 },
-                "support_extruder_nr": {
-                    "label": "Support Extruder",
-                    "description": "The extruder train to use for printing the support. This is used in multi-extrusion.",
-                    "type": "int",
-                    "default": 0,
-                    "min_value": 0,
-                    "max_value": 16,
-                    "inherit_function": "extruder_nr",
-                    "children": {
-                        "support_extruder_nr_layer_0": {
-                            "label": "First Layer Support Extruder",
-                            "description": "The extruder train to use for printing the first layer of support. This is used in multi-extrusion.",
-                            "type": "int",
-                            "default": 0,
-                            "min_value": 0,
-                            "max_value": 16,
-                            "inherit": true
-                        },
-                        "support_roof_extruder_nr": {
-                            "label": "Hammock Extruder",
-                            "description": "The extruder train to use for printing the hammock. This is used in multi-extrusion.",
-                            "type": "int",
-                            "default": 0,
-                            "min_value": 0,
-                            "max_value": 16,
-                            "inherit": true,
-                            "active_if": {
-                                "setting": "support_roof_enable",
-                                "value": true
-                            }
-                        }
-                    }
-                },
                 "support_type": {
                     "label": "Placement",
                     "description": "Where to place support structures. The placement can be restricted such that the support structures won't rest on the model, which could otherwise cause scarring.",
@@ -1844,7 +1631,7 @@
                     "description": "Amount of offset applied to all support polygons in each layer. Positive values can smooth out the support areas and result in more sturdy support.",
                     "unit": "mm",
                     "type": "float",
-                    "default": 1.0,
+                    "default": 0.2,
                     "visible": false
                 },
                 "support_area_smoothing": {
@@ -1979,7 +1766,7 @@
             }
         },
         "meshfix": {
-            "label": "Fixes",
+            "label": "Mesh Fixes",
             "visible": true,
             "icon": "category_fixes",
             "settings": {