Browse Source

Added supported actions to all UM machines

CURA-1385
Jaime van Kessel 8 years ago
parent
commit
b62118dc1c

+ 2 - 1
resources/definitions/ultimaker2.def.json

@@ -12,7 +12,8 @@
         "icon": "icon_ultimaker2.png",
         "platform": "ultimaker2_platform.obj",
         "platform_texture": "Ultimaker2backplate.png",
-        "platform_offset": [9, 0, 0]
+        "platform_offset": [9, 0, 0],
+        "supported_actions":["UpgradeFirmware"]
     },
     "overrides": {
         "machine_start_gcode" : {

+ 2 - 1
resources/definitions/ultimaker2_extended.def.json

@@ -10,7 +10,8 @@
         "file_formats": "text/x-gcode",
         "icon": "icon_ultimaker2.png",
         "platform": "ultimaker2_platform.obj",
-        "platform_texture": "Ultimaker2Extendedbackplate.png"
+        "platform_texture": "Ultimaker2Extendedbackplate.png",
+        "supported_actions": ["UpgradeFirmware"]
     },
 
     "overrides": {

+ 2 - 1
resources/definitions/ultimaker2_extended_plus.def.json

@@ -9,7 +9,8 @@
         "category": "Ultimaker",
         "file_formats": "text/x-gcode",
         "platform": "ultimaker2_platform.obj",
-        "platform_texture": "Ultimaker2ExtendedPlusbackplate.png"
+        "platform_texture": "Ultimaker2ExtendedPlusbackplate.png",
+        "supported_actions":["UpgradeFirmware"]
     },
 
     "overrides": {

+ 2 - 1
resources/definitions/ultimaker2_go.def.json

@@ -11,7 +11,8 @@
         "icon": "icon_ultimaker2.png",
         "platform": "ultimaker2go_platform.obj",
         "platform_texture": "Ultimaker2Gobackplate.png",
-        "platform_offset": [0, 0, 0]
+        "platform_offset": [0, 0, 0],
+        "supported_actions":["UpgradeFirmware"]
     },
 
     "overrides": {

+ 2 - 1
resources/definitions/ultimaker2_plus.def.json

@@ -16,7 +16,8 @@
         "has_variants": true,
         "has_materials": true,
         "has_machine_materials": true,
-        "has_machine_quality": true
+        "has_machine_quality": true,
+        "supported_actions":["UpgradeFirmware"]
     },
 
     "overrides": {

+ 1 - 6
resources/definitions/ultimaker_original.def.json

@@ -14,12 +14,7 @@
         "has_materials": true,
         "preferred_material": "*pla*",
         "preferred_quality": "*normal*",
-        "pages": [
-            "SelectUpgradedParts",
-            "UpgradeFirmware",
-            "UltimakerCheckup",
-            "BedLeveling"
-        ]
+        "supported_actions":[ "UMOCheckup", "UpgradeFirmware"]
     },
 
     "overrides": {

+ 1 - 5
resources/definitions/ultimaker_original_plus.def.json

@@ -11,11 +11,7 @@
         "icon": "icon_ultimaker.png",
         "platform": "ultimaker2_platform.obj",
         "platform_texture": "UltimakerPlusbackplate.png",
-        "pages": [
-            "UpgradeFirmware",
-            "UltimakerCheckup",
-            "BedLeveling"
-        ]
+        "supported_actions":[ "UMOCheckup", "UpgradeFirmware", "BedLevel"]
     },
 
     "overrides": {