Skip to content

Instantly share code, notes, and snippets.

@linssen
Created March 11, 2021 08:28
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 linssen/770253b8973e9acae37405c12e391333 to your computer and use it in GitHub Desktop.
Save linssen/770253b8973e9acae37405c12e391333 to your computer and use it in GitHub Desktop.
Ender 3 V2 slicer settings
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
;; Reset feed rate and flow rate.
G90
M220 S100
M221 S100
;; Start heating the bed, then when at temp, start heating the hotend.
M190 S{material_bed_temperature_layer_0}
M104 S{material_print_temperature_layer_0} T0
;; Home the printer and enable mesh levelling
G28
;; Enable mesh levelling. Remove these two lines if you don't have a BLTouch
G29 O
M420 S1
;; Get into position for our initial prime.
G92 E0
G1 X3 Y30 Z5 F5000.0
;; Wait for hotend to be at the correct temps
M109 S{material_print_temperature_layer_0} T0
;; Prime the hotend.
G1 Z0.28 F1500
G1 X3 Y200.0 Z0.28 F1500.0 E15
G1 X3.4 Y200.0 Z0.28 F5000.0
G1 X3.4 Y30 Z0.28 F1500.0 E30
G90
G92 E0
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment