; Ender 3 S1 Pro Start G-code for PETG M140 S{material_bed_temperature_layer_0} ; Set bed temperature M104 S{material_print_temperature_layer_0} ; Set nozzle temperature G28 ; Home all axes BED_MESH_PROFILE LOAD=default ; Load the saved bed mesh profile M190 S{material_bed_temperature_layer_0} ; Wait for bed to reach temperature M109 S{material_print_temperature_layer_0} ; Wait for nozzle to reach temperature ; Purge/Prime Line G92 E0 ; Reset Extruder G1 Z2.0 F3000 ; Move Z Axis up to prevent scratching G1 X0.1 Y20 Z0.3 F5000.0 ; Move to the start position G1 X0.1 Y200.0 Z0.3 F1000.0 E15 ; Draw the first line G92 E0 ; Reset Extruder G1 X0.4 Y200.0 Z0.3 F5000.0 ; Move over for the second line G1 X0.4 Y20 Z0.3 F1000.0 E30 ; Draw the second line G92 E0 ; Reset extruder again G1 Z2.0 F3000 ; Lift Z Axis ========================================================================================= ; Ending G-code for Ender 3 S1 Pro G91 ; Relative positioning G1 E-2 F2700 ; Retract filament 2mm at 2700mm/min to prevent oozing G1 Z0.2 F2400 ; Raise the nozzle 0.2mm at 2400mm/min to avoid print G1 X5 Y5 F3000 ; Wipe the nozzle 5mm in X and Y at 3000mm/min G1 Z10 ; Raise Z by 10mm to clear any tall prints G90 ; Absolute positioning G1 X0 Y{machine_depth} ; Move the nozzle to the front (Y is the depth of the machine to bring it forward) M106 S0 ; Turn off the part-cooling fan M104 S0 ; Turn off the extruder (hotend) heater M140 S0 ; Turn off the heated bed M84 X Y E ; Disable steppers for X, Y, and E (Extruder) to save power and reduce motor heat