From 1c88e35ed9d695640bf234f2085ed8823551a6f2 Mon Sep 17 00:00:00 2001 From: fieldOfView Date: Fri, 19 Feb 2016 21:30:24 +0100 Subject: [PATCH] Move hardcoded preferences for Normal Quality, PLA & 0.4mm into machine config files --- resources/machines/ultimaker.json | 15 +++++++++++++++ resources/machines/ultimaker2.json | 2 +- resources/machines/ultimaker_original.json | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 resources/machines/ultimaker.json diff --git a/resources/machines/ultimaker.json b/resources/machines/ultimaker.json new file mode 100644 index 0000000000..a7a9cd3994 --- /dev/null +++ b/resources/machines/ultimaker.json @@ -0,0 +1,15 @@ +{ + "id": "ultimaker_base", + "version": 1, + "visible": false, + "name": "Ultimaker", + "manufacturer": "Ultimaker", + "author": "Ultimaker", + "inherits": "fdmprinter.json", + + "machine_preferences": { + "prefered_profile": "Normal Quality", + "prefered_variant": "0.4 mm", + "prefered_material": "PLA" + } +} diff --git a/resources/machines/ultimaker2.json b/resources/machines/ultimaker2.json index b5c2838e26..16867145cb 100644 --- a/resources/machines/ultimaker2.json +++ b/resources/machines/ultimaker2.json @@ -9,7 +9,7 @@ "platform_texture": "Ultimaker2backplate.png", "file_formats": "text/x-gcode", - "inherits": "fdmprinter.json", + "inherits": "ultimaker.json", "pages": [ "SelectUpgradedPartsUM2" diff --git a/resources/machines/ultimaker_original.json b/resources/machines/ultimaker_original.json index 066f6ca9b7..b7b6055c5f 100644 --- a/resources/machines/ultimaker_original.json +++ b/resources/machines/ultimaker_original.json @@ -7,7 +7,7 @@ "icon": "icon_ultimaker.png", "platform": "ultimaker_platform.stl", "file_formats": "text/x-gcode", - "inherits": "fdmprinter.json", + "inherits": "ultimaker.json", "pages": [ "SelectUpgradedParts",