-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStart GCode
37 lines (34 loc) · 1.32 KB
/
Start GCode
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
; This is my start-gcode when using PrusaSlicer
; As always, use with caution and understand what each line does before applying
; With Klipper, you can set this as a Klipper Macro and just call the Macro from your slicer.
; Here's someone else's example: https://www.reddit.com/r/klippers/comments/sr2xws/klipper_start_gcode_for_slicers/hwrlvqv/
; I don't do this, but not for any particular reason.
G90 ; use absolute coordinates
M83 ; extruder relative mode
CLEAR_PAUSE
M117 Homing
SET_LED LED=caselights RED=0.0 GREEN=0.0 BLUE=1.0 WHITE=0.0
G28 ; home all axis
BED_MESH_PROFILE LOAD=default
Z_TILT_ADJUST
M117 Pre-heating
SET_LED LED=caselights RED=1.0 GREEN=0.0 BLUE=0.0 WHITE=0.0
M104 S120 ; set temporary nozzle temp to prevent oozing during homing and auto bed leveling
M140 S[first_layer_bed_temperature] ; set final bed temp
M190 S[first_layer_bed_temperature] ; wait for bed temp to stabilize
BED_MESH_PROFILE LOAD=default ; auto bed levelling
G1 Z20 F240
G1 X2 Y10 F3000
M117 Final heating
M104 S[first_layer_temperature] ; set final nozzle temp
M109 S[first_layer_temperature] ; wait for nozzle temp to stabilize
SET_LED LED=caselights RED=1.0 GREEN=1.0 BLUE=1.0 WHITE=0.0
M117 Printing prime line
G1 Z0.28 F240
G92 E0
G1 Y140 E10 F1500 ; prime the nozzle
G1 X2.3 F5000
G92 E0
G1 Y10 E10 F1200 ; prime the nozzle
G92 E0
M117 Printing...