Browse Source

Moved offset to meta-data

CURA-1278
Jaime van Kessel 8 years ago
parent
commit
a2862d8c24

+ 8 - 8
resources/definitions/bq_hephestos.def.json

@@ -9,7 +9,14 @@
         "manufacturer": "BQ",
         "category": "Other",
         "file_formats": "text/x-gcode",
-        "platform": "bq_hephestos_platform.stl"
+        "platform": "bq_hephestos_platform.stl",
+        "platform_offset": {
+            "value": [
+                0,
+                -82,
+                0
+            ]
+        }
     },
 
     "overrides": {
@@ -37,13 +44,6 @@
         "machine_gcode_flavor": {
             "value": "RepRap"
         },
-        "machine_platform_offset": {
-            "value": [
-                0,
-                -82,
-                0
-            ]
-        },
         "layer_height": {
             "value": 0.2
         },

+ 7 - 7
resources/definitions/bq_hephestos_2.def.json

@@ -8,6 +8,13 @@
         "manufacturer": "BQ",
         "category": "Other",
         "platform": "bq_hephestos_2_platform.stl",
+        "platform_offset": {
+            "value": [
+                6,
+                1320,
+                0
+            ]
+        },
         "file_formats": "text/x-gcode"
     },
     "manufacturer": "BQ",
@@ -40,13 +47,6 @@
         "machine_gcode_flavor": {
             "value": "RepRap"
         },
-        "machine_platform_offset": {
-            "value": [
-                6,
-                1320,
-                0
-            ]
-        },
         "material_print_temperature": {
             "value": 210.0
         },

+ 8 - 8
resources/definitions/bq_hephestos_xl.def.json

@@ -8,7 +8,14 @@
         "author": "BQ",
         "category": "Other",
         "file_formats": "text/x-code",
-        "platform": "bq_hephestos_platform.stl"
+        "platform": "bq_hephestos_platform.stl",
+        "platform_offset": {
+            "value": [
+                0,
+                -82,
+                0
+            ]
+        }
     },
     "overrides": {
         "machine_start_gcode": {
@@ -35,13 +42,6 @@
         "machine_gcode_flavor": {
             "value": "RepRap"
         },
-        "machine_platform_offset": {
-            "value": [
-                0,
-                -82,
-                0
-            ]
-        },
         "layer_height": {
             "value": 0.2
         },

+ 8 - 8
resources/definitions/bq_witbox.def.json

@@ -8,7 +8,14 @@
         "manufacturer": "BQ",
         "category": "Other",
         "file_formats": "text/x-gcode",
-        "platform": "bq_witbox_platform.stl"
+        "platform": "bq_witbox_platform.stl",
+        "platform_offset": {
+            "value": [
+                0,
+                -145,
+                -38
+            ]
+        }
     },
     "overrides": {
         "machine_start_gcode": {
@@ -35,13 +42,6 @@
         "machine_gcode_flavor": {
             "value": "RepRap"
         },
-        "machine_platform_offset": {
-            "value": [
-                0,
-                -145,
-                -38
-            ]
-        },
         "layer_height": {
             "value": 0.2
         },