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

    3D GCode Viewer integrated with DWC

    Scheduled Pinned Locked Moved
    Duet Web Control wishlist
    42
    284
    31.3k
    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.
    • JoergS5undefined
      JoergS5
      last edited by JoergS5

      This is really great, please keep going!

      1 Reply Last reply Reply Quote 0
      • Sindariusundefined
        Sindarius
        last edited by

        I've been playing around with the code a little bit while I wait for a plugin system to be put in place. Recently added the ability to change the bed size and have the release on GitHub for anyone who wants to play with this. I use it fairly often at this point.

        https://github.com/Sindarius/DuetWebControl/releases

        ab8da693-e537-4c31-b997-7b0d6755a739-image.png

        hestiahuangundefined 1 Reply Last reply Reply Quote 3
        • Sindariusundefined
          Sindarius
          last edited by Sindarius

          Forgot to mention that I am looking at adding a toggle to move the layer height slider based off the current print height this weekend hopefully.

          1 Reply Last reply Reply Quote 0
          • Exerqtorundefined
            Exerqtor
            last edited by

            Awesome! This is getting installed right after the ongoing print is done for sure!

            Hope it get's integrated to the master asap!

            1 Reply Last reply Reply Quote 0
            • AS-3D Druckundefined
              AS-3D Druck
              last edited by

              This is awesome
              Is this Client or DWC based?

              Best regards
              AS-3D Druck / Andre

              Sindariusundefined 1 Reply Last reply Reply Quote 0
              • Sindariusundefined
                Sindarius @AS-3D Druck
                last edited by

                @AS-3D-Druck this is DWC based. Opens a new browser window to launch the 3D viewer but no special installation beyond the branch I have with it integrated.

                AS-3D Druckundefined 1 Reply Last reply Reply Quote 0
                • AS-3D Druckundefined
                  AS-3D Druck @Sindarius
                  last edited by

                  @Sindarius Ok, what i tryed to say is does it get calculated by a Script on the Client or Duet Side?

                  Best regards
                  AS-3D Druck / Andre

                  Sindariusundefined 1 Reply Last reply Reply Quote 0
                  • Sindariusundefined
                    Sindarius @AS-3D Druck
                    last edited by

                    @AS-3D-Druck it’s javascript based so it is client side. The viewer downloads the file and renders it.

                    AS-3D Druckundefined 1 Reply Last reply Reply Quote 1
                    • AS-3D Druckundefined
                      AS-3D Druck @Sindarius
                      last edited by

                      @Sindarius Cool so it can be used even during a print Job right?
                      (without negative effecting the print Job)

                      Best regards
                      AS-3D Druck / Andre

                      Sindariusundefined 1 Reply Last reply Reply Quote 0
                      • Sindariusundefined
                        Sindarius @AS-3D Druck
                        last edited by

                        @AS-3D-Druck I use it while printing all the time. Only one Duet based printer at the moment 🙂 the file download doesn’t impact the print from what I have seen.

                        1 Reply Last reply Reply Quote 0
                        • Exerqtorundefined
                          Exerqtor
                          last edited by

                          Have you tried it with DWC 2.0.4 btw? I see that it's still realeased based on 2.0.0 ?

                          Sindariusundefined 2 Replies Last reply Reply Quote 0
                          • Sindariusundefined
                            Sindarius @Exerqtor
                            last edited by

                            @Exerqtor I’ll look into updating the baseline with the latest. My changes on the DWC itself are very minimal. Just what is necessary to make the 3D Viewer link in the gcode list

                            1 Reply Last reply Reply Quote 1
                            • Sindariusundefined
                              Sindarius @Exerqtor
                              last edited by

                              @Exerqtor I have a release that is now updated to 2.0.4
                              https://github.com/Sindarius/DuetWebControl/releases

                              Exerqtorundefined 1 Reply Last reply Reply Quote 0
                              • Exerqtorundefined
                                Exerqtor @Sindarius
                                last edited by

                                @Sindarius

                                Yeah i got the notification from Github earlier! 😃

                                Just installed it, and it works but the extruder colors don't apply to the renders for some reason. There static gray (just tried with single extruder slices so far) no matter what i change the colors to.

                                Sindariusundefined 1 Reply Last reply Reply Quote 0
                                • Sindariusundefined
                                  Sindarius @Exerqtor
                                  last edited by Sindarius

                                  @Exerqtor This could be one of two things.

                                  1. After you change the extruder colors are you hitting the "Reload Scene" button?

                                  2. In the menu under stats if it switches from Mesh Rendering to Line Rendering the model is probably too large so it switches to line render mode which does not show the colors very well. This is something I plan to revisit to see if I can make the line colors a little more pronounced.

                                  Edit

                                  There is a 3rd possibility that I need to double check. It's possible that there is no T# call anywhere in the gcode for single extruder prints which may be throwing off what extruder it should be using.

                                  Edit 2
                                  It was the 3rd possibility. If there is no tool selected or M567 it will default to Extruder 0 in the next build.

                                  Exerqtorundefined 1 Reply Last reply Reply Quote 0
                                  • Exerqtorundefined
                                    Exerqtor @Sindarius
                                    last edited by

                                    @Sindarius

                                    Yeah i've tried to "Reload Scene" a couple times, also closing the 3D viewer and opening it again.

                                    It's on Mesh Rendering to with T# defined in the gcode several places. 😓

                                    Sindariusundefined 1 Reply Last reply Reply Quote 0
                                    • Sindariusundefined
                                      Sindarius @Exerqtor
                                      last edited by

                                      @Exerqtor What slicer did you use and can you get me the gcode so I can dig into it?

                                      Exerqtorundefined 1 Reply Last reply Reply Quote 0
                                      • Exerqtorundefined
                                        Exerqtor @Sindarius
                                        last edited by

                                        @Sindarius

                                        It's sliced with S3D 4.1.2, sure here you go:
                                        https://mega.nz/#!cR1jXLRA!9eZoYY-lZ7a8RdKR87jEwkwRBLeF4Bmy5oPojnggE1g

                                        I've tried several gcodes and the same happens in all of them.

                                        Sindariusundefined 2 Replies Last reply Reply Quote 0
                                        • Sindariusundefined
                                          Sindarius @Exerqtor
                                          last edited by

                                          @Exerqtor Thanks, I'll take a look at it!

                                          1 Reply Last reply Reply Quote 0
                                          • hestiahuangundefined
                                            hestiahuang @Sindarius
                                            last edited by

                                            @Sindarius
                                            It looks awesome! I think you can dev a column for preview Gcode picture/icon is more better. It just like the repetier server.

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