Skip to content

Instantly share code, notes, and snippets.

@benni12er
Last active October 12, 2019 07:59
Show Gist options
  • Select an option

  • Save benni12er/0a9dbeb690620a6d06bcc167d733c27d to your computer and use it in GitHub Desktop.

Select an option

Save benni12er/0a9dbeb690620a6d06bcc167d733c27d to your computer and use it in GitHub Desktop.
Creality Ender 3 - Ultimaker Cura 4.3 - Start & End code
M220 S100 ; Reset Speed factor override percentage to default (100%)
M221 S100 ; Reset Extrude factor override percentage to default (100%)
G91 ; Incremental coordinates
G1 E-3 F1800 ; Retract
G1 Z10 F9000 ; Move up
G90 ; Absolute cooridinates
M106 S0 ; Turn off cooling fan
M104 S0 ; Turn off extruder
M140 S0 ; Turn off bed
G1 X0 Y{machine_depth} F9000 ; Move back
M84 ; Disable motors
M117 Finished!. ; Printing message
M117 Preparing.... ; Nozzle clean message
M140 S{material_bed_temperature_layer_0} ; set bed temp
M107 ; Turn layer fan off
G21 ; Metric
G28 ; Home X/Y/Z axis
G0 X0 Y0 Z20 F9000 ; Move up 20mm for heating and cleaning
M190 S35 ; wait for bed to reach minimum 35 deg
M104 S{material_print_temperature_layer_0} ; set extruder temp
M190 S{material_bed_temperature_layer_0} ; wait for bed temp
M109 S{material_print_temperature_layer_0} ; wait for extruder temp
G92 E0 ; Zero extruder
G28 ; Home X/Y/Z axis
G0 X1 Z0.1 F9000 ; Move up 0.1mm
G0 Y10 F500 ; Move 10mm to get rid of material
G0 Z1 F9000 ; Move up
G0 Y110 F9000 ; Move to line start
G0 Z0.2 F9000 ; Move down
G1 Y20 E25 F500 ; Extrude 25mm filament over 90mm Y axis
G1 Y10 F500 ; Move 10mm without extracting
;G92 E0 ; Reset extruder (Done automatically in Cura 3.6)
;G1 E-7 F1400 ; Retract 7mm filament (Done automatically in Cura 3.6)
M117 Printing.... ; Printing message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment