{
    "id": "ultimaker2",
    "version": 2,
    "name": "Ultimaker 2",
    "inherits": "ultimaker",
    "metadata": {
        "visible": true,
        "author": "Ultimaker",
        "manufacturer": "Ultimaker",
        "category": "Ultimaker",
        "weight": 3,
        "file_formats": "text/x-gcode",
        "icon": "icon_ultimaker2.png",
        "platform": "ultimaker2_platform.obj",
        "platform_texture": "Ultimaker2backplate.png",
        "platform_offset": [9, 0, 0],
        "has_materials": false,
        "supported_actions":["UpgradeFirmware"]
    },
    "overrides": {
        "machine_name": { "default_value": "Ultimaker 2" },
        "machine_start_gcode" : {
            "default_value": "",
            "value": "\"\"  if machine_gcode_flavor == \"UltiGCode\" else \"G21 ;metric values\\nG90 ;absolute positioning\\nM82 ;set extruder to absolute mode\\nM107 ;start with the fan off\\nG28 Z0 ;move Z to bottom endstops\\nG28 X0 Y0 ;move X/Y to endstops\\nG1 X15 Y0 F4000 ;move X/Y to front of printer\\nG1 Z15.0 F9000 ;move the platform to 15mm\\nG92 E0 ;zero the extruded length\\nG1 F200 E10 ;extrude 10 mm 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": "",
            "value": "\"\"  if machine_gcode_flavor == \"UltiGCode\" else \"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+0.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\""
        },
        "machine_width": {
            "default_value": 223
        },
        "machine_depth": {
            "default_value": 223
        },
        "machine_height": {
            "default_value": 205
        },
        "machine_heated_bed": {
            "default_value": true
        },
        "machine_head_with_fans_polygon":
        {
            "default_value": [
                [ -42, 12 ],
                [ -42, -32 ],
                [ 62, 12 ],
                [ 62, -32 ]
            ]
        },
        "machine_center_is_zero": {
            "default_value": false
        },
        "machine_nozzle_size": {
            "default_value": 0.4,
            "minimum_value": "0.001"
        },
        "machine_nozzle_heat_up_speed": {
            "default_value": 2
        },
        "machine_nozzle_cool_down_speed": {
            "default_value": 2
        },
        "gantry_height": {
            "default_value": 48
        },
        "machine_use_extruder_offset_to_offset_coords": {
            "default_value": true
        },
        "machine_gcode_flavor": {
            "default_value": "UltiGCode"
        },
        "machine_disallowed_areas": {
            "default_value": [
              [[-115,  112.5], [ -82,  112.5], [ -84,  102.5], [-115,  102.5]],
              [[ 115,  112.5], [ 115,  102.5], [ 110,  102.5], [ 108,  112.5]],
              [[-115, -112.5], [-115, -104.5], [ -84, -104.5], [ -82, -112.5]],
              [[ 115, -112.5], [ 108, -112.5], [ 110, -104.5], [ 115, -104.5]]
        ]},
        "machine_nozzle_tip_outer_diameter": {
            "default_value": 1
        },
        "machine_nozzle_head_distance": {
            "default_value": 3
        },
        "machine_nozzle_expansion_angle": {
            "default_value": 45
        },
        "machine_max_feedrate_x": {
            "default_value": 300
        },
        "machine_max_feedrate_y": {
            "default_value": 300
        },
        "machine_max_feedrate_z": {
            "default_value": 40
        },
        "machine_max_feedrate_e": {
            "default_value": 45
        },
        "machine_acceleration": {
            "default_value": 3000
        },
        "machine_nozzle_temp_enabled": {
            "default_value": false
        }
    }
}
