Last active
April 21, 2020 02:21
-
-
Save tresni/5f9700f2a7129540d072513e77854538 to your computer and use it in GitHub Desktop.
Ender 3 Startup Code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Ender 3 Custom Start G-code | |
M117 Heating bed... | |
M190 S{material_bed_temperature_layer_0} ; Want bed hot before level | |
M117 Reset extruder | |
G92 E0 ; Reset Extruder | |
M117 Homing all... | |
G28 ; Home all axes | |
;M117 Homing Z Probe... | |
;G28 Z ; home z again | |
M117 Generating mesh... | |
G29; auto bed leveling | |
;M420 S1 ; use bed leveling | |
M117 Heating extruder... | |
M109 S{material_initial_print_temperature} ; wait for extruder to reach temp | |
M420 Z0; disable Z fade | |
M900 K0; disable Linear Advance | |
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed | |
G1 X0.1 Y20 Z0.3 F5000.0 ; Move to start position | |
G1 X0.1 Y200.0 Z0.3 F1500.0 E15 ; Draw the first line | |
G1 X0.4 Y200.0 Z0.3 F5000.0 ; Move to side a little | |
G1 X0.4 Y20 Z0.3 F1500.0 E30 ; Draw the second line | |
G92 E0 ; Reset Extruder | |
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed | |
G1 X5 Y20 Z0.3 F5000.0 ; Move over to prevent blob squish | |
M117 Printing... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
G91 ;Relative positioning | |
G1 E-2 F2700 ;Retract a bit | |
G1 E-2 Z0.2 F2400 ;Retract and raise Z | |
G1 X5 Y5 F3000 ;Wipe out | |
G1 Z10 ;Raise Z more | |
G90 ;Absolute positionning | |
G1 X0 Y{machine_depth} ;Present print | |
M106 S0 ;Turn-off fan | |
M104 S0 ;Turn-off hotend | |
M140 S0 ;Turn-off bed | |
M84 X Y E ;Disable all steppers but Z |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment