-
Notifications
You must be signed in to change notification settings - Fork 0
/
start_print.cfg
48 lines (37 loc) · 1.92 KB
/
start_print.cfg
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
[gcode_macro START_PRINT]
gcode:
{% set BED = params.BED|default(90)|float %}
{% set EXTRUDER = params.EXTRUDER|default(225)|float %}
{% set PREHEAT = (EXTRUDER * 0.7)|default(150)|float %}
M117 Initalizing Printer Parameters...
G4 P5000
M140 S{BED} ; set final bed temp
M104 S{PREHEAT} ; set temporary nozzle temp to prevent oozing
M117 Stabilizing Bed Temperature...
M190 S{BED} ; wait for bed temp to stabilize
#Want to add a delay of some sort here for chamber heatsoak before homing??
M104 S{EXTRUDER} ; set final nozzle temp
M117 Bed Temp Stable, Stabilizing Nozzle Temperature...
M109 S{EXTRUDER} ; wait for nozzle temp to stabilize
#Want to add a delay of some sort here for hotend heatsoak before homeing??
#{% if printer.toolhead.homed_axes != "xyz" %}
G28 ; home all axes if need-be
#{% endif %}
#SETUP_KAMP_MESHING DISPLAY_PARAMETERS=1 LED_ENABLE=0 FUZZ_ENABLE=0
#SETUP_ZEROG_PURGE DISPLAY_PARAMETERS=1 ADAPTIVE_ENABLE=1
BED_MESH_CLEAR
BED_MESH_CALIBRATE
ZEROG_PURGE
#BED_MESH_PROFILE LOAD=default
#G90 ; use absolute coordinates
#M82 ; extruder absolute mode
#G92 E0 ; reset extruder position
#G1 Z2 F3000 ; lift nozzle
#G1 X3 Y20 Z0.28 F9001 ; Move to start position *set for 350 bed size
#G1 X7 Y25 Z0.28 F9001 ; Move to start position *set for 360 bed size
#G1 X3 Y200.0 Z0.28 F1500.0 E15 ; Draw the first line
#G1 X5 Y200.0 Z0.28 F9001 ; Move to side a little
#G1 X5 Y20 Z0.28 F1500.0 E30 ; Draw the second line
#G92 E0 ; reset extruder position
#G1 Z2 F3000 ; lift nozzle
M117 Printer Initalized and Active!