From 976abd5df8fc4b95b990346cbfacb609c38e67ef Mon Sep 17 00:00:00 2001 From: Tim Kuipers Date: Tue, 1 Dec 2015 16:06:19 +0100 Subject: [PATCH] JSON: support extruder nr for roof/layer_0 children of support_extruder_nr and introduced new support_infill_extruder_nr (CURA-366) The engine now retrieves support_infill_extruder_nr instead of support_extruder_nr --- .../machines/dual_extrusion_printer.json | 46 +++++++++++-------- 1 file changed, 27 insertions(+), 19 deletions(-) diff --git a/resources/machines/dual_extrusion_printer.json b/resources/machines/dual_extrusion_printer.json index 4aad81b05d..57dc5b40bf 100644 --- a/resources/machines/dual_extrusion_printer.json +++ b/resources/machines/dual_extrusion_printer.json @@ -84,26 +84,34 @@ "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", - "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" + "children": { + "support_infill_extruder_nr": { + "label": "Support Infill Extruder", + "description": "The extruder train to use for printing the infill of the support. This is used in multi-extrusion.", + "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 infill. 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" + } + } } } },