{
    "id": "malyan_m200",
    "version": 2,
    "name": "Malyan M200",
    "inherits": "fdmprinter",
    "metadata": {
        "author": "Brian Corbino, Tyler Gibson",
        "manufacturer": "Malyan",
        "category": "Other",
        "file_formats": "text/x-gcode",
        "platform": "malyan_m200_platform.stl",
        "has_machine_quality": true,
        "has_materials": true,
        "preferred_quality": "*normal*",
        "supports_usb_connection": true,
        "visible": true,
        "first_start_actions": ["MachineSettingsAction"],
        "supported_actions": ["MachineSettingsAction"]    
   },

    "overrides": {
        "machine_name": { "default_value": "Malyan M200" },
        "speed_print": { "default_value": 50 },
        "speed_wall_0": { "value": "round(speed_print * 0.75, 2)" },
        "speed_wall_x": { "value": "speed_print" },
        "speed_support": { "value": "speed_wall_0" },
        "speed_layer_0": { "value": "round(speed_print / 2.0, 2)" },
        "speed_travel": { "default_value": 50 },
        "speed_travel_layer_0": { "default_value": 40 },
        "speed_infill": { "value": "speed_print" },
        "speed_topbottom": {"value": "speed_print / 2"},

        "layer_height": { "minimum_value": "0.04375", "maximum_value": "machine_nozzle_size * 0.875", "maximum_value_warning": "machine_nozzle_size * 0.48125 + 0.0875",  "default_value": 0.13125 },
        "line_width": { "value": "round(machine_nozzle_size * 0.875, 2)" },

        "material_print_temperature": { "minimum_value": "0" },
        "material_print_temperature_layer_0": { "value": "min(material_print_temperature + 5, 245)" },
        "material_bed_temperature": { "minimum_value": "0" },
        "material_bed_temperature_layer_0": { "value": "min(material_bed_temperature + 5, 70)" },
        "material_standby_temperature": { "minimum_value": "0" },
        "machine_show_variants": { "default_value": true },
        "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;(Home the printer)\nG92 E0;(Reset the extruder to 0)\nG0 Z5 E5 F500;(Move up and prime the nozzle)\nG0 X-1 Z0;(Move outside the printable area)\nG1 Y60 E8 F500;(Draw a priming/wiping line to the rear)\nG1 X-1;(Move a little closer to the print area)\nG1 Y10 E16 F500;(draw more priming/wiping)\nG1 E15 F250;(Small retract)\nG92 E0;(Zero the extruder)"
        },
        "machine_end_gcode" : {
            "default_value": "G0 X0 Y127;(Stick out the part)\nM190 S0;(Turn off heat bed, don't wait.)\nG92 E10;(Set extruder to 10)\nG1 E7 F200;(retract 3mm)\nM104 S0;(Turn off nozzle, don't wait)\nG4 S300;(Delay 5 minutes)\nM107;(Turn off part fan)\nM84;(Turn off stepper motors.)"
        },
        "machine_width": { "default_value": 120 },
        "machine_depth": { "default_value": 120 },
        "machine_height": { "default_value": 120 },
        "machine_heated_bed": { "default_value": true },
        "machine_center_is_zero": { "default_value": false },
        "material_diameter": { "value": 1.75 },
        "machine_nozzle_size": {
            "default_value": 0.4,
            "minimum_value": 0.15
        },
        "machine_max_feedrate_x": { "default_value": 150 },
        "machine_max_feedrate_y": { "default_value": 150 },
        "machine_max_feedrate_z": { "default_value": 1.5 },
        "machine_max_feedrate_e": { "default_value": 100 },
        "machine_max_acceleration_x": { "default_value": 800 },
        "machine_max_acceleration_y": { "default_value": 800 },
        "machine_max_acceleration_z": { "default_value": 20 },
        "machine_max_acceleration_e": { "default_value": 10000 },
        "machine_max_jerk_xy": { "default_value": 20 },
        "machine_max_jerk_z": { "default_value": 0.4 },
        "machine_max_jerk_e": { "default_value": 5},
        "adhesion_type": { "default_value": "raft" },
        "raft_margin": { "default_value": 5 },
        "raft_airgap": { "default_value": 0.2625 },
        "raft_base_thickness": { "value": "0.30625" },
        "raft_interface_thickness": { "value": "0.21875" },
        "raft_surface_layers": { "default_value": 1 },
        "skirt_line_count": { "default_value": 2},
        "brim_width" : { "default_value": 5},
        "start_layers_at_same_position": { "default_value": true},
        "retraction_combing": { "default_value": "noskin" },
        "retraction_amount" : { "default_value": 4.5},
        "retraction_speed" : { "default_value": 40},
        "coasting_enable": { "default_value": true },
        "prime_tower_enable": { "default_value": false}
    }
}
