{
    "type": "machine",
    "setting_id": "GM_CREALITY_003",
    "name": "Creality Ender-3 S1 0.4 nozzle",
    "from": "system",
    "instantiation": "true",
    "inherits": "fdm_creality_common",
    "nozzle_diameter": [
        "0.4"
    ],
    "printer_model": "Creality Ender-3 S1",
    "default_print_profile": "0.20mm Standard @Creality Ender3S1",
    "printable_area": [
        "0x0",
        "220x0",
        "220x220",
        "0x220"
    ],
    "printable_height": "270",
    "retract_lift_below":[
       "269"
    ],
    "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\nM140 S[bed_temperature_initial_layer_single] ; set final bed temp\nM104 S150 ; set temporary nozzle temp to prevent oozing during homing\nG4 S10 ; allow partial nozzle warmup\nG28 ; home all axis\nG1 Z50 F240\nG1 X2 Y10 F3000\nM104 S[nozzle_temperature_initial_layer] ; set final nozzle temp\nM190 S[bed_temperature_initial_layer_single] ; wait for bed temp to stabilize\nM109 S[nozzle_temperature_initial_layer] ; wait for nozzle temp to stabilize\nG1 Z0.28 F240\nG92 E0\nG1 Y140 E10 F1500 ; prime the nozzle\nG1 X2.3 F5000\nG92 E0\nG1 Y10 E10 F1200 ; prime the nozzle\nG92 E0",
    "machine_end_gcode": "{if max_layer_z < printable_height}G1 Z{z_offset+min(max_layer_z+2, printable_height)} F600 ; Move print head up{endif}\nG1 X5 Y{print_bed_max[1]*0.8} 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 ; Move print head further up{endif}\n{if max_layer_z < max_print_height*0.6}G1 Z{printable_height*0.6} F600 ; Move print head further up{endif}\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": "M25"
}