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

    Simplify3D send gcode directly to Duet 2 Maestro?

    Scheduled Pinned Locked Moved
    Duet Web Control
    8
    41
    1.7k
    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.
    • A Former User?
      A Former User
      last edited by

      show us the script you used? think that was resolved by --data-binary

      dlc60undefined 1 Reply Last reply Reply Quote 0
      • fcwiltundefined
        fcwilt
        last edited by

        Hi,

        Just out of curiosity why is it desired to send gcode directly from a slicer rather than select the gcode file in DWC?

        My prints take a hour or more to complete. Having to save the file from the slicer and select it in DWC adds maybe 30 seconds. To my mind that is not worth worrying about.

        Like I said, just curious.

        Thanks.

        Frederick

        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

        1 Reply Last reply Reply Quote 0
        • A Former User?
          A Former User
          last edited by

          given multiple iterations of a part its easy to mess up naming or something; exporting from Fusion/CAD to slicer and straight to printer not only makes the workflow faster it also reduces the possibility to make mistakes?

          Phaedruxundefined 1 Reply Last reply Reply Quote 1
          • dlc60undefined
            dlc60 @A Former User
            last edited by

            @bearer said in Simplify3D send gcode directly to Duet 2 Maestro?:

            show us the script you used? think that was resolved by --data-binary

            curl -F "file=@[output_filepath]" "maestro/rr_upload?name=gcodes/[output_filename].gcode"
            curl "http://maestro/rr_gcode?gcode=M32[output_filename].gcode"
            curl "http://maestro/rr_disconnect"

            I tried -data-binary, it gave me an error and didn't print. How best to use that option?

            DLC

            A Former User? 1 Reply Last reply Reply Quote 0
            • Phaedruxundefined
              Phaedrux Moderator @A Former User
              last edited by

              @bearer said in Simplify3D send gcode directly to Duet 2 Maestro?:

              given multiple iterations of a part its easy to mess up naming or something; exporting from Fusion/CAD to slicer and straight to printer not only makes the workflow faster it also reduces the possibility to make mistakes?

              @fcwilt I rarely open DWC at all anymore honestly. Upload from the slicer and then adjust from paneldue if needed. DWC if I need to make config changes or something more complicated. The PC or laptop I'm slicing on is rarely near the printer itself.

              Z-Bot CoreXY Build | Thingiverse Profile

              fcwiltundefined 1 Reply Last reply Reply Quote 0
              • fcwiltundefined
                fcwilt @Phaedrux
                last edited by

                @Phaedrux said in Simplify3D send gcode directly to Duet 2 Maestro?:

                @fcwilt I rarely open DWC at all anymore honestly. Upload from the slicer and then adjust from paneldue if needed.

                Ah... I did not think about that.

                None of my printers (current or past) had local panels - much preferred using the computer dedicated to printing - a central place to monitor all printers. Not to mention being able to check from any computer, tablet or mobile phone in the house.

                Thanks for the feedback.

                Frederick

                Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                1 Reply Last reply Reply Quote 0
                • A Former User?
                  A Former User @dlc60
                  last edited by

                  @dlc60 said in Simplify3D send gcode directly to Duet 2 Maestro?:

                  How best to use that option?

                  like shown in the linked thread and the batch file arhi posted. posting the exact error you get may help identify whats causing it to not work for you.

                  dlc60undefined 1 Reply Last reply Reply Quote 0
                  • dlc60undefined
                    dlc60 @A Former User
                    last edited by

                    @bearer Kind of hard to show. It did absolutely nothing. Nothing at S3D, nothing in the console, no error displayed. So, I guess that was vague of me - it errored out by doing nothing at all.
                    curl --data-binary "@[output_filepath]" "http://192.168.1.184/rr_upload?name=gcodes/[output_filename].gcode"
                    curl "http://192.168.1.184/rr_disconnect"

                    BTW, I am on a Windows 10 box and I do have curl available, and the --data-binary is an allowed option.

                    DLC

                    dc42undefined 1 Reply Last reply Reply Quote 0
                    • zaptaundefined
                      zapta
                      last edited by zapta

                      May be beneficial to have an official doc on how to upload and start jobs using Curl, and to make the Duet's end point more friendly for such operations if they are not.

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

                        @dlc60, do you have a password set on the Duet? If so then you will need to send a rr_connect message at the start. It's a good idea to send one anyway.

                        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

                        dlc60undefined 1 Reply Last reply Reply Quote 0
                        • dlc60undefined
                          dlc60 @dc42
                          last edited by

                          @dc42 I do have a password set. I tried the rr_connect before the rr_upload, nothing happened. I checked, and the rr_connect with the password when sent directly to the board from my browser connected with the correct return info. It did not help to put that in front of the rr_upload using the --data-binary in the curl, I still had nothing happen. The only way that I have been able to print directly from S3D is using the curl -F sequence, which generates some noise and errors, but it still prints.

                          DLC

                          1 Reply Last reply Reply Quote 0
                          • A Former User?
                            A Former User
                            last edited by

                            i'd suggest trying wihtout password, but if the "old" syntax sort of works then it should be ok.

                            download wireshark, log the attempt and share the file? (you may want to change the password to something you don't mind sharing prior to this)

                            the only thing that strikes me is one is using the dns name, the other an IP.

                            dlc60undefined 1 Reply Last reply Reply Quote 0
                            • dlc60undefined
                              dlc60 @A Former User
                              last edited by

                              @bearer I will look into that - that is a good tool for debugging your networking.
                              I have used both the IP and DNS names for both sequences and they behaved the same. I thought about that like you did, and wanted to make sure that the DNS name wasn't an issue. The "old" syntax is definitely the 80% solution, so follow-up on the --data-binary is, I have to admit, pretty low priority. Also as a secondary benefit, the "old" syntax generates an error at the end of the print that gives the print time, something that Duet web interface code does not do. So, glass half full?

                              DLC

                              1 Reply Last reply Reply Quote 0
                              • A Former User?
                                A Former User
                                last edited by

                                If you don't get any other errors, the HTTP response should give us enough info. Would be interesting to get to the bottom of it.

                                You can replace the error with a M117 or M118 to send a message to the interface of your choice. M118 P3 S"Print complete" would leave a entry in the console that gets timestamped by DWC f.ex.

                                dc42undefined 1 Reply Last reply Reply Quote 0
                                • dc42undefined
                                  dc42 administrators @A Former User
                                  last edited by

                                  If you send the rr_connect message with the correct password using curl on the command line, what response does it return?

                                  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

                                  dlc60undefined 1 Reply Last reply Reply Quote 0
                                  • dlc60undefined
                                    dlc60 @dc42
                                    last edited by

                                    @dc42 said in Simplify3D send gcode directly to Duet 2 Maestro?:

                                    If you send the rr_connect message with the correct password using curl on the command line, what response does it return?

                                    This is the connection, rr_connect. I do not know how to send the gcode direct from the browswer, not sure how to suck in the file.

                                    err 0
                                    sessionTimeout 8000
                                    boardType "duetmaestro100"
                                    apiLevel 1

                                    DLC

                                    1 Reply Last reply Reply Quote 0
                                    • dlc60undefined
                                      dlc60 @arhi
                                      last edited by

                                      @arhi I do like what I see in IM, I don't have a Raise printer, so it kinda stinks there is no network out for my printers, but Duet has the web interface, so that is just one extra step, no big.

                                      I just have to get used to it, I have use S3D for years and know how to drive it really well. IM though gives you the g-code hooks right there in the scripting screen so you aren't guessing about what you can do. S3D kicks butt and takes numbers on two filament printing, nothing that I have tried does it better (Nothing I have tried does it worse than CURA IMO), I wonder how IM does? Oh well, not EVERY job looks like a nail, I can use more than one tool to get jobs done. 🙂

                                      DLC

                                      arhiundefined 1 Reply Last reply Reply Quote 0
                                      • arhiundefined
                                        arhi @dlc60
                                        last edited by

                                        @dlc60 said in Simplify3D send gcode directly to Duet 2 Maestro?:

                                        I wonder how IM does?

                                        There are some weird limitations (like what's primary extruder) etc but it does it pretty good, I had similar results as s3d with limited experience (I am not using IM that long and only for very short time with dual extruder, I too know s3d much better but you see yourself what's going on with that single dev. company so it's time to move on)... I agree cura is worse with dual but since they recently have their own dual printer maybe it will get better

                                        dlc60undefined 1 Reply Last reply Reply Quote 0
                                        • dlc60undefined
                                          dlc60 @arhi
                                          last edited by

                                          @arhi said in Simplify3D send gcode directly to Duet 2 Maestro?:

                                          @dlc60 said in Simplify3D send gcode directly to Duet 2 Maestro?:

                                          I wonder how IM does?

                                          There are some weird limitations (like what's primary extruder) etc but it does it pretty good, I had similar results as s3d with limited experience (I am not using IM that long and only for very short time with dual extruder, I too know s3d much better but you see yourself what's going on with that single dev. company so it's time to move on)... I agree cura is worse with dual but since they recently have their own dual printer maybe it will get better

                                          I have pretty extensive experience with S3D dual extruder, for both the Chimera (two-in, two-out) and Cyclops (two-in, one-out). I have specialized scripts for tool exchanges that create really fine two-color prints, they take quite a while because the scripts chill the unused extruder when the selected extruder is running, and move to the side waiting for the selected extruder to come up to heat. Very little "drool" and really good layer definition. That and supports are where S3D really shines. I bet that I can do the same with IM, I just need some time with it. The big IM drawback is no network support for any but the Raise printers.

                                          On a kind of related note, I just got a tp-link TL-WR802N travel router, put it in "client" mode and connected to my Maestro. Now I have WiFi on the Maestro. It only costed $27 and took 5 minutes to set up. Boom! Wifi Maestro! I am stoked, the unit is tiny (about 60x60x12mm) and comes with all you need. I will be getting more of these, they are awesome for the price.

                                          Hey, nothing is perfect I suppose.
                                          DLC

                                          arhiundefined 1 Reply Last reply Reply Quote 0
                                          • arhiundefined
                                            arhi @dlc60
                                            last edited by

                                            @dlc60 said in Simplify3D send gcode directly to Duet 2 Maestro?:

                                            put it in "client" mode and connected to my Maestro.

                                            you can find a lot of "repeaters", "clients", "amplifiers" for 10-20$ that do just that, connect to a wifi and expose ethernet port, bunch of them come with battery power too 🙂 .. I use mostly "tenda" and "tplink" but there are other even more "noname" brands even cheaper 😄

                                            The big IM drawback is no network support for any but the Raise printers

                                            yes, well the same issue is with s3d, only there's a chance IM will add that support sometime in the future while the chance of s3d releasing another version ... they are not able to add the most asked feature - 3d mouse support - that's ~3 hours to implement and ~3 hours to test, for 4+ years 😞

                                            anyhow since both of them allow to put a tool changing script you can copy/paste your code from one to another (I know I did 😄 ) but even better, most of the stuff is supported directly in the RRF so that's maybe even better option 🙂

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