Jump to content

How should I adjust the retraction setting


Recommended Posts

Posted · How should I adjust the retraction setting

I have been struggling to print a model of a broken bone. The print kept failing as the filament got stuck. I have discovered that this is due to excessive retraction which in turn is due to the nature of bone! When it was printing, one could hear lots of in and out of the filament and then the filament stopped advancing.

I have now turned off retraction and the model prints through to completion, but with a lot of stringing

As a novice I do not understand all the terms in the expert settings for retraction.

I do not really understand combing - which is by default set to all

I do not really understand the z hop explanation and reference to delta towers

I would appreciate some help!




  • Link to post
    Share on other sites

    Posted · How should I adjust the retraction setting

    z-hop means it moves up in Z (nozzle above the part and away into the air) while doing non-extruding moves.

    combing - This is complicated but basically it describes keeping the nozzle *inside* the currently printed island. An island is an area within a cross section (the current layer). For example if printing a table and you are on the 4 legs there would be 4 islands to print. Back to combing - if you are printing a C shaped island and it needs to move from one tip of the C to the other, if combing is enabled it will go the long way around staying inside the C so that it doesn't make a mess. Of course when moving from island to island combing should make no difference.

    Now none of this has anything to do with your problem. If you know how to use wordcount and grep (wc, grep) you can quickly count the G11 commands in your gcode file and see how many retractions you have but more importantly it's how many times the same piece of filament goes back and forth through the feeder. 10X is usually around the limit. To enforce this you can increase "minimal extrusion before retracting". It defaults to .02mm I believe. This means if your retraction distance set on your printer is 4.5mm you can get 4.5mm/.02mm or 225 retractions on each spot of the filament. In practice this is very unlikely even with printing "bone" fragments. Anyway setting this to .45mm should be relatively safe but still get you *some* retractions. Personally moving this value from .02mm to .32mm made a big difference for me recently and reduced total retractions of a 10 hour print from 34,000 to 20,000 (34k retractions X 4.5mm is 153 meters of retractions! for a print that only needed about 7 meters of filament, lol.

    Anyway my point is to increase this from .02mm to around .3 or .4mm. Or even .9mm (no more than 5 retractions for each spot of filament).


  • Link to post
    Share on other sites

    Posted · How should I adjust the retraction setting

    At last, a person with knowledge!

    I am not a Linux user and am not familiar with wordcount and grep. Can the wordcount be done starting within Windows?

    Would it be too much to ask if you could look at the gcode for me??

    My aim in all of this is to get to a reliable methodology for taking CT scans of bones and convert them to 3D prints. I am using 3DSlicer to convert DICOM to STL as it is Open Source. I have printed quite a few fractures now, but this recent one and one a couple of months ago kept failing. I cannot go on to promote the method until it is reliable. I am now hopeful that your suggestion will make a big difference and avoid this kind of failure.

    FWIW, here is a model that printed without these retraction issues


    Thanks for your input



  • Link to post
    Share on other sites

    Posted · How should I adjust the retraction setting

    gr5 thanks for these explanations, very clear and useful (as usual). Medical, funny because I had exactly the same yesterday, with some bones!!! To see the number of retractions drop the gcode file in a browser window, then Ctrl F (find) and you input G11. Will tell you how many matches there are ;)


  • Link to post
    Share on other sites

    Posted · How should I adjust the retraction setting

    @personal drones - good tip! Although it didn't work for me in internet explorer or firefox but *did* work in chrome!

    @medicalModeler - just change it to .5mm for now ("minimal extrusion before retracting"). That should keep you from grinding the filament.


  • Link to post
    Share on other sites

    Posted · How should I adjust the retraction setting

    @gr5 in such a situation, do you think that tuning the other parameter "minimum travel" could be relevant, in addition to the "minimal extrusion before retracting"?


  • Link to post
    Share on other sites

    Posted (edited) · How should I adjust the retraction setting

    I could be wrong but i don't count any G11 or G10 commands in my gcode.

    There is retraction when printing, though.

    Cura 15.04

    Marlin 1.0.2-1

    Having trouble here with filament getting stuck in bowden tube due to retraction / soft filament (Colorfabb) above hot end isolator (UMO).

    Edit: I read now it is a Ultigcode thing.... 8)

    Edited by Guest
  • 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

      • 🎄✨ Thingiverse Tree Ornament Challenge! ✨🎄
        We've been running a Tree Ornament Challenge with a chance to win an UltiMaker S3 or colorFabb filament.
        Design a 3D printable tree ornament and join our festive challenge on Thingiverse. 🎁✨

        📆 Submission Deadline: December 22
        🏷️Tag your designs with Holidays2023

        Click here to join and check out the over 300 other amazing designs

        How to Enter
        Design an Ornament
        Create a 3D printable tree ornament that captures the magic of the winter season. Think snowflakes, sleighs, reindeer, cozy mittens, or anything that embodies the joy of the holidays. Upload to Thingiverse
        Share your masterpiece on Thingiverse and add the tag Holidays2023. Don't forget to include a captivating description and images that showcase your design from different angles. Submit by December 22
        All entries must be submitted by December 22nd to be eligible for consideration.
          Entering a new design
        Entering an existing design
        Winning designs should:
        Be original Creations
        Your designs should be original works, avoiding the use of others' intellectual property without permission. Include STL Files
        Each submission must include at least one STL file for 3D printing. Showcase a Completed Print
        Provide at least one photograph featuring a completed print of your design. Include Documentation
        Share the creative journey! Include documentation of your design process, giving us a peek behind the scenes. For example, show a screenshot of the model in your design program. Use the Tag Holidays2023.
        Use this tag to ensure your entry is counted in the Tree Ornament Challenge. Be submitted after October 1st, 2023
        Ensure your design was uploaded to Thingiverse after October 1st, 2023. Adhere to Submission Guidelines and Terms of Service
        Make sure your submission aligns with our guidelines and Thingiverse's Terms of Service.  
        Good luck 🎉
        • 1 reply
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
      • Ultimaker Cura 5.6 stable released
        Cura now supports Method series printers!
        A year after the merger of Ultimaker and MakerBotQQ, we have unlocked the ability for users of our Method series printers to slice files using UltiMaker Cura. As of this release, users can find profiles for our Method and Method XL printers, as well as material profiles for ABS-R, ABS-CF, and RapidRinse. Meaning it’s now possible to use either Cura or the existing cloud-slicing software CloudPrint when printing with these printers or materials
        • 13 replies
    • Create New...