• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Retraction Tuning Guide

Scheduled Pinned Locked Moved
Tuning and tweaking
9
33
6.9k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    Phaedrux Moderator @burtoogle
    last edited by 22 Jun 2018, 20:08

    @burtoogle Any chance of firmware retraction making it into the main Cura release without needing a plugin?

    Z-Bot CoreXY Build | Thingiverse Profile

    undefined 1 Reply Last reply 22 Jun 2018, 20:20 Reply Quote 0
    • undefined
      burtoogle @Phaedrux
      last edited by 22 Jun 2018, 20:20

      @phaedrux said in Retraction Tuning Guide:

      @burtoogle Any chance of firmware retraction making it into the main Cura release without needing a plugin?

      Hi, I don't think it needs the plugin to actually function. Once the setting has been set to true it should work (I don't actually use it myself so I can't verify this). The default value for that setting is this:

      "default_value": false,
      "value": "machine_gcode_flavor == 'RepRap (Volumetric)' or machine_gcode_flavor == 'UltiGCode' or machine_gcode_flavor == 'BFB'",

      What that means is that if you are using one of those gcode flavours then firmware_retract will be true, otherwise false.

      Now as far as I know you can set that value by either using the plugin as discussed above or you can create a printer definition that overrides the default definition. There's lots of printer definitions in the resources/definitions directory in the Cura installation (https://github.com/Ultimaker/Cura/tree/master/resources/definitions) that show you how you can define a new printer type and override default values. Hope this helps.

      undefined 1 Reply Last reply 22 Jun 2018, 20:29 Reply Quote 0
      • undefined
        Phaedrux Moderator @burtoogle
        last edited by Phaedrux 22 Jun 2018, 20:29

        @burtoogle Interesting. I haven't gone that deep into the innards of Cura yet, but good to know. Thanks. I guess I was just hoping for a check box like the plugin gives you for the average user to just know if it's on or not, much like relative extrusion.

        Z-Bot CoreXY Build | Thingiverse Profile

        undefined 1 Reply Last reply 22 Jun 2018, 20:46 Reply Quote 0
        • undefined
          burtoogle @Phaedrux
          last edited by 22 Jun 2018, 20:46

          Well, you can't get much simpler than installing the printer settings plugin and checking that check box.

          1 Reply Last reply Reply Quote 0
          • undefined
            Phaedrux Moderator
            last edited by 22 Jun 2018, 20:48

            Has that plugin made it into the plugin browser yet?

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • undefined
              burtoogle
              last edited by 22 Jun 2018, 21:51

              0_1529704300376_Screenshot_2018-06-22_22-51-25.png

              1 Reply Last reply Reply Quote 0
              • undefined
                burtoogle
                last edited by 22 Jun 2018, 21:52

                You may have to be running the 3.4 beta to get the toolbox?

                undefined 1 Reply Last reply 22 Jun 2018, 22:41 Reply Quote 0
                • undefined
                  Phaedrux Moderator @burtoogle
                  last edited by 22 Jun 2018, 22:41

                  @burtoogle seems so. I don't tend to use the betas. Experimental features is as far as I'm willing to go. But glad it will become widely available. Though I still think firmware retraction belongs in the main settings.

                  Thanks for the heads up.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  undefined 1 Reply Last reply 26 Jun 2018, 13:35 Reply Quote 0
                  • undefined
                    Ricky_Grade10
                    last edited by 24 Jun 2018, 14:48

                    Thanks for the good info boys, I got the plugin installed and was able to get on the fly firmware retraction working, right on! Through denial and error I was able to get some decent settings to use and I guess its working ok but I want to know more about the R and T parameters in M207. I think I can tweak this better, maybe with those parameters, but the only info I could find in the gcode wipi doesnt really tell me much

                    undefined 1 Reply Last reply 24 Jun 2018, 18:26 Reply Quote 0
                    • undefined
                      Phaedrux Moderator
                      last edited by 24 Jun 2018, 16:26

                      T lets you specify an unretract speed different from the retract. This is handy because molten filament behaves a bit like a non Newtonian fluid. Kinda like cornstarch and water mixture if you have ever seen that. If you press softly on it it flows like water. If you tap it hard it feels solid. Retracting fast helps pull the whole bit up the nozzle in one piece and then unretracting more slowly lets it flow more easily out.

                      R let's you modify the amount of filament that gets pushed back out after a retract. If your idler tension is very high it can deform the filament as it goes through causing it to have a slightly different effective diameter which slightly changes the extrusion rate. So in times wirh lots of short retracts close together the filament can get compressed and less will come back out leading to a bit of local under extrusion.

                      Alternatively if you have a very oozy material like PETG that bulges out when heated it can be handy to reduce the amount that comes out after a retract to try and reduce the z scar on the outter layer.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        Danal @Ricky_Grade10
                        last edited by 24 Jun 2018, 18:26

                        @ricky_grade10 said in Retraction Tuning Guide:

                        Through denial and error I was able to get some decent settings...

                        Ok, I know it was autocorrect.

                        Still made me chuckle.

                        Delta / Kossel printer fanatic

                        undefined 1 Reply Last reply 24 Jun 2018, 18:28 Reply Quote 1
                        • undefined
                          Phaedrux Moderator @Danal
                          last edited by 24 Jun 2018, 18:28

                          @danal I dunno about you but I read that and didn't even notice it as an error. I tend to make my way through life by denial and error.

                          Z-Bot CoreXY Build | Thingiverse Profile

                          1 Reply Last reply Reply Quote 1
                          • undefined
                            Ricky_Grade10
                            last edited by 25 Jun 2018, 12:06

                            I never went to university to get a fancy PFD or whatever, I only got my grade ten.

                            Any suggestions on where to start with the T and R parameters? Are these usually small values?

                            Thanks for the help boys

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              Phaedrux Moderator
                              last edited by 25 Jun 2018, 12:36

                              I usually use 20-40mm/s for unretracting. 90-133mm/s for retraction.

                              The R value is usually a very small positive or negative decimal value.

                              Beauty of firmware retraction is that you can adjust the values during a print. So you can start a retraction test print and make changes on the fly to see how they effect it.

                              Z-Bot CoreXY Build | Thingiverse Profile

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                wilriker
                                last edited by 25 Jun 2018, 14:53

                                Something I wanted to share here because the Printer Settings plugin for Cura came up: currently there is a bug in CuraEngine (the part the does the slicing in the background) that will create broken GCODE if you enable FW Retract, Relative Extrusion (as recommended for RRF) and Coasting at the same time. This is fixed in source code but will not be part of Cura 3.4 but only the version after (probably Cura 3.5 - not sure about minor fix versions).

                                Just so you know, do not use this combination right now.

                                Manuel
                                Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                                with probably always latest firmware/DWC (incl. betas or self-compiled)
                                My Tool Collection

                                1 Reply Last reply Reply Quote 1
                                • undefined
                                  Dino
                                  last edited by 25 Jun 2018, 17:44

                                  As a slight aside I spent most of my Saturday setting up pressure advance on my delta, part of that included using firmware retraction.

                                  I use S3D as my primary slicer on the delta and for $150 software it doesn't have a nice checkbox to enable firmware retraction 😒 I used post processing scripts I found here:

                                  http://thrinter.com/using-firmware-retraction-with-simplify3d/

                                  I had to turn off relative extrusion distances to get the script to work properly but now that it's setup it seems to be pretty nice.

                                  Only thing I noticed was if I sent all the parameters for retraction distance, speed, unretract extra distance, and zhop together in the same command the zhop wouldn't apply. I added a second command and moved the zhop command to it which seems to have fixed it.

                                  I have all my default retraction gcode in my config.g and have alterations of it in the start gcode commands for different filament if different retraction is needed. Plus the ability to make on the fly changes to retraction is fantastic, I can disable retraction mid print or add more shop if I need, or even print multiple retraction tests at once with different settings easily.

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    Ricky_Grade10
                                    last edited by 26 Jun 2018, 12:11

                                    So if the R value is neglative does that mean it will retract the filament even more?

                                    I guess Im having problems trying to figure out the order of the retraction process.

                                    In my brain compartments, I have been thinking it would retract first, then z hop and finally un-retract. Is that the way she goes?

                                    undefined 1 Reply Last reply 26 Jun 2018, 12:29 Reply Quote 0
                                    • undefined
                                      wilriker @Ricky_Grade10
                                      last edited by wilriker 26 Jun 2018, 12:29

                                      @ricky_grade10 said in Retraction Tuning Guide:

                                      So if the R value is neglative does that mean it will retract the filament even more?

                                      No, that would mean it would unretract less than it has retracted, e.g. if you set
                                      M207 S5 R-0.5
                                      that would mean it retracts 5mm but only unretracts 4.5mm (whyever you would wanna do something like this).

                                      I guess Im having problems trying to figure out the order of the retraction process.

                                      In my brain compartments, I have been thinking it would retract first, then z hop and finally un-retract. Is that the way she goes?

                                      That's exactly what it does.

                                      1. Retract amount specified by Snnn at speed of Fnnn
                                      2. lift Z by the amount of Znnn
                                      3. do whatever slicer has put in between
                                      4. lower Z by the amount of Znnn
                                      5. unretract Snnn + Rnnn at the speed of Fnnn (or Tnnn if that is given)

                                      Manuel
                                      Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                                      with probably always latest firmware/DWC (incl. betas or self-compiled)
                                      My Tool Collection

                                      1 Reply Last reply Reply Quote 0
                                      • undefined
                                        burtoogle @Phaedrux
                                        last edited by 26 Jun 2018, 13:35

                                        @phaedrux said in Retraction Tuning Guide:

                                        @burtoogle seems so. I don't tend to use the betas. Experimental features is as far as I'm willing to go. But glad it will become widely available. Though I still think firmware retraction belongs in the main settings.

                                        Thanks for the heads up.

                                        FYI Cura 3.4 has been released today.

                                        undefined 1 Reply Last reply 26 Jun 2018, 14:17 Reply Quote 1
                                        • undefined
                                          wilriker @burtoogle
                                          last edited by 26 Jun 2018, 14:17

                                          @burtoogle Any idea when this release will make it to GitHub? As that is the base for the package manager in Arch Linux.

                                          Manuel
                                          Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                                          with probably always latest firmware/DWC (incl. betas or self-compiled)
                                          My Tool Collection

                                          undefined 1 Reply Last reply 26 Jun 2018, 14:27 Reply Quote 0
                                          20 out of 33
                                          • First post
                                            20/33
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA