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

    Duet 2 Hangprinter, 5-bar Scara, Polar, Rotary Delta kinematics

    Scheduled Pinned Locked Moved
    General Discussion
    19
    40
    3.0k
    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.
    • JoePrintundefined
      JoePrint
      last edited by

      In my opinion if you freeze features on the Duet 2, you're going to lose those owner's loyalty to the brand... When I can't have the next killer feature that comes out, I'm not going to invest in a Duet3, but will be looking at other cheaper boards that support RRF, or most likely, will be jumping ship to the Klipper side!!

      I think removing the exotic kinematics with an option to swap them back in for a manual compile, or even having a pre-compiled firmware for both, is a good option.

      @joergs5 said in Duet 2 Hangprinter, 5-bar Scara, Polar, Rotary Delta kinematics:

      Maybe someone can even find good solutions for those problems in the future with additional hardware.

      Along the same line of thought as what joergs5 mentioned, another option is to take a hybrid Klipper approach and offload some of the functions to another controller or RPi, like input shaping, DWC, heater tuning, etc. Or even a full Klipper approach. That will provide plenty of space for additional features and extend the life of the Duet 2 and 3 for a long time. Not sure how feasible that would be, but it was just a thought.

      jumpedwithbothfeetundefined 1 Reply Last reply Reply Quote 0
      • jumpedwithbothfeetundefined
        jumpedwithbothfeet @JoePrint
        last edited by

        @dc42 I don't know about coding or the amount of work it would take but would it not be possible to have the kinematic made in a modular fashion kinda like a macro you can choose whilst setting up for the first time, imagine not many people change the kinematics once their printer is built, similar to what Exerqtor was suggesting, or are the kinematic to integrated?

        6HC Voron Trident based, 6XD CNC, Mini 5 polar printer

        1 Reply Last reply Reply Quote 0
        • vwegertundefined
          vwegert @oliof
          last edited by

          @oliof Interesting - for whatever reason I had the Duet3 mini as "fewer channels than Duet2" in my head. Thanks for clearing this up.

          o_lampeundefined 1 Reply Last reply Reply Quote 2
          • JoergS5undefined
            JoergS5 @dc42
            last edited by

            @dc42 if you decide to remove those kinematics from core RRF, I offer to take a lead for source and documentation for 5-bar scara, 5 axis robot, 6 axis robot and later this year for stewart/hexapod kinematics.

            My proposal are dedicated github repositories on Duet3D (so the repositories can be found) for those kinematics with source and binaries, so users who want to use them can easily install them. I propose to offer binaries for Duet 3 based hardware (6HC CAN, Mini Eth, Mini WiFi, 6XD) for main releases and maybe for a part of the beta versions.

            oliofundefined 1 Reply Last reply Reply Quote 3
            • oliofundefined
              oliof @JoergS5
              last edited by oliof

              @joergs5 I'll be glad to help out with that, but I thought the removal is only in the cards for Duet2 boards.

              <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

              JoergS5undefined 1 Reply Last reply Reply Quote 0
              • JoergS5undefined
                JoergS5 @oliof
                last edited by JoergS5

                @oliof said in Duet 2 Hangprinter, 5-bar Scara, Polar, Rotary Delta kinematics:

                @joergs5 I'll be glad to help out with that, but I thought the removal is only in the cards for Duet2 boards.

                The point is that the firmware today is one code (Duet 0.6/0.8, Maestro, Duet2, Duet3 6HC, Mini) and with eclipse several target platform bin files are created. In the near future it is too big for Duet 2. Splitting into Duet 2 and Duet 3 trees is not wished, as it complicates delivery and testing. Removing the less popular kinematics is an alternative (or dynamically linking as I proposed first).

                JoergS5undefined 1 Reply Last reply Reply Quote 0
                • JoergS5undefined
                  JoergS5 @JoergS5
                  last edited by JoergS5

                  Thinking about the discussion, another new idea:

                  by IF flag the seldom used kinematics could be excluded from <= Duet2 builds.

                  gloomyandyundefined 1 Reply Last reply Reply Quote 0
                  • gloomyandyundefined
                    gloomyandy @JoergS5
                    last edited by

                    @joergs5 The current source already contains code to allow various features to be optional including some of these kinematics:
                    https://github.com/Duet3D/RepRapFirmware/blob/3.4-dev/src/Movement/Kinematics/HangprinterKinematics.cpp#L10

                    /*
                     * HangprinterKinematics.cpp
                     *
                     *  Created on: 24 Nov 2017
                     *      Author: David
                     */
                    
                    #include "HangprinterKinematics.h"
                    
                    #if SUPPORT_HANGPRINTER
                    
                    

                    By default these optional items are enabled:
                    https://github.com/Duet3D/RepRapFirmware/blob/3.4-dev/src/Config/Pins.h#L221

                    // Optional kinematics support, to allow us to reduce flash memory usage
                    
                    ....
                    
                    #ifndef SUPPORT_HANGPRINTER
                    # define SUPPORT_HANGPRINTER	1
                    #endif
                    

                    So it is just a case of disabling (or enabling) the support in the board configuration files (or build system), so for instance the Duet3Mini4 build has some/all of them disabled:

                    // Disable the kinematcs we don't need to save flash memory space
                    #define SUPPORT_LINEAR_DELTA	0
                    #define SUPPORT_ROTARY_DELTA	0
                    #define SUPPORT_POLAR			0
                    #define SUPPORT_SCARA			0
                    #define SUPPORT_FIVEBARSCARA	0
                    #define SUPPORT_HANGPRINTER		0
                    

                    Of course as time goes on the problem may be finding a combination of settings that supports all of the features you want but that still fits in flash memory.

                    JoergS5undefined 1 Reply Last reply Reply Quote 3
                    • JoergS5undefined
                      JoergS5 @gloomyandy
                      last edited by JoergS5

                      @gloomyandy I see, added recently (between 3.4.0-beta7 and rc1), so the whole problem already solved... Thank you for information.

                      dc42undefined 1 Reply Last reply Reply Quote 0
                      • bbergerundefined
                        bberger
                        last edited by

                        I wouldn't be completely opposed to feature freezing the Duet 2 WiFi - but then I'd want a drop-in replacement (not Duet 3) upgrade path.

                        If I have to re-wire and reconfigure everything I'd probably just jog on and install Klipper.

                        Don't want to be rude, I love my Duet stuff and if you give me a straight drop-in replacement (form factor, plug types) I'd be up for that.

                        It's not about money for me (only have one printer right now and would love to build a "backup" secondary printer) - but I don't want to invest the time to rebuild everything.

                        oliofundefined 1 Reply Last reply Reply Quote 0
                        • oliofundefined
                          oliof @bberger
                          last edited by

                          @bberger The only thing you'd need to rewire going from a Duet 2 to a Duet 3 mini 5+ is the heater wiring, the rest can be re-used as is. You'd likely require to adjust a couple of pin designations, but even that is likely to be less of an issue. So while this won't necessarily satisfy your requirement of "drop-in replacement", it'll probably be less effort than moving to klipper -- which is a great alternate choice, so if this path leads you there, you probably won't be disappointed. It may not be as straightforward if you use any of the kinematics covered in this thread though, since they're either not supported at all or in experimental branches at best, as far as I can see.

                          After all, the intent of this thread is gauging whether dropping those kinematics from Duet2 builds to make room for future features would be acceptable. It sounds like to you, it may -- no new hardware needed, you can stick with RRF, and you'll get all the new features for the most common kinematics (-:

                          <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                          1 Reply Last reply Reply Quote 0
                          • o_lampeundefined
                            o_lampe @vwegert
                            last edited by

                            @vwegert It's not the number of drivers that are different, but the max. current AFAIK?
                            The Duet3 mini is more like the Maestro. Not well suited for NEMA23 on a CNC or strong Nema17 extruders.

                            bbergerundefined 1 Reply Last reply Reply Quote 0
                            • bbergerundefined
                              bberger @o_lampe
                              last edited by

                              @o_lampe or 2.4A Moon's motors like in my case.

                              1 Reply Last reply Reply Quote 0
                              • Miss Rebekahundefined
                                Miss Rebekah
                                last edited by

                                im using a duet 2 for a robot arm

                                1 Reply Last reply Reply Quote 0
                                • EducatingSavvasundefined
                                  EducatingSavvas @dc42
                                  last edited by

                                  @dc42 Was desperately hoping someone would create a kinematic for cartesian with a rotary z - for tangential knife cutters or concrete/clay printers with vector following nozzle.

                                  1 Reply Last reply Reply Quote 1
                                  • dc42undefined
                                    dc42 administrators @JoergS5
                                    last edited by dc42

                                    @joergs5 said in Duet 2 Hangprinter, 5-bar Scara, Polar, Rotary Delta kinematics:

                                    @gloomyandy I see, added recently (between 3.4.0-beta7 and rc1), so the whole problem already solved... Thank you for information.

                                    Yes, for those prepared to build the firmware themselves. The change I propose is to remove support for some kinematics in the standard firmware binary that we release. I'll leave linear delta in because it's popular, also I'll leave SCARA in because it was the second nonlinear kinematics implemented and the machine I test Duet 2 Ethernet on is a SCARA.

                                    Duet WiFi hardware designer and firmware engineer
                                    Please do not ask me for Duet support via PM or email, use the forum
                                    http://www.escher3d.com, https://miscsolutions.wordpress.com

                                    JoergS5undefined 1 Reply Last reply Reply Quote 0
                                    • JoergS5undefined
                                      JoergS5 @dc42
                                      last edited by

                                      @dc42 said in Duet 2 Hangprinter, 5-bar Scara, Polar, Rotary Delta kinematics:

                                      I'll leave linear delta in because it's popular

                                      My wish would be that the kinematic can be commented out without breaking code at other places in the firmware, so if I use an exotic kinematic, I can maximize available memory.

                                      Snimaxundefined 1 Reply Last reply Reply Quote 1
                                      • Snimaxundefined
                                        Snimax @JoergS5
                                        last edited by Snimax

                                        @joergs5 There is a #define SUPPORT_LINEAR_DELTA in the code so I think it's already possible 🙂 . I believe the discussion is about which kinematics should be enabled by default in the provided binaries.

                                        JoergS5undefined 1 Reply Last reply Reply Quote 2
                                        • JoergS5undefined
                                          JoergS5 @Snimax
                                          last edited by JoergS5

                                          @snimax said in Duet 2 Hangprinter, 5-bar Scara, Polar, Rotary Delta kinematics:

                                          #define SUPPORT_LINEAR_DELTA in

                                          that's right, but I didn't mean that, but the places where a if-delta code is placed. If there is placed code to call the delta kinematics, it would break. So if there at those places are also those if support_linear_delta switches, it would be fine.

                                          I searched an example and here it is: GCodes2 case 665 would probably break trying to change to linearDelta kinematics. (It's not the best example because why would you call 665 if you don't have a delta, but just as example)

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