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

    DuetRFF Cura plugin Duet 3

    Scheduled Pinned Locked Moved
    General Discussion
    6
    25
    2.2k
    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.
    • Gioundefined
      Gio
      last edited by

      hi, I use Cura 4.5 and Duet 3 updated to the latest version. "Print on ..." I get network error.
      What did I forget?
      Thanks.

      Here the Cura log (this one is with password but I get same error without):
      2020-04-10 09:40:21,096 - DEBUG - [MainThread] DuetRRFPlugin.DuetRRFOutputDevice.init [72]: Ultimaker 2ET-print | New DuetRRFOutputDevice created
      2020-04-10 09:40:21,097 - DEBUG - [MainThread] DuetRRFPlugin.DuetRRFOutputDevice.init [73]: Ultimaker 2ET-print | URL: http://192.168.1.110/
      2020-04-10 09:40:21,098 - DEBUG - [MainThread] DuetRRFPlugin.DuetRRFOutputDevice.init [74]: Ultimaker 2ET-print | Duet password: set.
      2020-04-10 09:40:21,099 - DEBUG - [MainThread] DuetRRFPlugin.DuetRRFOutputDevice.init [75]: Ultimaker 2ET-print | HTTP Basic Auth user: empty.
      2020-04-10 09:40:21,100 - DEBUG - [MainThread] DuetRRFPlugin.DuetRRFOutputDevice.init [76]: Ultimaker 2ET-print | HTTP Basic Auth password: empty.
      2020-04-10 09:40:21,102 - DEBUG - [MainThread] DuetRRFPlugin.DuetRRFOutputDevice.init [72]: Ultimaker 2ET-simulate | New DuetRRFOutputDevice created
      2020-04-10 09:40:21,103 - DEBUG - [MainThread] DuetRRFPlugin.DuetRRFOutputDevice.init [73]: Ultimaker 2ET-simulate | URL: http://192.168.1.110/
      2020-04-10 09:40:21,103 - DEBUG - [MainThread] DuetRRFPlugin.DuetRRFOutputDevice.init [74]: Ultimaker 2ET-simulate | Duet password: set.
      2020-04-10 09:40:21,104 - DEBUG - [MainThread] DuetRRFPlugin.DuetRRFOutputDevice.init [75]: Ultimaker 2ET-simulate | HTTP Basic Auth user: empty.
      2020-04-10 09:40:21,105 - DEBUG - [MainThread] DuetRRFPlugin.DuetRRFOutputDevice.init [76]: Ultimaker 2ET-simulate | HTTP Basic Auth password: empty.
      2020-04-10 09:40:21,106 - DEBUG - [MainThread] DuetRRFPlugin.DuetRRFOutputDevice.init [72]: Ultimaker 2ET-upload | New DuetRRFOutputDevice created
      2020-04-10 09:40:21,107 - DEBUG - [MainThread] DuetRRFPlugin.DuetRRFOutputDevice.init [73]: Ultimaker 2ET-upload | URL: http://192.168.1.110/
      2020-04-10 09:40:21,107 - DEBUG - [MainThread] DuetRRFPlugin.DuetRRFOutputDevice.init [74]: Ultimaker 2ET-upload | Duet password: set.
      2020-04-10 09:40:21,109 - DEBUG - [MainThread] DuetRRFPlugin.DuetRRFOutputDevice.init [75]: Ultimaker 2ET-upload | HTTP Basic Auth user: empty.
      2020-04-10 09:40:21,109 - DEBUG - [MainThread] DuetRRFPlugin.DuetRRFOutputDevice.init [76]: Ultimaker 2ET-upload | HTTP Basic Auth password: empty.

      2020-04-10 09:55:04,894 - DEBUG - [MainThread] DuetRRFPlugin.DuetRRFOutputDevice.onFilenameAccepted [160]: Ultimaker 2ET-print | Filename set to: CFFFP_PolyBox Distanziale.gcode
      2020-04-10 09:55:05,120 - DEBUG - [MainThread] LinearAdvanceSettingPlugin.LinearAdvanceSettingPlugin._filterGcode [109]: No used extruders specify a linear advance factor
      2020-04-10 09:55:05,122 - DEBUG - [MainThread] DuetRRFPlugin.DuetRRFOutputDevice.onFilenameAccepted [173]: Ultimaker 2ET-print | Loading gcode...
      2020-04-10 09:55:05,256 - DEBUG - [MainThread] DuetRRFPlugin.DuetRRFOutputDevice.onFilenameAccepted [184]: Ultimaker 2ET-print | Connecting...
      2020-04-10 09:55:05,292 - INFO - [MainThread] UM.TaskManagement.HttpRequestManager._processRequest [308]: Request [5e4e2928768b49589f7e5dc20c74f688] started
      2020-04-10 09:55:05,300 - DEBUG - [MainThread] UM.TaskManagement.HttpRequestManager._processNextRequestsInQueue [279]: No more requests to process, stop
      2020-04-10 09:55:05,511 - ERROR - [MainThread] DuetRRFPlugin.DuetRRFOutputDevice._onNetworkError [336]: _onNetworkError: 203

      1 Reply Last reply Reply Quote 0
      • resamundefined
        resam
        last edited by

        @Gio said in DuetRFF Cura plugin Duet 3:

        http://192.168.1.110/

        Is this the URL under which you can reach your printer and it shows DWC?

        I don't see anything obviously wrong here...

        1 Reply Last reply Reply Quote 0
        • Gioundefined
          Gio
          last edited by

          Thanks @resam for quick answer.
          Yes the ip is correct… I think 🙂

          DWC.png

          1 Reply Last reply Reply Quote 0
          • resamundefined
            resam
            last edited by

            Unfortunately I do not have a Duet3 - so I never tested the Cura Plugin.

            Are you running your Duet3 stand-alone or with a SBC attached?

            1 Reply Last reply Reply Quote 0
            • Gioundefined
              Gio
              last edited by

              Duet3 with Raspberry PI3 Model B.
              Do you want me to make some tests?
              Thanks.

              1 Reply Last reply Reply Quote 0
              • resamundefined
                resam
                last edited by

                I'm wondering - does the SBC for a Duet3 actually expose the usual RRF HTTP endpoints? Are they simply passed-through to RRF?
                https://github.com/dc42/RepRapFirmware/blob/v3.01-dev/HTTP requests.md

                @dc42 might be able to shed some light on this.

                Danalundefined 1 Reply Last reply Reply Quote 0
                • resamundefined
                  resam
                  last edited by

                  Looks like this is a known limitation of Duet3+SBC:
                  https://github.com/chrishamm/DuetSoftwareFramework/issues/99

                  dc42 created this issue in chrishamm/DuetSoftwareFramework

                  closed Can't upload files from PrusaSlicer #99

                  1 Reply Last reply Reply Quote 0
                  • Gioundefined
                    Gio
                    last edited by

                    @resam said in DuetRFF Cura plugin Duet 3:

                    RRF HTTP

                    Thanks a lot, let me check.

                    1 Reply Last reply Reply Quote 0
                    • Gioundefined
                      Gio
                      last edited by

                      If I understand correctly I have to wait for the Ultimaker to update the cure, right?
                      Thanks.

                      Danalundefined 1 Reply Last reply Reply Quote 0
                      • Danalundefined
                        Danal @resam
                        last edited by

                        @resam said in DuetRFF Cura plugin Duet 3:

                        I'm wondering - does the SBC for a Duet3 actually expose the usual RRF HTTP endpoints? Are they simply passed-through to RRF?

                        It is more that RRF3 changed from HTTP to websockets. Standalone or +Pi.

                        https://github.com/dc42/RepRapFirmware/blob/v3.01-dev/HTTP requests.md

                        That is a very old document. You will find the equivalent over at DWC is in the "legacy" branch (i.e. V1 DWC, V2 RRF)

                        Delta / Kossel printer fanatic

                        resamundefined 1 Reply Last reply Reply Quote 0
                        • Danalundefined
                          Danal @Gio
                          last edited by

                          @Gio said in DuetRFF Cura plugin Duet 3:

                          If I understand correctly I have to wait for the Ultimaker to update the cure, right?
                          Thanks.

                          Cura would be best to update the plugin, they can include it with Cura itself. However, the plugin is open source... anyone could potentially fix it.

                          Delta / Kossel printer fanatic

                          1 Reply Last reply Reply Quote 0
                          • resamundefined
                            resam @Danal
                            last edited by

                            @Danal maybe I've missed it - but I'm not aware of any deprecation notice or other announced / communicated changes regarding this...

                            I'm of course fine with releasing a new API - but silently killing the old one is a bit surprising for users and developers trying to integrate tooling and automation with the Duet platform.

                            1 Reply Last reply Reply Quote 0
                            • Danalundefined
                              Danal
                              last edited by Danal

                              I can certainly see both sides of this (to be clear, I am just a vocal user, I have no formal association with Duet the company).

                              RRF V2 still works fine with 3rd party software written to the APIs published with RRF V2. Nothing has been deprecated.

                              RRF V3 has statements all over the place about how different it is, and that people should not automatically go there, unless they desire feature/function not available in 2. And that they should expect gaps as well as differences. Does it explicitly say the Web API changed? No, absolutely not.

                              So I can see multiple nuances here.

                              Also, I'm fairly certain that Ultimaker (the company that publishes Cura) did not write the DuetRRF plugin. It has to be fetched it from the "marketplace" in Cura.

                              5024901c-4eb0-4d8a-9a72-55aa88784b5d-image.png

                              Delta / Kossel printer fanatic

                              1 Reply Last reply Reply Quote 0
                              • resamundefined
                                resam
                                last edited by

                                @Danal sorry, I wasn't too clear in the first posts here - I am the author of the Cura Duet-RRF plugin.

                                I pushed a first development branch here: https://github.com/Kriechi/Cura-DuetRRFPlugin/tree/duet3-sbc-DuetSoftwareFramework

                                Since I do not have a Duet3 + SBC print, I was unable to test this - so this is completely untested!

                                @Gio @Danal if you could install the plugin manually and give it a test - and send me the Cura log output back - it would be much appreciated!

                                Please test: simple upload, upload + printing, upload + simulating.

                                Again - this is untested - I have no clue how the DuetSoftwareFramework API behaves - I simply read the documentation and used common sense...

                                wilrikerundefined Danalundefined 2 Replies Last reply Reply Quote 1
                                • Sotidiiundefined
                                  Sotidii
                                  last edited by

                                  [link text]([link url](20200414_102033.jpg link url))

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

                                    I am discussing with my colleagues the best way to get all the upload plugins working with Duet 3 + SBC. What I don't want is for users to have to choose one of two different plugins according to their Duet configuration, because that would inevitably result in a lot of forum support due to users selecting the wrong one.

                                    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

                                    1 Reply Last reply Reply Quote 0
                                    • wilrikerundefined
                                      wilriker @resam
                                      last edited by

                                      @resam I can see the same result as @Sotidii

                                      It seems that the mode-switch is not working. What makes me wonder is that it says 203 Error as if that would be a HTTP/203 return code though when I call this URL directly I get the (correct) HTTP/404.

                                      Manuel
                                      Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                                      with probably always latest firmware/DWC (incl. betas or self-compiled)
                                      My Tool Collection

                                      1 Reply Last reply Reply Quote 0
                                      • resamundefined
                                        resam
                                        last edited by

                                        @wilriker Cura uses Qt - and Qt introduced their own error codes:
                                        https://doc.qt.io/qt-5/qnetworkreply.html#NetworkError-enum
                                        i.e., QT 203 means more or less HTTP 404.

                                        @Sotidii @wilriker I pushed another code change to hunt the the problem with the mode switch. Please post parts of your Cura log. On macOS you can find the log under ~/Library/Application\ Support/cura/4.5/cura.log. Or on Windows under C:\Users\<Username>\AppData\Roaming\cura\4.5\cura.log. I'm only interested in lines with Cura-DuetRRFPlugin.DuetRRFOutputDevice in it.

                                        Thanks!

                                        wilrikerundefined 1 Reply Last reply Reply Quote 1
                                        • Gioundefined
                                          Gio
                                          last edited by

                                          @resam sorry me for delay.
                                          I can't do anything at the moment, I disassembled the printer to finish some works with duet 3

                                          1 Reply Last reply Reply Quote 0
                                          • resamundefined
                                            resam
                                            last edited by

                                            @Sotidii @wilriker I just realised that my original instructions where probably a bit misleading. Here the correct ones:

                                            Please follow this link to download the correct testing version:
                                            https://github.com/Kriechi/Cura-DuetRRFPlugin/archive/duet3-sbc-DuetSoftwareFramework.zip

                                            Then, with Cura not running, unpack the zip file to this specific folder:

                                            • Windows: C:\Users<username>\AppData\Roaming\cura\4.5\plugins\DuetRRFPlugin
                                            • macOS: ~/Library/Application Support/Cura/4.5/plugins/DuetRRFPlugin
                                            • Linux: /home/<username>/.local/share/cura/4.5/plugins/DuetRRFPlugin

                                            Be careful, the unzipper often tacks on the name of the zip as a folder at the bottom and you don't want it nested. You want the files to show up in that folder.

                                            Make sure that the plugin folder name is a listed above and it does not have any trailing version numbers (-1.0.0) or similar.

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