Skip to content

Instantly share code, notes, and snippets.

@Phaiax
Last active March 28, 2020 16:43
Show Gist options
  • Save Phaiax/8615523b95299c468154d2aa43f6efd8 to your computer and use it in GitHub Desktop.
Save Phaiax/8615523b95299c468154d2aa43f6efd8 to your computer and use it in GitHub Desktop.
My 3d printer start/end gcode (6.7.2018)
M104 S0 ; Set hotend temperature to 0
M140 S0 ; Set bed temperature to 0
G92 E0 ; Reset absolute Extruder position
G1 E-2 F300 ;Retract the filament
G28 R X Y ; Raise Z then home X,Y
M18 X Y Z E ; Disable all motors
M82 ;absolute extrusion mode (needed?)
M107 ; Print fan off
M81 ; ATX off
G28 ; Auto Home All
M420 S Z10 ; Enable Leveling, fade Height 10
G27 ; Go to idle position (not over plate)
G1 Z0 F6000 ; Z to ground level
G91 ; Switch to relative positioning
G1 F50 E20 ; Extrude 2cm
G1 F600 E-2 ; Retract 2mm
G1 X-20 F6000 ; Move over build plate
G1 F600 E2 ; Revert Retraction
G0 F1800 Z0.3 ; Move Z up for filament
G1 F800 X-10 E3 ; Print 3mm of filament in 10cm
G90 ; switch back to absolute positioning
G92 E0 ; Reset absolute Extruder position
G1 F1500 E-6.5 ; Retract before first move
@Phaiax
Copy link
Author

Phaiax commented Jul 6, 2018

0.5mm nozzle,
z calibration ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment