Selective QGL
This commit is contained in:
parent
e35b543ee9
commit
2311395fe8
18
printer.cfg
18
printer.cfg
|
@ -487,11 +487,11 @@ gcode:
|
||||||
{% set ACTUAL_TEMP = printer.extruder.temperature %}
|
{% set ACTUAL_TEMP = printer.extruder.temperature %}
|
||||||
|
|
||||||
{% if ACTUAL_TEMP > PROBE_TEMP %}
|
{% if ACTUAL_TEMP > PROBE_TEMP %}
|
||||||
M106 S255
|
M106 S255
|
||||||
M109 S{ PROBE_TEMP }
|
M109 S{ PROBE_TEMP }
|
||||||
M106 S0
|
M106 S0
|
||||||
{% else %}
|
{% else %}
|
||||||
M109 S{ PROBE_TEMP }
|
M109 S{ PROBE_TEMP }
|
||||||
{% endif %}
|
{% endif %}
|
||||||
; get nozzle to probing temperture
|
; get nozzle to probing temperture
|
||||||
M190 S{ params.BED | float } ; wait for bed to reach temperture
|
M190 S{ params.BED | float } ; wait for bed to reach temperture
|
||||||
|
@ -501,7 +501,15 @@ gcode:
|
||||||
{% if params.QGL is defined and params.QGL == "NO" %}
|
{% if params.QGL is defined and params.QGL == "NO" %}
|
||||||
G28
|
G28
|
||||||
{% else %}
|
{% else %}
|
||||||
G32
|
; Is QGL applied already?
|
||||||
|
{% if printer.quad_gantry_level.applied %}
|
||||||
|
; QGL is applied, so just home the axis
|
||||||
|
G28
|
||||||
|
PARK_NOZZLE_REAR
|
||||||
|
{% else %}
|
||||||
|
; QGL is not applied, so home the axis and apply QGL and calibrate the mesh
|
||||||
|
G32
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
G1 Z20 F3000 ; move nozzle away from bed
|
G1 Z20 F3000 ; move nozzle away from bed
|
||||||
M109 S{ params.EXTRUDER | float } ; wait for nozzle to reach temperture
|
M109 S{ params.EXTRUDER | float } ; wait for nozzle to reach temperture
|
||||||
|
|
Loading…
Reference in New Issue