From 2783a4b8b6bd40a3f0264310138c90a357858e99 Mon Sep 17 00:00:00 2001 From: Tim Kuipers Date: Tue, 3 Nov 2015 16:30:19 +0100 Subject: [PATCH] JSON: support roof extruder and support first_layer_extruder were illegitimate children of support_extruder_nr --- .../machines/dual_extrusion_printer.json | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/resources/machines/dual_extrusion_printer.json b/resources/machines/dual_extrusion_printer.json index eb168e6e89..b86d94b755 100644 --- a/resources/machines/dual_extrusion_printer.json +++ b/resources/machines/dual_extrusion_printer.json @@ -84,26 +84,26 @@ "type": "int", "default": 0, "min_value": "0", + "max_value": "16" + }, + "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", - "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" - }, - "support_roof_extruder_nr": { - "label": "Support Roof Extruder", - "description": "The extruder train to use for printing the roof of the support. This is used in multi-extrusion.", - "type": "int", - "default": 0, - "min_value": "0", - "max_value": "16", - "enabled": "support_roof_enable" - } - } + "inherit_function": "support_extruder_nr" + }, + "support_roof_extruder_nr": { + "label": "Support Roof Extruder", + "description": "The extruder train to use for printing the roof of the support. This is used in multi-extrusion.", + "type": "int", + "default": 0, + "min_value": "0", + "max_value": "16", + "inherit_function": "support_extruder_nr", + "enabled": "support_roof_enable" } } },