Skip to content

Instantly share code, notes, and snippets.

@sixtyfive
Created September 4, 2020 09:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sixtyfive/d31ac64c04189342b6a0263ae85e7f14 to your computer and use it in GitHub Desktop.
Save sixtyfive/d31ac64c04189342b6a0263ae85e7f14 to your computer and use it in GitHub Desktop.
Ender 2 Start- and End-G-code for Cura
G91 ;Relative positioning
G1 E-60 ;Remove filament from hotend completely
G1 Z5 ;Hover over the print
G90 ;Absolute positioning
G1 X0 Y140 ;Present print
M106 S0 ;Turn off fan
M104 S0 ;Turn off hotend
M140 S0 ;Turn off bed
M84 X Y Z E ;Disable all steppers
M201 X500.00 Y500.00 Z100.00 E5000.00 ;Setup machine max acceleration
M203 X500.00 Y500.00 Z10.00 E50.00 ;Setup machine max feedrate
M204 P500.00 R1000.00 T500.00 ;Setup Print/Retract/Travel acceleration
M205 X8.00 Y8.00 Z0.40 E5.00 ;Setup Jerk
M220 S100 ;Reset Feedrate
M221 S100 ;Reset Flowrate
G28 ;Home
G91 ;Relative positioning
G1 E60 ;Bring filament into hot-end
G90 ;Absolute positioning
G92 E0 ;Reset Extruder
G1 Z2.0 F3000 ;Move Z Axis up
G1 X10.1 Y20 Z0.28 F5000.0 ;Move to start position
G1 X10.1 Y100.0 Z0.28 F1500.0 E8 ;Draw the first line
G1 X10.4 Y100.0 Z0.28 F5000.0 ;Move to side a little
G1 X10.4 Y20 Z0.28 F1500.0 E15 ;Draw the second line
G92 E0 ;Reset Extruder
G1 Z2.0 F3000 ;Move Z Axis up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment