Skip to content

Instantly share code, notes, and snippets.

@Clumsy-Coder
Last active October 7, 2023 17:12
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 Clumsy-Coder/a2ec78d015cee595a995d8ab8d791baa to your computer and use it in GitHub Desktop.
Save Clumsy-Coder/a2ec78d015cee595a995d8ab8d791baa to your computer and use it in GitHub Desktop.
Cura Printer settings (Wanhao Duplicator i3 Plus)
M104 S0 ; extruder heater off
M140 S0 ; bed heater off
G91 ; relative positioning
G1 E-5 F300 ; retract the filament a bit before lifting the nozzle, to release some of the pressure
; move extruder and build plate out of the way so the print object can be reached
M211 S1 ; turn on soft limits
G0 Z40 F1500 ; move Z axis upwards so the print can be reached
G28 X0 ; move X axis to min endstop, so the print can be reached
G0 Y150 F1500 ; move Y to +max position, so the print can be reached
M84 ; steppers off
G90 ; absolute positioning
M82 ; absolute extrusion mode
M190 S[first_layer_bed_temperature] ; wait for bed temperature to reach it's target
M109 S[first_layer_temperature] ; wait for hotend temperature to reach it's target
G21 ; metric values
G90 ; absolute positioning
M82 ; set extruder to absolute mode
M107 ; start with the fan off
G28 X0 Y0 ; move X/Y to min endstops
G28 Z0 ; move Z to min endstops
G92 E0 ; zero the extruded length
; purge line
; https://youtu.be/6csbJ5965Bk?t=335
G1 Z0.75 F500.0 ; move up 2.0 mm
G1 Y-3.0 F500.0 ; move out of print volume
G1 X60.0 E9 F500.0 ; start purge line
G1 X100.0 E12.5 F500.0 ; finish purge line
G1 Z2.0 F500.0 ; move up 2.0 mm
G92 E0 ; zero the extruded length again
G1 X86.204 Y85.912 F3600 ; move close to center
M117 Printing... ; Put printing message on LCD screen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment