Jump to content

Cura 5.1.1 retracts twice between layers


Recommended Posts

Posted · Cura 5.1.1 retracts twice between layers

Hey all!


When I enable "Retract at Layer Change"  in Cura 5.1.1 it inserts two retract/prime cycles instead of one.  See GCode snippet.  I added comments where I see the retracts are happening (retract distance is 10mm in this example).


G1 F900 X118.728 Y118.859 E169.1823 ;End of last layer
G0 F9000 X118.2 Y118.2
G1 F1800 E159.1823 ;Retract
G0 F300 X118.2 Y118.2 Z1.32
G0 F9000 X100.67 Y100.67
G1 F1800 E169.1823 ;Prime for next layer
G0 F9000 X100.3 Y100.3
G1 F1800 E159.1823 ;Retract again
G1 F1800 E169.1823 ;Prime for next layer again


I thought it may be an overlap with "Retract Before Outer Wall" but I have that turned off and I still get two retract cycles.


For kicks, I tried the same settings on Cura 4.8.0 and there is just one retract cycle.


Am I missing something and this is intended behavior in Cura 5.1.1?  Possibly a bug?


Thanks for your help!

  • Link to post
    Share on other sites

    Posted · Cura 5.1.1 retracts twice between layers

    I can't duplicate that so it may have something to do with the way you have Cura set up and your combination of settings.


    Use the File | Save Project command and post the 3mf file here.  Someone will take a look.

  • Link to post
    Share on other sites

    Posted (edited) · Cura 5.1.1 retracts twice between layers

    I think what's happening is that Cura is adding a regular retraction and prime around the combing moves (;MESH:NONMESH) according to the settings "Retraction Minimum Travel", "Combing Mode", and "Max Comb Distance with No Retract" and then it is explicitly adding a retraction when the layer changes.


    So it appears that there is no check to see if there was a retraction that was based on other settings, it's simply adding the "Retract at Layer Change" regardless of what else might be going on.  Turning of "Combing" eliminates one of the retractions and leaves the "Retract at Layer Change".


    Now the question is "Is this a bug?".  I don't think so as it appears to be working the way it was designed.

    But that raises the question "Is this annoying?".  I could see where it could be annoying as blobs may be involved.


    You could write up a bug report over on GitHub.  I did a quick search and didn't see any other mentions of this behavior.  I'm often the greeter over there and it would get past me but at some point it might be changed to a feature request.


    (BTW I get the behavior you describe in 4.8 in 4.10 as well.  4.13 seems to be like the 5.x behavior.  I will assume that a change was made for 4.11 or 4.12.)


    Edited by GregValiant
  • Link to post
    Share on other sites

    Posted · Cura 5.1.1 retracts twice between layers

    Thanks for the reply!


    Lots of interactions going on when you start enabling these extra options.


    Your first reply gave me an idea to start from scratch with a default profile.  I had been going down a rabbit hole trying to optimize retraction and coasting on a 0.6mm nozzle.  Once I refreshed the profile and changed just the few settings needed, the double retraction stopped and my print quality issues went away.


    Thanks for your help on this!



  • Link to post
    Share on other sites

    Posted · Cura 5.1.1 retracts twice between layers

    Hey @TheBigGuts, it would be very helpfull with you'd share your latest changes to avoid the double retraction! I've been digging into this issue!


  • 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

      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Thanks
          • Like
        • 3 replies
      • UltiMaker Cura 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
          • Like
        • 26 replies
    • Create New...