Merging with master.

This commit is contained in:
Bassam Husain
2023-04-07 09:57:21 -04:00
parent 688193903b
commit 4c3ae83f19
2 changed files with 16 additions and 11 deletions

View File

@@ -121,19 +121,23 @@ gcode:
{% set hotendtemp = params.HOTEND|int %}
{% set chambertemp = params.CHAMBER|default(0)|int %}
# Set safe speeds
{% set maxVelocity = printer.configfile.settings.printer.max_velocity|default(200)|int %}
{% set maxVelocityAdjusted = (0.95 * maxVelocity * 60)|int %}
ADJUST_FILAMENT_SENSOR_STATUS ENABLE=1
G28 X Y
# <insert your routines here>
G90
M140 S{bedtemp} ; set & don't wait for bed temp
M104 S{hotendtemp} ; set & don't wait for hotend temp
G28 X Y
M190 S{bedtemp} ; set & wait for bed temp
# TEMPERATURE_WAIT SENSOR="temperature_sensor chamber" MINIMUM={chambertemp} ; wait for chamber temp
# <insert your routines here>
M109 S{hotendtemp} ; set & wait for hotend temp
# <insert your routines here>
M104 S{hotendtemp} ; set & don't wait for hotend temp
G28 Z ; final z homing
G1 X0 Y0 F{maxVelocityAdjusted}
M109 S{hotendtemp} ; set & wait for hotend temp
BED_MESH_PROFILE LOAD=default
G1 Z20 F3000 ; move nozzle away from bed