G-Code end



  • Hello,

    The question may be simple for you ... but for me it's different! ☹

    I'm looking for my nozzle (so my Z) is positioned 5 cm above the object I just printed at the end of printing. I have a CoreXY, so my bed goes down.

    I suspect that I have to put an order in my slicer (G-Code end), but I can not find which one?

    Thank you for your answers.



  • 5 cm is a lot of vertical capacity to give up to move the nozzle away from the print.

    You can drop the bed 2 mm and home the X and Y axes after a print is finished. That moves the nozzle away from the print (assuming the home position is at one corner of the bed) so it won't be in the way when you remove the print from the bed.

    G91 ; set relative positioning mode
    G1 Z2 F300 ; move the bed down 2mm at 5 mm/sec
    G90 ; set absolute positioning mode
    G28 Y ; home Y
    G28 X ; home X

    The RRF gcode reference is here: https://duet3d.dozuki.com/Wiki/Gcode



  • @mrehorstdmd said in G-Code end:

    5 cm, c’est beaucoup

    Perfect...

    Yes indeed, after reflection 5 cm is not suitable, I will take 2 cm ...

    Thank you !


Log in to reply