-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOrca_Start.gcode
More file actions
91 lines (71 loc) · 3.83 KB
/
Orca_Start.gcode
File metadata and controls
91 lines (71 loc) · 3.83 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
M117 ;Used for adaptive mesh to identify where gcode starts
G90 ; use absolute coordinates
M220 S100 ;Reset Feedrate
M221 S100 ;Reset Flowrate
; ****** Start script for letting the heatbed stabilize before starting to probe ******
M118 Detected print area: minX: {first_layer_print_min[0]}, minY: {first_layer_print_min[1]}, maxX: {first_layer_print_max[0]}, maxY: {first_layer_print_max[1]}
;****** Decide how long to wait, depending on where on the build plate we will print, edges takes longer to stabilize
{if first_layer_print_min[1] < 60 or first_layer_print_max[1] > 360 or first_layer_print_min[0] < 60 or first_layer_print_max[0] > 360}
;****** If the printi is really large
M118 Large Size Print Detected
M118 First layer is starting outside the center 300x300mm
M118 Heating the bed to 25% above initial layer temp (max 100 C) to reduce wait time (i.e. warm faster)
{if (first_layer_bed_temperature[0] * 1.25) > 100}
M118 Initially heating bed to 100 C (max)
M190 S100
{else}
M118 Initially heating bed to {first_layer_bed_temperature[0] * 1.25} C
M190 S{first_layer_bed_temperature[0] * 1.25}
{endif}
M118 Stabilization temperature reached. Stabilizing heatbed. 25 minute wait initiated.
G4 P1500000 ; Wait 10 minutes, adjust to whatever you feel you need
M118 Setting correct heat bed temperature to {first_layer_bed_temperature[0]} C
M190 S{first_layer_bed_temperature[0]}
M118 Heatbed sensor at correct temp. Wait 1 more minute to stabilize.
G4 P60000 ; Wait 1 more minute, adjust to whatever you feel you need
{else}
{if first_layer_print_min[1] < 110 or first_layer_print_max[1] > 310 or first_layer_print_min[0] < 110 or first_layer_print_max[0] > 310}
;****** If the print is medium sized
M118 Medium Size Print Detected
M118 First layer is starting within the center 300x300mm
M118 Heating the bed to 25% above initial layer temp (max 100 C) to reduce wait time (i.e. warm faster)
{if (first_layer_bed_temperature[0] * 1.25) > 100}
M118 Initially heating bed to 100 C (max)
M190 S100
{else}
M118 Initially heating bed to {first_layer_bed_temperature[0] * 1.25} C
M190 S{first_layer_bed_temperature[0] * 1.25}
{endif}
M118 Stabilization temperature reached. Stabilizing heatbed. 15 minute wait initiated.
G4 P900000 ; Wait 15 minutes, adjust to whatever you feel you need
M118 Setting correct heat bed temperature to {first_layer_bed_temperature[0]} C
M190 S{first_layer_bed_temperature[0]}
M118 Heatbed sensor at correct temp. Wait 1 more minute to stabilize.
G4 P60000 ; Wait 1 more minute, adjust to whatever you feel you need
{else}
;****** If the print is smaller and centered
M118 Small Size Print Detected
M118 First layer is starting within the center 200x200mm
M118 Heating to first layer temperature
M190 S{first_layer_bed_temperature[0]}
M118 Heatbed printing temperature reached. Stabilizing heatbed. 5 minute wait initiated.
G4 P300000 ; Wait 5 minutes, adjust to whatever you feel you need
{endif}
{endif}
M118 Heatbed stabilized! Heating nozzle to {first_layer_temperature[0]-60} C to prevent oozing
; ****** End script for letting the heatbed stabilize before starting to probe ******
; ****** Below is (more or less) standard ******
M109 S{first_layer_temperature[0]-60} ; set temporary nozzle temp to prevent oozing during homing
G28 ;home
BED_MESH_CALIBRATE
G1 Z10 F240
G1 X2 Y10 F3000
M118 Heating nozzle to {first_layer_temperature[0]} C to start printing
M109 S{first_layer_temperature[0]} ; wait for nozzle temp to stabilize
G92 E0 ;Reset Extruder
G1 Z0.45 F300
G1 X1.5 Y20 F5000.0 ;Move to start position for priming
G1 Y120.0 F600.0 E15 ;Draw the first priming line - No Z hop.
G1 X0.5 F1000.0 ;Move to side a little for priming
G1 Y20 F600 E30 ;Draw the second priming line - No Z hop
G92 E0 ;Reset Extruder