print_start.cfg modified - 07/06/2025 - 01:54:13 PM
This commit is contained in:
parent
9a0ecc4935
commit
e2d183394e
1 changed files with 32 additions and 18 deletions
|
@ -24,6 +24,18 @@
|
|||
# STATUS_HEATING
|
||||
# M109 S{extrudertemp}
|
||||
|
||||
|
||||
# STATUS_READY
|
||||
# STATUS_OFF
|
||||
# STATUS_BUSY
|
||||
# STATUS_HEATING
|
||||
# STATUS_LEVELING
|
||||
# STATUS_HOMING
|
||||
# STATUS_CLEANING
|
||||
# STATUS_MESHING
|
||||
# STATUS_CALIBRATING_Z
|
||||
|
||||
|
||||
[gcode_macro PRINT_START]
|
||||
gcode:
|
||||
{% set target_bed = params.BED|int %}
|
||||
|
@ -34,14 +46,6 @@ gcode:
|
|||
|
||||
RESPOND PREFIX="PRINT_START: " MSG="Starting the print..."
|
||||
|
||||
# Home the printer, set absolute positioning and update the Stealthburner LEDs.
|
||||
BED_MESH_CLEAR # Clear old saved bed mesh (if any)
|
||||
RESPOND PREFIX="PRINT_START: " MSG="Homing all axes"
|
||||
LED_STATUS_HOMING # Set LEDs to homing-mode
|
||||
G28 # Full home (XYZ)
|
||||
G90 # Absolute position
|
||||
|
||||
|
||||
# Check if the bed temp is higher than 90c - if so then trigger a heatsoak.
|
||||
{% if target_bed > 90 %}
|
||||
# TODO!
|
||||
|
@ -67,24 +71,34 @@ gcode:
|
|||
# G4 P300000 # Wait 5 min for the bedtemp to stabilize
|
||||
{% endif %}
|
||||
|
||||
# QGL & Meshing
|
||||
#
|
||||
# All the calibration bits: Homing & QGL & Meshing
|
||||
#
|
||||
RESPOND PREFIX="PRINT_START: " MSG="Heating hotend (for calibration) to: 140c"
|
||||
LED_STATUS_HEATING # Set LEDs to heating-mode
|
||||
M109 S140 # Heat hotend to 150c
|
||||
M109 S140 # Heat hotend to 140c
|
||||
|
||||
# Home the printer, set absolute positioning and update the Stealthburner LEDs.
|
||||
BED_MESH_CLEAR # Clear old saved bed mesh (if any)
|
||||
RESPOND PREFIX="PRINT_START: " MSG="Homing all axes"
|
||||
LED_STATUS_HOMING # Set LEDs to homing-mode
|
||||
G28 # Full home (XYZ)
|
||||
G90 # Absolute position
|
||||
|
||||
RESPOND PREFIX="PRINT_START: " MSG="Performing QGL"
|
||||
LED_STATUS_LEVELING # Set LEDs to leveling-mode
|
||||
QUAD_GANTRY_LEVEL # Level the printer via QGL
|
||||
G28 Z # Home Z again after QGL
|
||||
LED_STATUS_LEVELING # Set LEDs to leveling-mode
|
||||
QUAD_GANTRY_LEVEL # Level the printer via QGL
|
||||
G28 Z # Home Z again after QGL
|
||||
|
||||
#SET_DISPLAY_TEXT MSG="Bed mesh" # Display info on display
|
||||
#STATUS_MESHING # Set LEDs to bed mesh-mode
|
||||
#BED_MESH_CALIBRATE # Start the bed mesh (add ADAPTIVE=1) for adaptive bed mesh
|
||||
#RESPOND PREFIX="PRINT_START: " MSG="Creating bed mesh" # Display info on display
|
||||
#LED_STATUS_MESHING # Set LEDs to bed mesh-mode
|
||||
#BED_MESH_CALIBRATE # Start the bed mesh (add ADAPTIVE=1) for adaptive bed mesh
|
||||
|
||||
G1 X{x_wait} Y{y_wait} Z20 F9000 # Go to center of the bed
|
||||
|
||||
# Heat to target temp
|
||||
RESPOND PREFIX="PRINT_START: " MSG="Heating hotend (for first layer) to: {target_extruder}c"
|
||||
LED_STATUS_HEATING # Set LEDs to heating-mode
|
||||
G1 X{x_wait} Y{y_wait} Z15 F9000 # Go to center of the bed
|
||||
LED_STATUS_HEATING # Set LEDs to heating-mode
|
||||
M107 # Turn off partcooling fan
|
||||
M109 S{target_extruder} # Heat the hotend to set temp
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue