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

3D GCode Viewer integrated with DWC

Scheduled Pinned Locked Moved
Duet Web Control wishlist
42
284
30.5k
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.
  • undefined
    Sindarius
    last edited by Sindarius 12 Sept 2020, 22:25 6 Sept 2019, 19:21

    I have been working on a little side project to add a GCode Viewer to the DWC 2.0. I don't know if anyone would be interested in something like this but I have a little video showing it to see if there'd be interest in this.

    https://www.youtube.com/watch?v=rlreuMFQjJ8

    Update
    The newest versions of a new plugin for DWC 3.2 is a available here.

    https://github.com/Sindarius/DWC_GCodeViewer_Plugin

    undefined undefined 2 Replies Last reply 6 Sept 2019, 21:29 Reply Quote 17
    • undefined
      Phaedrux Moderator
      last edited by 6 Sept 2019, 20:42

      That's very cool. Many people have requested just such a feature.

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • undefined
        T3P3Tony administrators @Sindarius
        last edited by 6 Sept 2019, 21:29

        @sindarius that's very nice! I know @chrishamm has looked at a couple of options some time ago but it looks like you have something working.

        Are you in a position to submit a pull request to Christian?

        www.duet3d.com

        1 Reply Last reply Reply Quote 2
        • undefined
          Sindarius
          last edited by 7 Sept 2019, 02:29

          Not quite yet the code is up on github but I want to add a couple more things. For larger models it does switch to a wire render mode but maintains the colors. More than happy to have it incorporated into the dwc2. I like being able to double check gcode and the colors based on loaded filament.

          1 Reply Last reply Reply Quote 2
          • undefined
            Eumldeuml
            last edited by 7 Sept 2019, 11:22

            Looks really cool and professional!
            But I have a possibly stupid question (which is by no means intended to talk down your creation): What is this used for when there's a layer preview in the slicer? For production runs to check whether you selected the right file?

            undefined 1 Reply Last reply 7 Sept 2019, 23:59 Reply Quote 0
            • undefined
              robm
              last edited by 7 Sept 2019, 13:53

              Would be especially nice if can link to current layer being printed.

              undefined 1 Reply Last reply 7 Sept 2019, 23:56 Reply Quote 0
              • undefined
                john park @Sindarius
                last edited by 7 Sept 2019, 15:09

                @sindarius Whoa... awesome !!

                1 Reply Last reply Reply Quote 0
                • undefined
                  Nuramori
                  last edited by 7 Sept 2019, 15:21

                  This is the only thing I was missing from octoprint. Having the gcode viewer would close the door on my need for it. .

                  1 Reply Last reply Reply Quote 2
                  • undefined
                    Sindarius @robm
                    last edited by 7 Sept 2019, 23:56

                    @robm That's something I am looking at adding later, my main concern was making sure that I could get a good view working.

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      Sindarius @Eumldeuml
                      last edited by 7 Sept 2019, 23:59

                      @eumldeuml I do a lot of multi-material & color mixing printing and one of the biggest problems I have is knowing how the extruders or m567 was setup on the print. Also this gives me the opportunity to setup the filament colors on each of the extruders to get an approximation of what the final result will roughly look. The code I wrote supports T# tool changes and M567 extruder %'s. Beyond that sometimes it's nice to see what you're about to print 🙂

                      undefined 1 Reply Last reply 8 Sept 2019, 18:18 Reply Quote 1
                      • undefined
                        Eumldeuml @Sindarius
                        last edited by 8 Sept 2019, 18:18

                        @sindarius I understand! Sounds very practical for your purposes 🙂

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          TLAS
                          last edited by 9 Sept 2019, 03:51

                          Great implementation, well done.

                          Gave me a though I might start another thread in - why not incorporate a slicer in at this point? You’ve got the 3D viewer, and on a pi, you could fairly easily run a slic3r program in the background from the server.

                          Thoughts?

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            JimPBarber
                            last edited by 19 Sept 2019, 22:42

                            That is too awesome! Yes, Yes, Yes.....

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              Sindarius
                              last edited by 1 Oct 2019, 15:48

                              I have a branch set up here for anyone interested in playing with this.

                              https://github.com/Sindarius/DuetWebControl/tree/3DViewer

                              and you can download a test version from here

                              https://juan-rosario.com/DuetWebControl.zip

                              I brought this up to date with the new master.

                              1 Reply Last reply Reply Quote 1
                              • undefined
                                JoergS5
                                last edited by JoergS5 10 Jan 2019, 17:59 1 Oct 2019, 17:58

                                This is really great, please keep going!

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  Sindarius
                                  last edited by 1 Nov 2019, 15:18

                                  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

                                  undefined 1 Reply Last reply 4 Nov 2019, 17:25 Reply Quote 3
                                  • undefined
                                    Sindarius
                                    last edited by Sindarius 11 Jan 2019, 15:25 1 Nov 2019, 15:19

                                    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
                                    • undefined
                                      Exerqtor
                                      last edited by 3 Nov 2019, 10:26

                                      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 3 Nov 2019, 12:00

                                        This is awesome
                                        Is this Client or DWC based?

                                        Best regards
                                        AS-3D Druck / Andre

                                        undefined 1 Reply Last reply 3 Nov 2019, 13:32 Reply Quote 0
                                        • undefined
                                          Sindarius @AS-3D Druck
                                          last edited by 3 Nov 2019, 13:32

                                          @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 3 Nov 2019, 13:34 Reply Quote 0
                                          • First post
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA