print_start.cfg modified - 07/06/2025 - 01:45:58 PM

This commit is contained in:
macocha 2025-07-06 13:46:00 +00:00
parent b15d5c4d8e
commit bf231500b1

View file

@ -24,8 +24,11 @@ gcode:
{% set x_wait = printer.toolhead.axis_maximum.x|float / 2 %} {% set x_wait = printer.toolhead.axis_maximum.x|float / 2 %}
{% set y_wait = printer.toolhead.axis_maximum.y|float / 2 %} {% set y_wait = printer.toolhead.axis_maximum.y|float / 2 %}
RESPOND PREFIX="PRINT_START: " MSG="Starting the print..."
# Home the printer, set absolute positioning and update the Stealthburner LEDs. # Home the printer, set absolute positioning and update the Stealthburner LEDs.
LED_STATUS_HOMING # Set LEDs to homing-mode RESPOND PREFIX="PRINT_START: " MSG="Homing all axes"
LED_STATUS_HOMING # Set LEDs to homing-mode
G28 # Full home (XYZ) G28 # Full home (XYZ)
G90 # Absolute position G90 # Absolute position
@ -33,61 +36,55 @@ gcode:
# Check if the bed temp is higher than 90c - if so then trigger a heatsoak. # Check if the bed temp is higher than 90c - if so then trigger a heatsoak.
{% if target_bed > 90 %} {% if target_bed > 90 %}
SET_DISPLAY_TEXT MSG="Bed: {target_bed}c" # Display info on display # TODO!
STATUS_HEATING # Set LEDs to heating-mode # SET_DISPLAY_TEXT MSG="Bed: {target_bed}c" # Display info on display
M106 S255 # Turn on the PT-fan # STATUS_HEATING # Set LEDs to heating-mode
# M106 S255 # Turn on the PT-fan
## Uncomment if you have a Nevermore. # ## Uncomment if you have a Nevermore.
#SET_PIN PIN=nevermore VALUE=1 # Turn on the nevermore # #SET_PIN PIN=nevermore VALUE=1 # Turn on the nevermore
G1 X{x_wait} Y{y_wait} Z15 F9000 # Go to center of the bed # G1 X{x_wait} Y{y_wait} Z15 F9000 # Go to center of the bed
M190 S{target_bed} # Set the target temp for the bed # M190 S{target_bed} # Set the target temp for the bed
SET_DISPLAY_TEXT MSG="Heatsoak: {target_chamber}c" # Display info on display # SET_DISPLAY_TEXT MSG="Heatsoak: {target_chamber}c" # Display info on display
TEMPERATURE_WAIT SENSOR="temperature_sensor chamber" MINIMUM={target_chamber} # Waits for chamber temp # TEMPERATURE_WAIT SENSOR="temperature_sensor chamber" MINIMUM={target_chamber} # Waits for chamber temp
# If the bed temp is not over 90c, then skip the heatsoak and just heat up to set temp with a 5 min soak # If the bed temp is not over 90c, then skip the heatsoak and just heat up to set temp with a 5 min soak
{% else %} {% else %}
SET_DISPLAY_TEXT MSG="Bed: {target_bed}c" # Display info on display RESPOND PREFIX="PRINT_START: " MSG="Heating bed to: {target_bed}c"
STATUS_HEATING # Set LEDs to heating-mode LED_STATUS_HEATING # Set LEDs to heating-mode
G1 X{x_wait} Y{y_wait} Z15 F9000 # Go to center of the bed G1 X{x_wait} Y{y_wait} Z15 F9000 # Go to center of the bed
M190 S{target_bed} # Set the target temp for the bed M190 S{target_bed} # Set the target temp for the bed
SET_DISPLAY_TEXT MSG="Soak for 5 min" # Display info on display # SET_DISPLAY_TEXT MSG="Soak for 5 min" # Display info on display
G4 P300000 # Wait 5 min for the bedtemp to stabilize # G4 P300000 # Wait 5 min for the bedtemp to stabilize
{% endif %} {% endif %}
# Heat hotend to 150c. This helps with getting a correct Z-home. # QGL & Meshing
SET_DISPLAY_TEXT MSG="Hotend: 150c" # Display info on display RESPOND PREFIX="PRINT_START: " MSG="Heating hotend (for calibration) to: 140c"
M109 S150 # Heat hotend to 150c LED_STATUS_HEATING # Set LEDs to heating-mode
M109 S140 # Heat hotend to 150c
## Uncomment for V2.4 (Quad gantry level AKA QGL) RESPOND PREFIX="PRINT_START: " MSG="Performing QGL"
#SET_DISPLAY_TEXT MSG="Leveling" # Display info on display LED_STATUS_LEVELING # Set LEDs to leveling-mode
#STATUS_LEVELING # Set LEDs to leveling-mode QUAD_GANTRY_LEVEL # Level the printer via QGL
#QUAD_GANTRY_LEVEL # Level the printer via QGL G28 Z # Home Z again after QGL
#G28 Z # Home Z again after QGL
## Uncomment for bed mesh (2 of 2 for bed mesh)
#SET_DISPLAY_TEXT MSG="Bed mesh" # Display info on display #SET_DISPLAY_TEXT MSG="Bed mesh" # Display info on display
#STATUS_MESHING # Set LEDs to bed mesh-mode #STATUS_MESHING # Set LEDs to bed mesh-mode
#BED_MESH_CALIBRATE # Start the bed mesh (add ADAPTIVE=1) for adaptive bed mesh #BED_MESH_CALIBRATE # Start the bed mesh (add ADAPTIVE=1) for adaptive bed mesh
## Uncomment for Beacon Contact (3 of 4 for beacon contact) # Heat to target temp
#G28 Z METHOD=CONTACT CALIBRATE=0 # Calibrate z offset only with hot nozzle RESPOND PREFIX="PRINT_START: " MSG="Heating hotend (for first layer) to: {target_extruder}c"
LED_STATUS_HEATING # Set LEDs to heating-mode
# Heat up the hotend up to target via data from slicer
SET_DISPLAY_TEXT MSG="Hotend: {target_extruder}c" # Display info on display
STATUS_HEATING # Set LEDs to heating-mode
G1 X{x_wait} Y{y_wait} Z15 F9000 # Go to center of the bed G1 X{x_wait} Y{y_wait} Z15 F9000 # Go to center of the bed
M107 # Turn off partcooling fan M107 # Turn off partcooling fan
M109 S{target_extruder} # Heat the hotend to set temp M109 S{target_extruder} # Heat the hotend to set temp
## Uncomment for Beacon Contact (4 of 4 for beacon contact)
#SET_GCODE_OFFSET Z=0.06 # Add a little offset for hotend thermal expansion
# Get ready to print by doing a primeline and updating the LEDs # Get ready to print by doing a primeline and updating the LEDs
SET_DISPLAY_TEXT MSG="Printer goes brr" # Display info on display # SET_DISPLAY_TEXT MSG="Printer goes brr" # Display info on display
STATUS_PRINTING # Set LEDs to printing-mode # STATUS_PRINTING # Set LEDs to printing-mode
G0 X{x_wait - 50} Y4 F10000 # Go to starting point # G0 X{x_wait - 50} Y4 F10000 # Go to starting point
G0 Z0.4 # Raise Z to 0.4 # G0 Z0.4 # Raise Z to 0.4
G91 # Incremental positioning # G91 # Incremental positioning
G1 X100 E20 F1000 # Primeline # G1 X100 E20 F1000 # Primeline
G90 # Absolute position # G90 # Absolute position