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

    Simultaneous dual extrusion

    Scheduled Pinned Locked Moved
    General Discussion
    6
    16
    447
    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.
    • GeoffVR6undefined
      GeoffVR6 @Timothee Leblond
      last edited by

      @Timothee-Leblond I have a couple printers with mixing extruders. In your last example with a mixing ratio of 0.02:1 Your printer will take the E value from the running gcode and you will get a total extrusion of 1.02 from a single nozzle. Not much different than setting the extrusion multiplier in the slicer to 1.02 on a normal printer. You might want to keep the total of all the extruder motors = to 1.00 when you add them both up in your M567 so that your commanded total extrusions are exactly what the running gcode specified.
      If you have set the E-steps correctly on each motor then total extrusion should be accurate to what is commanded in the running gcode.
      You can set M567 0.02:0.98 in the gcode file, in a macro, or in the command line as the print is running and it will change.
      I don't recommend a setting one or the other motor at 0.00 as the motor at 1.00 will try to push some filament back up the unused side and could cause a blockage similar to heat creep.
      I set both extruders to 0.50:0.50 in config.g just in case I accidentally send a print job without specifying the mix ratio.

      ; Tools
      M563 P0 D0:1 H1 F1 S"Dual"                                   ; define tool 0
      G10 P0 X0 Y0 Z0                                              ; set tool 0 axis offsets
      G10 P0 R0 S0                                                 ; set initial tool 0 active and standby temperatures to 0C
      M567 P0 E0.50:0.50  	                                     ; set mixing ratios for tool 0 Dual
      
      

      Geoff

      M3D Crane Quad Maestro, M3D Crane Dual Maestro, M3D Promega Maestro, Anet A8 Plus Mini 5+

      Timothee Leblondundefined 1 Reply Last reply Reply Quote 2
      • Timothee Leblondundefined
        Timothee Leblond @GeoffVR6
        last edited by

        @GeoffVR6

        Thanks for your message!

        I will try using your suggested ratio of 0.02:0.98 with the mixing tool.

        However, do you think my calculation is correct? Is it the way you would do it as well?

        Appreciated!

        GeoffVR6undefined 1 Reply Last reply Reply Quote 0
        • GeoffVR6undefined
          GeoffVR6 @Timothee Leblond
          last edited by

          @Timothee-Leblond I'm the last guy you want to do calculations for you. 😛 I picked those numbers from the top of my head since they sounded close to what you wanted and are also useful to my mixing nozzles when trying to get a mostly pure color without clogs.

          Geoff

          M3D Crane Quad Maestro, M3D Crane Dual Maestro, M3D Promega Maestro, Anet A8 Plus Mini 5+

          Timothee Leblondundefined 1 Reply Last reply Reply Quote 0
          • Timothee Leblondundefined
            Timothee Leblond @GeoffVR6
            last edited by Timothee Leblond

            @GeoffVR6 @chrishamm

            Hello,

            I'm coming back as I tried using mixing ratios. It seems this technique is not working very well for my setup. Indeed, both of my extruder should work independently as they should be unrelated. One is a standard extruder but the other mainly acts as an infinite screw. Its speed should not be calculated based on the same parameters as the main extruder.

            For example, in the scenario of a mixing ratio, when I change the extrusion multiplier, all E values are impacted and so are both extruders. No matter the ratio, they are impacted. However, this should be only true for the main extruder only (and not the second one).

            So my question is how would you control an extruder as well as an independent infinite screw, knowing that both should run at the same time? Do you think mapping the second extruder as an axis would work?

            Thank you.

            T3P3Tonyundefined dc42undefined 2 Replies Last reply Reply Quote 0
            • T3P3Tonyundefined
              T3P3Tony administrators @Timothee Leblond
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • T3P3Tonyundefined T3P3Tony referenced this topic
              • dc42undefined
                dc42 administrators @Timothee Leblond
                last edited by dc42

                @Timothee-Leblond the mixing approach will work if you always want the same ratio of extrusion between the two extruders. If not, then another possibility is for you to write a GCode post-processor that adds the second E value. For example, if the slicer outputs this:

                G1 Xxxx Yyyy E3.2

                and you calculate from the XY coordinates of that move and the previous one that the path length of that G1 move is 12mm, then

                G1 Xxxx Yyyy E3.2:12.0

                would be appropriate.

                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

                Timothee Leblondundefined 1 Reply Last reply Reply Quote 0
                • Timothee Leblondundefined
                  Timothee Leblond @dc42
                  last edited by

                  @dc42

                  I got it. And yes it is the kind of output I have from the slicer for the first extruder.

                  However, what I want from the second extruder is to deposit a specific length of material along the path. The only information I know is the total length (for example 4700mm). I had the idea of writing a short program that would distribute the length based on the number of move but this is not convenient as it would deposit the same length no matter how long the moves are. Also, the rate of extrusion is calculated to be the same as the printing speed as it is a continuous material.

                  That's why the ideal scenario would have been to send a long-distance command like G1 E4700 F300 in parallel to the regular commands. Any thoughts?

                  Thank you,

                  Timothee

                  dc42undefined 1 Reply Last reply Reply Quote 0
                  • dc42undefined
                    dc42 administrators @Timothee Leblond
                    last edited by dc42

                    @Timothee-Leblond bear in mind that when the XY direction changes between G1 moves there will often be a deceleration and acceleration around that direction change. Short moves between direction changes may not even reach the requested speed. So a constant extrusion rate from the second extruder may not be what you want.

                    Writing a post-processor is not difficult. It's been done several times before, usually written in Python.

                    If you are an OEM looking to build a machine with a new feature, feel free to get in touch to discuss how we might help with this. If you are wanting to lay down fibre as well as extruded plastic then I believe there are patents covering that.

                    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

                    Timothee Leblondundefined 1 Reply Last reply Reply Quote 0
                    • o_lampeundefined
                      o_lampe
                      last edited by

                      Why not define a "mixing extruder" from the XY-axes and the constant extruder? The mixing ratio would be fix and the current motion speed would also adjust extrusion speed.

                      BTW: an extrusion amount of eg. 4700mm wouldn't be even close to infinite. If you want to go the infinite screw route, you can define axes upto +/- 2^31 steps length. That would be enough to print a whole week.

                      Timothee Leblondundefined 1 Reply Last reply Reply Quote 0
                      • Timothee Leblondundefined
                        Timothee Leblond @dc42
                        last edited by Timothee Leblond

                        @dc42

                        I'm working at very low speed for now so I did not face this problem yet to be honest - but thanks for the tip.

                        So from what I understand, there is no way I can send 2 G1 commands in parallel to deposit with my different extruders? I know it sounds weird but I think it might be worth trying different ways...

                        About the processor, what would you suggest starting with?

                        PS: I'm not an OEM but I'm developing a new machine for research purposes. I don't know if it is of interest to you, but let me know if it is the case.

                        Thank you very much!

                        1 Reply Last reply Reply Quote 0
                        • Timothee Leblondundefined
                          Timothee Leblond @o_lampe
                          last edited by Timothee Leblond

                          @o_lampe

                          I'm sorry but could you please give me an example or explain a bit deeper what you're thinking about? I'm not sure to understand.

                          I agree with you, it was just an example of a "long extrusion command" in contrast to 1.2.

                          Thanks!

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