{
    "pre":[
        "M105          ; update temperature",
        "M104 S{temp} T{tool}",
        "M140 S{bed_temp} T{tool}",
        "M109 S{temp} T{tool}",
        "M190 S{bed_temp} T{tool}",
        "M105          ; update temperature",
        "G21           ; set metric values",
        "G90           ; set absolute positioning",
        "M82           ; set extruder to absolute mode",
        "M107          ; turn off fan",
        "G28 X0 Y0     ; move X/Y to min",
        "G28 Z0        ; move Z to min",
        "G1 Z15.0 F100 ; move the platform down 15mm",
        "G92 E0        ; zero extruder",
        "G1 F200 E3    ; extrude 3mm of feed stock",
        "G92 E0        ; zero extruder",
        "G1 F100       ; set default feed rate",
        "G0 Y20        ; wipe move to Y20",
        "G92 E0        ; zero extruder",
        ";G5           ; uncomment to enable resume after power failure",
        "M117 Printing..."
    ],
    "post":[
        "M107                ; turn off fan",
        "M104 S0 T{tool}     ; turn off extruder",
        "M140 S0 T{tool}     ; turn off bed",
        "G1 Z{z_max} F1200   ; drop bed",
        "G28 X0 Y0           ; home XY axes",
        "M84                 ; disable stepper motors"
    ],
    "extruders":[
        {
            "nozzle": 0.4,
            "filament": 1.75,
            "offset_x": 0,
            "offset_y": 0
        }
    ],
    "cmd":{
        "fan_power": "M106 S{fan_speed}"
    },
    "settings":{
        "origin_center": false,
        "extrude_abs": true,
        "bed_width": 210,
        "bed_depth": 210,
        "build_height": 205
    }
}
