QIDITECH / QIDI_PLUS4

QIDI TECH X-Plus 4
GNU Affero General Public License v3.0
11 stars 0 forks source link

Add Z_TILT_ADJUST to start GCODE #10

Closed spooknik closed 2 days ago

spooknik commented 4 days ago

Hello, I believe it would be a good idea to run theZ_TILT_ADJUST macro at the start of each print. When the Z steppers are not powered, they can become unlevel and it's a good idea to correct the bed tilt before each print.

[gcode_macro PRINT_START]
gcode:
    AUTOTUNE_SHAPERS

    {% set bedtemp = params.BED|int %}
    {% set hotendtemp = params.HOTEND|int %}
    {% set chambertemp = params.CHAMBER|default(0)|int %}
    set_zoffset
    M104 S0
    M141 S{chambertemp}
    M106 P2 S0
    M106 P3 S0
    M106 S255
    M140 S{bedtemp}    
#    M141 S{chambertemp}
    G28
    M106 S0
    CLEAR_NOZZLE HOTEND={hotendtemp}
    M191 S{chambertemp}    
    M190 S{bedtemp}   
    M104 S140
    Z_TILT_ADJUST   # <- Run before bed mesh, when bed is hot. 
    G29
    G0 Z50 F600
    G0 X5 Y5  F6000
whb0514 commented 2 days ago

We have considered this problem, but if the double Z-axis only keeps the hot bed plane horizontal, and ignores the parallel before the double Z-axis, the Z-axis alignment will not be smooth, which will affect the printing effect. You can ensure that the hot bed plane and the supporting sheet metal screen below are level if you can add this.

spooknik commented 2 days ago

Understood, thank you for the reply 👍