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

    Macro's - Repository?

    Scheduled Pinned Locked Moved
    General Discussion
    8
    23
    4.4k
    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.
    • T3P3Tonyundefined
      T3P3Tony administrators @deckingman
      last edited by

      @deckingman thanks, I will take a look

      www.duet3d.com

      1 Reply Last reply Reply Quote 0
      • Alex.crundefined
        Alex.cr
        last edited by Alex.cr

        If I knew how to use github i would add these directly...

        I did not write the first one, someone on the old forum did. Sorry stranger for not writing down your name.
        [EDIT: @dc42 and @burtoogle are responsible for this macro]

        The second one is a simple probe repeatability test with moves between.

        These aren't rocket science but have helped me.

        0_1530932915653_non linear test.txt
        0_1530932923605_probe test.txt

        Voron2.4/Duet3 SBC+6HC+3HC+1LC+1HCL(x2) - Delta/Duet2 Wifi - CubePro/Duet2 Wifi+Duex5 - Laser/Duet3 Mini5+ - Cel Robox - U̶p̶3̶0̶0̶+/D̶u̶e̶t̶3̶ ̶6̶H̶C̶+̶LC1̶ - F̶T̶-̶5̶/̶D̶u̶e̶t̶2̶ ̶W̶i̶f̶i̶ - S̶o̶l̶i̶d̶o̶o̶d̶l̶e̶

        Phaedruxundefined T3P3Tonyundefined 2 Replies Last reply Reply Quote 0
        • Phaedruxundefined
          Phaedrux Moderator @Alex.cr
          last edited by

          @alex-cr The non-linear extrusion test is interesting, but how do you use the results? Non-linear extrusion is on my list to explore next.

          Z-Bot CoreXY Build | Thingiverse Profile

          Alex.crundefined 1 Reply Last reply Reply Quote 0
          • T3P3Tonyundefined
            T3P3Tony administrators @Alex.cr
            last edited by

            @alex-cr Thanks. I have added them to the repository.

            www.duet3d.com

            1 Reply Last reply Reply Quote 0
            • Alex.crundefined
              Alex.cr @Phaedrux
              last edited by

              @phaedrux said in Macro's - Repository?:

              @alex-cr The non-linear extrusion test is interesting, but how do you use the results? Non-linear extrusion is on my list to explore next.

              The intent is to measure the length of the extruded sections to ensure they all come out the same length, regardless of extrusion speed.

              I need to add to the macro to supply rectraction because of my 1.2m bowden tubes on my main printer now so in reality I have not used the macro very much.
              I really wish I could find the forum post to reference...

              Voron2.4/Duet3 SBC+6HC+3HC+1LC+1HCL(x2) - Delta/Duet2 Wifi - CubePro/Duet2 Wifi+Duex5 - Laser/Duet3 Mini5+ - Cel Robox - U̶p̶3̶0̶0̶+/D̶u̶e̶t̶3̶ ̶6̶H̶C̶+̶LC1̶ - F̶T̶-̶5̶/̶D̶u̶e̶t̶2̶ ̶W̶i̶f̶i̶ - S̶o̶l̶i̶d̶o̶o̶d̶l̶e̶

              1 Reply Last reply Reply Quote 0
              • fmaundefined
                fma
                last edited by

                But how do you fit the measured values, to get A and B params?

                Frédéric

                Alex.crundefined 1 Reply Last reply Reply Quote 0
                • Alex.crundefined
                  Alex.cr @fma
                  last edited by Alex.cr

                  I found the link! Turns out it was @dc42 and @burtoogle that wrote the macro. Thanks guys!
                  https://forum.duet3d.com/topic/3625/new-beta-firmware-1-20-1rc2-and-duetwifiserver-1-20-1/14

                  @fma Set A=0.015 and B=0.0012 and start there. At least that's what I did. Extrusion was more consistent at higher speeds. These numbers worked on my direct drive system at the time.

                  I was not very scientific with it, it just helped so I left it there. That's what @dc42 had come up with on his setup.

                  I need to look into this again but since upgrading to a bondtech extruder the problem hasn't resurfaced.

                  Voron2.4/Duet3 SBC+6HC+3HC+1LC+1HCL(x2) - Delta/Duet2 Wifi - CubePro/Duet2 Wifi+Duex5 - Laser/Duet3 Mini5+ - Cel Robox - U̶p̶3̶0̶0̶+/D̶u̶e̶t̶3̶ ̶6̶H̶C̶+̶LC1̶ - F̶T̶-̶5̶/̶D̶u̶e̶t̶2̶ ̶W̶i̶f̶i̶ - S̶o̶l̶i̶d̶o̶o̶d̶l̶e̶

                  1 Reply Last reply Reply Quote 1
                  • fmaundefined
                    fma
                    last edited by

                    I'll try these values, but I would like to know how to compute them from a set of measures...

                    Frédéric

                    Alex.crundefined 1 Reply Last reply Reply Quote 0
                    • Alex.crundefined
                      Alex.cr @fma
                      last edited by Alex.cr

                      @fma This involves solving for a nonlinear equation. A recent posting shows sort of how to do it.

                      https://forum.duet3d.com/topic/5588/non-linear-extrusion

                      I have build an excel form to create a best fit equation, this may help you.
                      The values in the form are bogus, do not use those... enter your own.

                      0_1531274085101_cap-1.JPG
                      0_1531274344816_nonlinear extrusion sheet.xlsx

                      Voron2.4/Duet3 SBC+6HC+3HC+1LC+1HCL(x2) - Delta/Duet2 Wifi - CubePro/Duet2 Wifi+Duex5 - Laser/Duet3 Mini5+ - Cel Robox - U̶p̶3̶0̶0̶+/D̶u̶e̶t̶3̶ ̶6̶H̶C̶+̶LC1̶ - F̶T̶-̶5̶/̶D̶u̶e̶t̶2̶ ̶W̶i̶f̶i̶ - S̶o̶l̶i̶d̶o̶o̶d̶l̶e̶

                      Phaedruxundefined 1 Reply Last reply Reply Quote 1
                      • Phaedruxundefined
                        Phaedrux Moderator @Alex.cr
                        last edited by

                        @alex-cr that's great. I will definitely be checking that out.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        1 Reply Last reply Reply Quote 1
                        • Alex.crundefined
                          Alex.cr
                          last edited by Alex.cr

                          @Phaedrux I hope it's not too rough. My old engineering professors and current coworkers would kill me for not labeling all the axis...

                          Voron2.4/Duet3 SBC+6HC+3HC+1LC+1HCL(x2) - Delta/Duet2 Wifi - CubePro/Duet2 Wifi+Duex5 - Laser/Duet3 Mini5+ - Cel Robox - U̶p̶3̶0̶0̶+/D̶u̶e̶t̶3̶ ̶6̶H̶C̶+̶LC1̶ - F̶T̶-̶5̶/̶D̶u̶e̶t̶2̶ ̶W̶i̶f̶i̶ - S̶o̶l̶i̶d̶o̶o̶d̶l̶e̶

                          1 Reply Last reply Reply Quote 0
                          • fmaundefined
                            fma
                            last edited by fma

                            Thanks! I used gnuplot, which is able to fit any curve, and successfully computes A and B. Here is how I did:

                            • extrude 50mm (for example) at different speeds and read the real extrusion length;

                            • build a table with 2 cols: first col = speed, second col = error from theorical extrusion / theorical extrusion. You need to revert the sign so the table contains the correction to retreive the correct extrusion;

                            • save this table in a file called 'extrusion.dat';

                            • in gnuplot, do:

                            A = 1
                            B = 1
                            f(x) = A * X + B * x * x
                            fit f(x) 'extrusion.dat' via A, B <<<<< will print A and B and errors
                            plot 'extrusion.data'
                            replot f(x)

                            Hope this helps.

                            Frédéric

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Unless otherwise noted, all forum content is licensed under CC-BY-SA