Last active
November 10, 2023 03:40
-
-
Save kind3r/0625a642d58ef693c7ac5232e9c413ef to your computer and use it in GitHub Desktop.
3D Printer start G-code for Prusa Slicer
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
M104 S150 ; start heating the extruder a bit to save some time but prevent oozing | |
M140 S[first_layer_bed_temperature] ; heatbed temperature | |
M190 S[first_layer_bed_temperature] ; wait for the bed to heat up | |
M83 ; extruder relative mode | |
G28 ; home all axes | |
G29 ; Bed autolevel (optional, for BLTouch only) | |
G92 E0 ; reset extruder | |
G1 X0 Y0 F5000 ; move to 0/0/0 | |
G1 Z0 | |
M109 S[first_layer_temperature] ; Heat up extruder | |
M42 P4 S0 ; Turn off LED (optional) | |
M42 P5 S0 | |
M42 P6 S0 | |
G1 X20 Y5 Z0.3 F5000.0 ; move to start-line position | |
G1 Z0.3 F1000 ; print height | |
G1 X200 Y5 F1500.0 E15 ; draw 1st line | |
G1 X200 Y5.3 Z0.3 F5000.0 ; move to side a little | |
G1 X5.3 Y5.3 Z0.3 F1500.0 E30 ; draw 2nd line |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Startup code I use in my Artillery Genius: