Jump to content
Ultimaker Community of 3D Printing Experts

Stop Cura (4.4 & 4.5) lowering the nozzle before printing.

Recommended Posts

Posted (edited) · Stop Cura (4.4 & 4.5) lowering the nozzle before printing.

Hi guys,


Since Cura 4.4, some G-code is added somewhere that lowers the nozzle before going to the start point of the print job. Cura 4.3 and previous did not do this.


Does anyone know where this code is added so that I can remove it. The issue is that on some jobs, lowering the nozzle before getting to the start point will hit my nozzle in to the crocodile clips that hold the glass bed in place. I guess this is an oversight as the coders think that everyone is using magnetic beds now?


I know that it's not in the printer or extruder G-code in the machine settings. This is added after that. Any help to fix this bug would be greatly appreciated.

Edited by Darren_Lines
  • Link to post
    Share on other sites
    Posted · Stop Cura (4.4 & 4.5) lowering the nozzle before printing.

    No problem. The Start G-code I currently have in the printer machine settings is


    M117 Initialising...
    G21 ;metric values
    G90 ;absolute positioning
    M82 ;set extruder to absolute mode
    M107 ;start with the fan off
    G28 X0 Y0 ;move X/Y to min endstops
    G28 Z0 ;move Z to min endstops
    G92 E0 ;zero the extruded length
    M117 Cleaning... ;Put cleaning message on screen
    ; - reposition nozzle
    G1 Y10 Z5 F10000 ;raise nozzle 5mm and move along Y by 10mm
    ; - continue cleaning
    G1 Z1 ;Move nozzle close to the bed
    G1 E10 ;extrude 10mm of filament
    G1 Z15 F15000 E5 ;Move up 15mm fast, while extruding 5mm
    G92 E0 ;zero the extruded length again
    G1 X0 Y0 ;home the nozzle
    M117 Printing...

    I have changed this to move the cleaning operation so that the cleaned nozzle didn't lower its self back in to the extruded filament. The lowering happens after the G1 X0 Y0 command at the end.


  • Link to post
    Share on other sites
    Posted · Stop Cura (4.4 & 4.5) lowering the nozzle before printing.

    Hi, sorry for the slow response, it's been a busy day. So, I think this behaviour has been introduced by a recent revamp of the retraction/z-hop code. Arguably, it's a regression. The only workaround I can suggest is to turn off z-hop. For this particular print, that's of no consequence (I think) because it doesn't appear to do any other z-hops in the print. I recommend you open an issue at the cura github as this should get a proper fix.


    • Thanks 1
    Link to post
    Share on other sites
    Posted · Stop Cura (4.4 & 4.5) lowering the nozzle before printing.

    Thanks for the reply and your help. I can confirm that disabling the Z-hop did stop the unwanted movement. I'll raise an issue on github.

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • Talking additive | The 3D printing podcast
        Why should we be the only ones asking questions? Join us and ask Jabil all your questions on September 22nd 5pm CET
          • Like
        • 3 replies
      • Ultimaker masterclass: Optimizing your Ultimaker Cura workflow
        Save your seat for either broadcast on September 23.
        What will you learn?
        · Best practices for iterative print preparation and every lesson you should learn from each print
        · The right way to use per-object settings and when they are most useful
        · Easy-to-use resources for anyone who wants to develop their own printer definitions, plugins, or print profiles
        · How to optimize print profile settings and whether to “keep” or “discard” changes
        · When is the right time to export your drawing from CAD? (Based on Ultimaker Cura’s surprising power as 3D control software)
        · And a whole lot more tips and tricks!
        How can I join?
        This free masterclass will take place twice:
        1. 11am CEST (5pm SGT, 5am EDT)
        2. 5pm CEST (11am EDT, 8am PDT, 11pm SGT)
          • Like
        • 0 replies
      • Do you use 3D printing at work? Let us know
        It doesn't matter if you are using 1 Ultimaker or 10, there is inspiration in everything. We're looking for ...
        • 1 reply
    • Create New...