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.8k
    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.
    • dlc60undefined
      dlc60 @A Former User
      last edited by

      @bearer Yeah, but it makes the Duet RepRap firmware throw errors left and right. Still prints, but I like a cleaner interface...

      DLC

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

        what errors does it throw?

        Z-Bot CoreXY Build | Thingiverse Profile

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

          @dlc60 errors while uploading?

          for e.g. in s3d put postprocessing:

          path\to\rrf3.bat "[output_filepath]" 
          

          and rrf3.bat

          @echo off
          
          for %%a in (%1) do (
              set filepath=%%~dpa
              set filename=%%~na
              set extension=%%~xa
          )   
          set if=%filepath%%filename%%extension%
          
          G:\bin\curl-7.50.3-win64-mingw\bin\curl.exe                        "http://ender5.local.lan/rr_delete?name=gcodes/%filename%%extension%"
          G:\bin\curl-7.50.3-win64-mingw\bin\curl.exe  --data-binary "@%if%" "http://ender5.local.lan/rr_upload?name=gcodes/%filename%%extension%"
          
          

          and no errors, everything works as expected

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

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

            @arhi So far as I can see, the IdeaMaker slicer looks like a repackaged and jazzed up Simplify3D.

            Yes, very similar. I was told by someone that they started by copying how s3d and then diverged slowly through time .. I like it, the releases do not come out as often as cura/slic3r/ps but it's actively developed. The only thing I don't like is that "preview" don't know about offsets so if your origin is in center of the screen and not left front corner preview does not properly show where your print will be on the bed

            All of the same knobs, just in different places.

            Actually a lot more knobs; IMO organized a little bit better. but yes 😄

            S3D engineers have ...

            you mean s3d engineer. according to glasdoor "review" by ppl that used to be working for s3d there's only one working on the code - the owner.

            S3D is uber powerful and very capable. It is just a bit stale with no updates in well over a year. I am still glad that I have it, and use it all the time.

            I used it a lot 'cause I knew it best, but these days I can't remember last time I started it to do something with it.

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

              prety smooth, but i would add the hostname as the second parameter maybe?
              @arhi said in Simplify3D send gcode directly to Duet 2 Maestro?:

              for e.g. in s3d put postprocessing:

              path\to\rrf3.bat "[output_filepath]" ender5.local.lan
              

              and rrf3.bat

              @echo off
              set printerhost=%2
              for %%a in (%1) do (
                 set filepath=%%~dpa
                 set filename=%%~na
                 set extension=%%~xa
              )   
              set if=%filepath%%filename%%extension%
              
              G:\bin\curl-7.50.3-win64-mingw\bin\curl.exe                        "http://%printerhost%/rr_delete?name=gcodes/%filename%%extension%"
              G:\bin\curl-7.50.3-win64-mingw\bin\curl.exe  --data-binary "@%if%" "http://%printerhost%/rr_upload?name=gcodes/%filename%%extension%"
              

              and no errors, everything works as expected

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

                yes, that makes sense with more than one rrf3 printer in da house 🙂

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

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

                  yes, that makes sense with more than one rrf3 printer in da house 🙂

                  are there other printers?! ... you should count yourself lucky there has been a sharp decline in burning people at the stake in recent years 😉

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

                    @Phaedrux When started I get a message that says "Response too long, seen console", in the console I get:
                    File Octopus_full_FastPLA.gcode selected for printing
                    Error: Bad command: --------------------------2242fc1e338db141
                    Error: Bad command: Content-Disposition: form-data
                    Error: Bad command: Content-Type: application/octet-stream

                    and when complete, instead of "Print Complete" I get:
                    Error: Bad command: --------------------------c6128f590dee1f59--
                    Finished printing file 0:/gcodes/Octopus_full_v5.5.gcode, print time was 3h 0m

                    DLC

                    1 Reply Last reply Reply Quote 0
                    • 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 E3D MS/TC setup and a RatRig Hybrid. 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 E3D MS/TC setup and a RatRig Hybrid. 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
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA