• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    tsitalon1
    last edited by 1 Jul 2018, 01:27

    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
    • undefined
      Phaedrux Moderator
      last edited by 1 Jul 2018, 02:02

      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

      undefined 1 Reply Last reply 1 Jul 2018, 12:10 Reply Quote 0
      • undefined
        T3P3Tony administrators
        last edited by T3P3Tony 7 Jan 2018, 09:40 1 Jul 2018, 09:39

        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

        undefined 1 Reply Last reply 1 Jul 2018, 13:54 Reply Quote 1
        • undefined
          T3P3Tony administrators @Phaedrux
          last edited by T3P3Tony 7 Jan 2018, 12:16 1 Jul 2018, 12:10

          @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

          undefined 1 Reply Last reply 1 Jul 2018, 16:14 Reply Quote 1
          • undefined
            JohnOCFII @T3P3Tony
            last edited by 1 Jul 2018, 13:54

            @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
            • undefined
              Phaedrux Moderator @T3P3Tony
              last edited by 1 Jul 2018, 16:14

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

              Z-Bot CoreXY Build | Thingiverse Profile

              undefined 1 Reply Last reply 2 Jul 2018, 05:41 Reply Quote 1
              • undefined
                tsitalon1
                last edited by 1 Jul 2018, 22:49

                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
                • undefined
                  T3P3Tony administrators @Phaedrux
                  last edited by 2 Jul 2018, 05:41

                  @phaedrux Thanks - I have added them.

                  Looking forward to seeing some more.

                  www.duet3d.com

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    Jason K
                    last edited by 2 Jul 2018, 17:42

                    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.

                    undefined 1 Reply Last reply 2 Jul 2018, 20:53 Reply Quote 0
                    • undefined
                      T3P3Tony administrators @Jason K
                      last edited by 2 Jul 2018, 20:53

                      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

                      undefined 1 Reply Last reply 3 Jul 2018, 18:36 Reply Quote 0
                      • undefined
                        deckingman @T3P3Tony
                        last edited by 3 Jul 2018, 18:36

                        @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

                        undefined 1 Reply Last reply 3 Jul 2018, 19:11 Reply Quote 1
                        • undefined
                          T3P3Tony administrators @deckingman
                          last edited by 3 Jul 2018, 19:11

                          @deckingman thanks, I will take a look

                          www.duet3d.com

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            Alex.cr
                            last edited by Alex.cr 7 Oct 2018, 01:23 7 Jul 2018, 03:11

                            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̶

                            undefined undefined 2 Replies Last reply 7 Jul 2018, 04:29 Reply Quote 0
                            • undefined
                              Phaedrux Moderator @Alex.cr
                              last edited by 7 Jul 2018, 04:29

                              @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

                              undefined 1 Reply Last reply 9 Jul 2018, 01:07 Reply Quote 0
                              • undefined
                                T3P3Tony administrators @Alex.cr
                                last edited by 8 Jul 2018, 10:54

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

                                www.duet3d.com

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  Alex.cr @Phaedrux
                                  last edited by 9 Jul 2018, 01:07

                                  @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
                                  • undefined
                                    fma
                                    last edited by 9 Jul 2018, 06:20

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

                                    Frédéric

                                    undefined 1 Reply Last reply 10 Jul 2018, 01:22 Reply Quote 0
                                    • undefined
                                      Alex.cr @fma
                                      last edited by Alex.cr 7 Oct 2018, 01:22 10 Jul 2018, 01:22

                                      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
                                      • undefined
                                        fma
                                        last edited by 10 Jul 2018, 04:39

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

                                        Frédéric

                                        undefined 1 Reply Last reply 11 Jul 2018, 01:15 Reply Quote 0
                                        • undefined
                                          Alex.cr @fma
                                          last edited by Alex.cr 7 Nov 2018, 01:59 11 Jul 2018, 01:15

                                          @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̶

                                          undefined 1 Reply Last reply 11 Jul 2018, 02:01 Reply Quote 1
                                          5 out of 23
                                          • First post
                                            5/23
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA