Browse Source

Translate definition for Uniqbot One

Contributes to issue CURA-1278.
Ghostkeeper 8 years ago
parent
commit
07fea431c7
2 changed files with 55 additions and 31 deletions
  1. 55 0
      resources/definitions/uniqbot_one.def.json
  2. 0 31
      resources/machines/uniqbot_one.json

+ 55 - 0
resources/definitions/uniqbot_one.def.json

@@ -0,0 +1,55 @@
+{
+    "id": "uniqbot_one",
+    "version": 2,
+    "name": "Uniqbot",
+    "inherits": "fdmprinter",
+    "metadata": {
+        "author": "Unimatech",
+        "manufacturer": "Unimatech",
+        "category": "Other",
+        "file_formats": "text/x-gcode",
+        "icon": "icon_ultimaker2.png"
+    },
+
+    "overrides": {
+        "machine_heated_bed": {
+            "default_value": false
+        },
+        "machine_width": {
+            "default_value": 140
+        },
+        "machine_height": {
+            "default_value": 120
+        },
+        "machine_depth": {
+            "default_value": 160
+        },
+        "machine_center_is_zero": {
+            "default_value": false
+        },
+        "machine_nozzle_size": {
+            "default_value": 0.5
+        },
+        "material_diameter": {
+            "default_value": 1.75
+        },
+        "machine_nozzle_heat_up_speed": {
+            "default_value": 2
+        },
+        "machine_nozzle_cool_down_speed": {
+            "default_value": 2
+        },
+        "machine_nozzle_gantry_distance": {
+            "default_value": 55
+        },
+        "machine_gcode_flavor": {
+            "default_value": "RepRap (Marlin/Sprinter)"
+        },
+        "machine_start_gcode": {
+            "default_value": "G21 ;metric values\nG90 ;absolute positioning\nM82 ;set extruder to absolute mode\nM107 ;start with the fan off\nG28 X0 Y0 ;move X/Y to min endstops\nG28 Z0 ;move Z to min endstops\nG1 Z15.0 F9000 ;move the platform down 15mm\nG92 E0 ;zero the extruded length\nG1 F200 E3 ;extrude 3mm of feed stock\nG92 E0 ;zero the extruded length again\nG1 F9000\n;Put printing message on LCD screen\nM117 Printing..."
+        },
+        "machine_end_gcode": {
+            "default_value": "M104 S0 ;extruder heater off\nM140 S0 ;heated bed heater off (if you have it)\nG91 ;relative positioning\nG1 E-1 F300  ;retract the filament a bit before lifting the nozzle, to release some of the pressure\nG1 Z+5 E-5 X-20 Y-20 F9000 ;move Z up a bit and retract filament even more\nG28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way\nM84 ;steppers off\nG90 ;absolute positioning"
+        }
+    }
+}

+ 0 - 31
resources/machines/uniqbot_one.json

@@ -1,31 +0,0 @@
-{
-    "id": "uniqbot_one",
-    "version": 1, 
-    "name": "Uniqbot",
-    "manufacturer": "Unimatech",
-    "author": "Unimatech",
-    "icon": "icon_ultimaker2.png",
-    "file_formats": "text/x-gcode",
-    "inherits": "fdmprinter.json",
-
-    "overrides": {
-        "machine_heated_bed": { "default": false },
-        "machine_width": { "default": 140 },
-        "machine_height": { "default": 120 },
-        "machine_depth": { "default": 160 },
-        "machine_center_is_zero": { "default": false },
-        "machine_nozzle_size": { "default": 0.5 },
-        "material_diameter": { "default": 1.75 },
-        "machine_nozzle_heat_up_speed": { "default": 2.0 },
-        "machine_nozzle_cool_down_speed": { "default": 2.0 },
-        "machine_nozzle_gantry_distance": { "default": 55 },
-        "machine_gcode_flavor": { "default": "RepRap (Marlin/Sprinter)" },
-
-        "machine_start_gcode": {
-            "default": "G21 ;metric values\nG90 ;absolute positioning\nM82 ;set extruder to absolute mode\nM107 ;start with the fan off\nG28 X0 Y0 ;move X/Y to min endstops\nG28 Z0 ;move Z to min endstops\nG1 Z15.0 F9000 ;move the platform down 15mm\nG92 E0 ;zero the extruded length\nG1 F200 E3 ;extrude 3mm of feed stock\nG92 E0 ;zero the extruded length again\nG1 F9000\n;Put printing message on LCD screen\nM117 Printing..."
-        },
-        "machine_end_gcode": {
-            "default": "M104 S0 ;extruder heater off\nM140 S0 ;heated bed heater off (if you have it)\nG91 ;relative positioning\nG1 E-1 F300  ;retract the filament a bit before lifting the nozzle, to release some of the pressure\nG1 Z+5 E-5 X-20 Y-20 F9000 ;move Z up a bit and retract filament even more\nG28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way\nM84 ;steppers off\nG90 ;absolute positioning"
-        }
-    }
-}