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

    3D GCode Viewer integrated with DWC

    Scheduled Pinned Locked Moved
    Duet Web Control wishlist
    42
    284
    29.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.
    • TLASundefined
      TLAS @chrishamm
      last edited by

      @chrishamm

      I have a fork of the previous visualizer code that incorporates STL viewing, slicing, and a slick slicer settings / model control component (right now based on Slic3r). Let me know if you’re interested in the code. It’s based on AngularJS and relies on a NodeJS component to integrate with the user’s local slic3r settings and execute the slicer.

      The goal is to eventually move it server side (cloud) for saving settings and slicing. Also possible to slice on the PI 4 - early benchmarks showed it performed at ~50% of a top end desktop, which means it can likely outperform a slice from the cloud with network transfer in most conditions.

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

        Been a while since I provided an update. I have been working toward getting my viewer converted to a plugin in 3.2. Here's a little sneak peek of where it is at today.

        fa680dbb-ad4b-4b2f-9d71-c0ae14799d73-image.png

        1 Reply Last reply Reply Quote 14
        • PCRundefined
          PCR
          last edited by

          Woow looking Forward to it

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

            For anyone who is building and running the latest beta 3.2 you can install and test the plugin. Enjoy!

            https://github.com/Sindarius/DWC_GCodeViewer_Plugin/releases/tag/0.5.0

            1 Reply Last reply Reply Quote 6
            • PCRundefined
              PCR
              last edited by

              Yeah! Super nice work!

              Best

              1 Reply Last reply Reply Quote 0
              • copystringundefined
                copystring
                last edited by copystring

                Hey, this requires DWC 3.2-beta3 but there is no beta3 on github? Only beta2.
                Compiling the source code of DWC results in "Plugin requires incompatible DWC version (need 3.2.0-beta3, got 3.2.0-beta3pre)"

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

                  @copystring You may want to wait for RRF 3.2 beta3 to be released if you don't want to compile it yourself. Sounds like you've got DWC compiled, but not the firmware itself.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                  • jay_s_ukundefined
                    jay_s_uk @Phaedrux
                    last edited by

                    Works for me when using the latest code off GitHub to compile my own

                    Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

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

                      Just finished implementing object cancelling in the 3d viewer.

                      fc2483e6-da41-4cca-a4fd-16c747853bcd-image.png

                      3367bd34-3aea-4fcd-bf0f-19845de95111-image.png

                      https://github.com/Sindarius/DWC_GCodeViewer_Plugin/releases/tag/0.6.0

                      A Former User? 1 Reply Last reply Reply Quote 4
                      • PCRundefined
                        PCR
                        last edited by

                        What What What! Thats a game changer!

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

                          @PCR I am cleaning up some of the view so it looks a little cleaner.

                          I am still working through some transparency order issues. (Always a PITA)

                          3384d48d-8146-488c-9b28-5d006e458902-image.png

                          1 Reply Last reply Reply Quote 1
                          • Vetiundefined
                            Veti
                            last edited by

                            awesome work.

                            1 Reply Last reply Reply Quote 0
                            • oozeBotundefined
                              oozeBot
                              last edited by

                              Great work! I just installed and am excited to give it a try this weekend. One bit of initial feedback - it would feel much more intuitive if there was an option to flip the camera control around and the center scroll wheel's zoom..

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

                                @oozeBot Noted. Appreciate the feedback. I'll have to look into making that an option. I think some of it comes from how you play video games. I tend to use inverted mouse when I play games so it has been more natural to me, I can see that being a problem for others.

                                I am resolving some alpha blending issues and trying out some different textures.

                                I expect to probably have another version out this evening.

                                78a2bf37-daba-44a1-afe7-1fbc9e8e7f68-image.png

                                1 Reply Last reply Reply Quote 2
                                • Thaliosundefined
                                  Thalios
                                  last edited by Thalios

                                  This is truly wonderful!

                                  I love seeing the cancelled object.

                                  Railcore II 300ZL with lots of upgrades (Duet 3 6HC)
                                  Heavily modified Ender 3 Pro (Duet 3 6HC)
                                  Heavily modified Tronxy X5SA-500 Pro with Chimera+ and dual bondtech (Duet 3 6HC)
                                  CR-10S Pro V2 (Duet 3 Mini 5+)
                                  and a bunch of SLA printers..

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

                                    A genuine question.

                                    What is considered the real world use for this?

                                    Vetiundefined 1 Reply Last reply Reply Quote 0
                                    • Vetiundefined
                                      Veti @A Former User
                                      last edited by

                                      @CaLviNx

                                      when one print fails over you can still finish the print on the other objects.

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

                                        @Veti said in 3D GCode Viewer integrated with DWC:

                                        @CaLviNx

                                        when one print fails over you can still finish the print on the other objects.

                                        How does it do that then ? if what you are saying is true then how does the printer know one object has failed and stops extruding for that object but continues to extrude for the others?

                                        And that still doesn't explain the real world application use of this when you can see 99% of this from the slicer

                                        Vetiundefined Sindariusundefined 2 Replies Last reply Reply Quote 0
                                        • Vetiundefined
                                          Veti @A Former User
                                          last edited by

                                          @CaLviNx said in 3D GCode Viewer integrated with DWC:

                                          How does it do that then ? if what you are saying is true then how does the printer know one object has failed and stops extruding for that object but continues to extrude for the others?

                                          this has been a feature in octoprint for some time.
                                          https://plugins.octoprint.org/plugins/cancelobject/

                                          each object layer has a prefix comment. if the object is to be cancelled the pointer jumps to the next prefix object for the g code printing. leaving out the g code of that object.

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

                                            yep. its super useful if you printing a lot of small parts and it happens that some does not stick!
                                            There is a thread somewhere here explaining it!
                                            Will post the link later

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