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

    Macro's - Repository?

    Scheduled Pinned Locked Moved
    General Discussion
    8
    23
    4.3k
    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.
    • tsitalon1undefined
      tsitalon1
      last edited by

      Do we have a macro repository anywhere on this site?

      I apologize if I missed the obvious, but I cannot seem to find one.

      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        Not that I know of, but we could start one.

        https://www.dropbox.com/sh/j8qaxkkardoxzja/AADUDwfeBvVTpXzcr0nOpSPZa?dl=0

        Z-Bot CoreXY Build | Thingiverse Profile

        T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
        • T3P3Tonyundefined
          T3P3Tony administrators
          last edited by T3P3Tony

          I think that it would be awesome if we could collate macros that people find useful.

          I think it would be best to use github and link to the repository from the documentation.

          I prefer not to link them directly from drop box as they is not permanent.

          I have created the skeleton of a documentation page here:
          https://duet3d.dozuki.com/Wiki/Macros

          @Phaedrux thanks for sharing the drop box directory of all your macros. I have used you pressure advance macros as an example. Do you you mind if I copy your drop box onto github?

          www.duet3d.com

          JohnOCFIIundefined 1 Reply Last reply Reply Quote 1
          • T3P3Tonyundefined
            T3P3Tony administrators @Phaedrux
            last edited by T3P3Tony

            @phaedrux I have added your pressure advance examples to the github repository. Do you mind if I add the other ones?

            Repository is here:
            https://github.com/T3P3/GcodeMacros

            www.duet3d.com

            Phaedruxundefined 1 Reply Last reply Reply Quote 1
            • JohnOCFIIundefined
              JohnOCFII @T3P3Tony
              last edited by

              @t3p3tony This is a fantastic idea! I'm building my second Duet-powered printer now (a RailCore II 300ZL) and I've seen some of the other builders have created some terrifically useful macros.

              1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator @T3P3Tony
                last edited by

                @t3p3tony I don't mind at all. Share and share alike.

                Z-Bot CoreXY Build | Thingiverse Profile

                T3P3Tonyundefined 1 Reply Last reply Reply Quote 1
                • tsitalon1undefined
                  tsitalon1
                  last edited by

                  Awesome guys, thanks for adding this!

                  It'll help out the Duet newbies like me, hopefully I'll be able to contribute shortly.

                  1 Reply Last reply Reply Quote 0
                  • T3P3Tonyundefined
                    T3P3Tony administrators @Phaedrux
                    last edited by

                    @phaedrux Thanks - I have added them.

                    Looking forward to seeing some more.

                    www.duet3d.com

                    1 Reply Last reply Reply Quote 0
                    • Jason Kundefined
                      Jason K
                      last edited by

                      I LOVE THIS!

                      I cant believe no one thought of this earlier.
                      I know for myself, I sometimes get confused because there are so many ways to use a duet and I can't find an example for say a Cartesian vs a delta. The duet team does such a good job with documentation but it is an impossible task for a small team to give so many examples. (now that i own 3 duets im a little better).

                      I imagine this will be another invaluable resource. Especially for people just starting out.

                      T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                      • T3P3Tonyundefined
                        T3P3Tony administrators @Jason K
                        last edited by

                        So I have added some macros provided by @deckingman

                        It would be good to get some more off people, then i will have another look at the documentation page and slot in examples and links.

                        www.duet3d.com

                        deckingmanundefined 1 Reply Last reply Reply Quote 0
                        • deckingmanundefined
                          deckingman @T3P3Tony
                          last edited by

                          @t3p3tony

                          I did actually start a thread way back in May 2017 https://forum.duet3d.com/topic/162/macros-ideas-suggestions-tips-and-tricks to try and get people to submit ideas.

                          There wasn't all that much feedback but you might find a couple more there.

                          Ian
                          https://somei3deas.wordpress.com/
                          https://www.youtube.com/@deckingman

                          T3P3Tonyundefined 1 Reply Last reply Reply Quote 1
                          • 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
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA