StartStopPrinter.cfg
[gcode_macro START_PRINT]
gcode:
# Get Params
{% set t_extruder = params.T_EXTRUDER|default(205)|float %}
{% set t_bed = params.T_BED|default(60)|float %}
# Start
M140 S{t_bed} ; Setze Heatbed Temperatur
M190 S{t_bed} ; Warte auf Bed Zieltemperatur
G28 ; Home
M83 ; Extruder relativer Modus
# Start probing
BED_MESH_CALIBRATE PROFILE=mesh1 METHOD=automatic
G1 X-15 Y5 Z15 F2200
#G1 Z0.2 F3000
G92 E0.0 ; Extruder Reset
G90 ; Absolute Positionierung
M104 S{t_extruder} ; Setze Hotend Temperatur
M109 S{t_extruder} ; Warte auf Hotend Zieltemperatur
_PRIME_LINE
[gcode_macro PRINT_END]
gcode:
TURN_OFF_HEATERS
G91 ; Relative Position
G1 E-4 F3000 ; Retract
G1 X-0.5 Y-0.5 Z5 E-5
G90 ; Absolute Positionierung
G1 X83 Y160 F2200 ; Bewege den Kopf nach hinten in die Mitte
M107 ; Partcooling Fan deaktivieren
M117 Print done
[gcode_macro _PRIME_LINE]
gcode:
G90 ; Absolute Position
G1 E8 F3000
G1 Z0.2 F3000 ; put down hotend
G1 X5 Y5 F2200
G1 X5 Y5 Z0.2 F3000 ; get ready to prime
G92 E0 ; reset extrusion distance
G1 X110 E15 F600 ; prime nozzle
G1 X140 F5000 ; quick wipe
[gcode_macro probe_mesh]
gcode:
# Set extruder and bed temperature
M190 S60
# Home all axis
G28
# Start probing
BED_MESH_CALIBRATE PROFILE=mesh1 METHOD=automatic
# Turn off heaters afterward
TURN_OFF_HEATERS