{
    "type": "machine",
    "setting_id": "GM_CREALITY_000",
    "name": "Creality CR-10 V2 0.4 nozzle",
    "from": "system",
    "instantiation": "true",
    "inherits": "fdm_creality_common",
    "nozzle_diameter": [
        "0.4"
    ],
    "printer_model": "Creality CR-10 V2",
    "default_print_profile": "0.20mm Standard @Creality CR10V2",
    "extruder_type": [
        "Bowden"
    ],
    "printable_area": [
        "0x0",
        "300x0",
        "300x300",
        "0x300"
    ],
    "printable_height": "400",
    "retract_lift_below":[
        "399"
    ],
    "machine_max_acceleration_travel": [
        "1500",
        "1250"
    ],
    "max_layer_height": [
        "0.36"
    ],
    "printer_settings_id": "Creality",
    "retraction_length": [
        "1"
    ],
    "retract_length_toolchange": [
        "1"
    ],
    "single_extruder_multi_material": "0",
    "machine_start_gcode": "G90 ; use absolute coordinates\nM83 ; extruder relative mode\nM104 S[nozzle_temperature_initial_layer] ; set extruder temp\nM140 S[bed_temperature_initial_layer_single] ; set bed temp\nM190 S[bed_temperature_initial_layer_single] ; wait for bed temp\nM109 S[nozzle_temperature_initial_layer] ; wait for extruder temp\nG28 ; home all\nG1 Z2 F240\nG1 X2 Y10 F3000\nG1 Z0.28 F240\nG92 E0\nG1 Y190 E15 F1500 ; intro line\nG1 X2.3 F5000\nG92 E0\nG1 Y10 E15 F1200 ; intro line\nG92 E0",
    "machine_end_gcode": "{if max_layer_z < printable_height}G1 Z{z_offset+min(max_layer_z+2, printable_height)} F600{endif} ; Move print head up\nG1 X5 Y170 F{travel_speed*60} ; present print\n{if max_layer_z < printable_height-10}G1 Z{z_offset+min(max_layer_z+70, printable_height-10)} F600{endif} ; Move print head further up\nM140 S0 ; turn off heatbed\nM104 S0 ; turn off temperature\nM107 ; turn off fan\nM84 X Y E ; disable motors",
    "change_filament_gcode": "M600",
    "machine_pause_gcode": "M0"
}