From d0626f8c8ae93cf3a614b2b2bbd4dcdfe4ff0c7e Mon Sep 17 00:00:00 2001 From: fieldOfView Date: Thu, 16 Jun 2016 15:32:44 +0200 Subject: [PATCH] Add hypothetical multiextrusion printer to test --- .../definitions/hypothetical_multi.def.json | 35 +++++++++++++++++++ .../hypothetical_multi_extruder_1.def.json | 19 ++++++++++ .../hypothetical_multi_extruder_2.def.json | 19 ++++++++++ .../hypothetical_multi_extruder_3.def.json | 19 ++++++++++ .../hypothetical_multi_extruder_4.def.json | 19 ++++++++++ .../variants/hypothetical_multi_0.4.inst.cfg | 11 ++++++ .../variants/hypothetical_multi_0.6.inst.cfg | 11 ++++++ 7 files changed, 133 insertions(+) create mode 100644 resources/definitions/hypothetical_multi.def.json create mode 100644 resources/extruders/hypothetical_multi_extruder_1.def.json create mode 100644 resources/extruders/hypothetical_multi_extruder_2.def.json create mode 100644 resources/extruders/hypothetical_multi_extruder_3.def.json create mode 100644 resources/extruders/hypothetical_multi_extruder_4.def.json create mode 100644 resources/variants/hypothetical_multi_0.4.inst.cfg create mode 100644 resources/variants/hypothetical_multi_0.6.inst.cfg diff --git a/resources/definitions/hypothetical_multi.def.json b/resources/definitions/hypothetical_multi.def.json new file mode 100644 index 0000000000..e60c9acabd --- /dev/null +++ b/resources/definitions/hypothetical_multi.def.json @@ -0,0 +1,35 @@ +{ + "id": "hypothetical_multi", + "version": 2, + "name": "Hypothetical Multiextrusion printer", + "inherits": "fdmprinter", + "metadata": { + "author": "fieldOfView", + "manufacturer": "fieldOfView", + "category": "fieldOfView", + "visible": true, + "file_formats": "text/x-gcode", + "machine_extruder_trains": + { + "0": "hypothetical_multi_extruder_1", + "1": "hypothetical_multi_extruder_2", + "2": "hypothetical_multi_extruder_3", + "3": "hypothetical_multi_extruder_4" + }, + "preferred_material": "*pla*", + "preferred_quality": "*normal*", + "has_variants": true, + "has_materials": true + }, + + + + "overrides": { + "machine_width": { "default_value": 220 }, + "machine_depth": { "default_value": 215 }, + "machine_height": { "default_value": 200 }, + "machine_heated_bed": { "default_value": true }, + "machine_show_variants": { "default_value": true }, + "machine_extruder_count": { "default_value": 4 } + } +} diff --git a/resources/extruders/hypothetical_multi_extruder_1.def.json b/resources/extruders/hypothetical_multi_extruder_1.def.json new file mode 100644 index 0000000000..6b75d33079 --- /dev/null +++ b/resources/extruders/hypothetical_multi_extruder_1.def.json @@ -0,0 +1,19 @@ +{ + "id": "hypothetical_multi_extruder_1", + "version": 2, + "name": "1st Extruder", + "inherits": "fdmextruder", + "metadata": { + "machine": "hypothetical_multi", + "position": "0" + }, + + "overrides": { + "extruder_nr": { + "default_value": 0, + "maximum_value": "3" + }, + "machine_nozzle_offset_x": { "default_value": 0.0 }, + "machine_nozzle_offset_y": { "default_value": 0.0 } + } +} diff --git a/resources/extruders/hypothetical_multi_extruder_2.def.json b/resources/extruders/hypothetical_multi_extruder_2.def.json new file mode 100644 index 0000000000..9c3c1b265b --- /dev/null +++ b/resources/extruders/hypothetical_multi_extruder_2.def.json @@ -0,0 +1,19 @@ +{ + "id": "hypothetical_multi_extruder_2", + "version": 2, + "name": "2nd Extruder", + "inherits": "fdmextruder", + "metadata": { + "machine": "hypothetical_multi", + "position": "1" + }, + + "overrides": { + "extruder_nr": { + "default_value": 1, + "maximum_value": "3" + }, + "machine_nozzle_offset_x": { "default_value": 18.0 }, + "machine_nozzle_offset_y": { "default_value": 0.0 } + } +} diff --git a/resources/extruders/hypothetical_multi_extruder_3.def.json b/resources/extruders/hypothetical_multi_extruder_3.def.json new file mode 100644 index 0000000000..e888f79895 --- /dev/null +++ b/resources/extruders/hypothetical_multi_extruder_3.def.json @@ -0,0 +1,19 @@ +{ + "id": "hypothetical_multi_extruder_3", + "version": 2, + "name": "3rd Extruder", + "inherits": "fdmextruder", + "metadata": { + "machine": "hypothetical_multi", + "position": "2" + }, + + "overrides": { + "extruder_nr": { + "default_value": 2, + "maximum_value": "3" + }, + "machine_nozzle_offset_x": { "default_value": 0.0 }, + "machine_nozzle_offset_y": { "default_value": 18.0 } + } +} diff --git a/resources/extruders/hypothetical_multi_extruder_4.def.json b/resources/extruders/hypothetical_multi_extruder_4.def.json new file mode 100644 index 0000000000..bb1ac4d1cd --- /dev/null +++ b/resources/extruders/hypothetical_multi_extruder_4.def.json @@ -0,0 +1,19 @@ +{ + "id": "hypothetical_multi_extruder_4", + "version": 2, + "name": "4th Extruder", + "inherits": "fdmextruder", + "metadata": { + "machine": "hypothetical_multi", + "position": "3" + }, + + "overrides": { + "extruder_nr": { + "default_value": 3, + "maximum_value": "3" + }, + "machine_nozzle_offset_x": { "default_value": 18.0 }, + "machine_nozzle_offset_y": { "default_value": 18.0 } + } +} diff --git a/resources/variants/hypothetical_multi_0.4.inst.cfg b/resources/variants/hypothetical_multi_0.4.inst.cfg new file mode 100644 index 0000000000..7d84e65ef4 --- /dev/null +++ b/resources/variants/hypothetical_multi_0.4.inst.cfg @@ -0,0 +1,11 @@ +[general] +name = 0.4 mm +version = 2 +definition = hypothetical_multi + +[metadata] +author = fieldOfView +type = variant + +[values] +machine_nozzle_size = 0.4 diff --git a/resources/variants/hypothetical_multi_0.6.inst.cfg b/resources/variants/hypothetical_multi_0.6.inst.cfg new file mode 100644 index 0000000000..bf441be897 --- /dev/null +++ b/resources/variants/hypothetical_multi_0.6.inst.cfg @@ -0,0 +1,11 @@ +[general] +name = 0.6 mm +version = 2 +definition = hypothetical_multi + +[metadata] +author = fieldOfView +type = variant + +[values] +machine_nozzle_size = 0.6