{
    "id": "typeamachines",
    "version": 2,
    "name": "Type A Machines Series 1 2014",
    "inherits": "fdmprinter",
    "metadata": {
        "visible": true,
        "author": "typeamachines",
        "manufacturer": "typeamachines",
        "category": "Other",
        "file_formats": "text/x-gcode",
        "platform": "tam_series1.stl",
        "platform_offset": [-580.0, -6.23, 253.5],
        "has_materials": false,
        "supported_actions":["UpgradeFirmware"]
    },
    "overrides": {
        "machine_name": { "default_value": "TypeAMachines" },

        "layer_height": { "default_value": 0.2 },
        "layer_height_0": { "default_value": 0.3 },
        "infill_sparse_density": { "default_value": 5 },
        "wall_thickness": { "default_value": 1 },
        "top_bottom_thickness": { "default_value": 1 },

        "infill_pattern": { "value": "'tetrahedral'" },

        "machine_width": { "default_value": 305 },
        "machine_depth": { "default_value": 305 },
        "machine_height": { "default_value": 305 },

        "machine_heated_bed": { "default_value": true },
        "machine_head_with_fans_polygon": { "default_value": [ [ -35, 65 ], [ -35, -55 ], [ 55, 65 ], [ 55, -55 ] ] },
        "gantry_height": { "default_value": 35 },
				"machine_gcode_flavor": { "default_value": "RepRap (Marlin/Sprinter)" },
        "machine_center_is_zero": { "default_value": false },

        "speed_print": { "default_value": 60 },
        "speed_travel": { "default_value": 200 },

        "retraction_amount": { "default_value": 0.4 },
        "retraction_speed": { "default_value": 35},

        "xy_offset": { "default_value": -0.01 },

        "machine_nozzle_heat_up_speed": { "default_value": 2 },
        "machine_nozzle_cool_down_speed": { "default_value": 2 },

        "machine_use_extruder_offset_to_offset_coords": { "default_value": true },

        "material_diameter": { "default_value": 1.75 },
        "machine_nozzle_tip_outer_diameter": { "default_value": 1 },
        "machine_nozzle_head_distance": { "default_value": 3 },
        "machine_nozzle_expansion_angle": { "default_value": 45 },

        "machine_max_acceleration_x": { "default_value": 6000 },
        "machine_max_acceleration_y": { "default_value": 6000 },
        "machine_max_acceleration_z": { "default_value": 12000 },
        "machine_max_acceleration_e": { "default_value": 175 },

        "machine_start_gcode": {
            "default_value": ";-- START GCODE --\n;Sliced for Type A Machines Series 1\n;Sliced at: {day} {date} {time}\n;Basic settings:\n;Layer height: {layer_height}\n;Walls: {wall_thickness}\n;Fill: {fill_distance}\n;Print Speed: {print_speed}\n;Support: {support}\n;Retraction Speed: {retraction_speed}\n;Retraction Distance: {retraction_amount}\n;Print time: {print_time}\n;Filament used: {filament_amount}m {filament_weight}g\n;Settings based on: {material_profile}\nG21 ;metric values\nG90 ;absolute positioning\nG28 ;move to endstops\nG29 ;allows for auto-levelling\nG1 Z15.0 F12000 ;move the platform down 15mm\nG1 X150 Y5 F9000 ;center\nM140 S{material_bed_temperature} ;Prep Heat Bed\nM109 S{default_material_print_temperature} ;Heat To temp\nM190 S{material_bed_temperature} ;Heat Bed to temp\nG1 X150 Y5 Z0.3 ;move the platform to purge extrusion\nG92 E0 ;zero the extruded length\nG1 F200 X250 E30 ;extrude 30mm of feed stock\nG92 E0 ;zero the extruded length again\nG1 X150 Y150  Z25 F12000 ;recenter and begin\nG1 F9000"
        },
        "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+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"
        }
    }
}
