• 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
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.
  • undefined
    Sindarius @DaBit
    last edited by 27 Nov 2020, 17:53

    @DaBit I think I found it! There was an issue where my processor was throwing away commands like G90 and G91 because it didn't have any tokens like X0 etc. Clearly a problem on my side. What happened is at the end of your gcode you had a line "G91 G1 Z20 F500" which caused my processor to pick up the G91 and go into relative mode. The next render would stay in relative mode and not read the G90 early on so it would just keep adding the coordinates to each other which lead to the massive numbers.

    Got it fixed here.

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

    1 Reply Last reply Reply Quote 0
    • undefined
      DaBit
      last edited by 27 Nov 2020, 18:57

      That makes sense indeed!

      OK, next! 😁

      Given the 'small-ish' sample G code file, zoom in like this:

      Screenshot 2020-11-27 195102.png

      Zoom 1 step further, and the model disappears:

      Screenshot 2020-11-27 195124.png

      And a personal preference: I don't like the 'viscous' behaviour while rotating/panning/zooming very much. I would love to have a checkbox to turn that off.

      Anyway, quite happy with the plugin. Thanks for giving us that!
      Very useful to check if the file on the SD card that you printed 3 months ago is indeed the one you want to print now.

      undefined 1 Reply Last reply 27 Nov 2020, 19:01 Reply Quote 0
      • undefined
        Sindarius @DaBit
        last edited by 27 Nov 2020, 19:01

        @DaBit I know what is causing the zoom in thing. with orbit cameras there is a target point and when you shift and pan that target moves. When you hit that 0 point the camera flips sides. It's annoying and something I am trying to find a better solution for. I can look into an inertia toggle but it's been fairly low on my list.

        1 Reply Last reply Reply Quote 0
        • undefined
          Exerqtor
          last edited by 27 Nov 2020, 20:18

          I have a little suggestion/wish for a feature or improvement to how the object model "block" is displayed. How if instead of being a translucent green box all the time, it would be a neon-green "outlines" (like the volum view in settings) until you hover over the object and it then turns to the green box. i think that would look much cleaner.

          And maybe a slider for adjusting the hue of the lines and transparancy of the box as well?

          undefined 1 Reply Last reply 27 Nov 2020, 20:52 Reply Quote 0
          • undefined
            Alex.cr
            last edited by Alex.cr 27 Nov 2020, 20:49

            Reporting a small issue, upgrading to Beta_4 breaks the plugin. Not surprisingly I guess.

            An error is reported saying "Error: Plugin GCODEViewer requires incompatible DWC version (need 3.2.0-beta3, got 3.2.0-beta4)"

            Great plugin though!

            Voron2.4/Duet3 SBC+6HC+3HC+1LC+1HCL(x2) - Delta/Duet2 Wifi - CubePro/Duet2 Wifi+Duex5 - Laser/Duet3 Mini5+ - Cel Robox - U̶p̶3̶0̶0̶+/D̶u̶e̶t̶3̶ ̶6̶H̶C̶+̶LC1̶ - F̶T̶-̶5̶/̶D̶u̶e̶t̶2̶ ̶W̶i̶f̶i̶ - S̶o̶l̶i̶d̶o̶o̶d̶l̶e̶

            undefined 1 Reply Last reply 27 Nov 2020, 20:50 Reply Quote 0
            • undefined
              Sindarius @Alex.cr
              last edited by 27 Nov 2020, 20:50

              @Alex-cr The screenshot didn't come through but I have updated the plugin zip file to flag to the latest beta4 version.

              1 Reply Last reply Reply Quote 0
              • undefined
                Sindarius @Exerqtor
                last edited by 27 Nov 2020, 20:52

                @Exerqtor I'd have to play with it because the hit testing may ignore the transparent area and honestly I tend to think people wouldn't leave it on after cancelling objects because it is so easy to misclick and potentially cancel something you didn't mean to (even with the dialog).

                undefined 1 Reply Last reply 28 Nov 2020, 17:33 Reply Quote 0
                • undefined
                  Exerqtor @Sindarius
                  last edited by 28 Nov 2020, 17:33

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

                  @Exerqtor I'd have to play with it because the hit testing may ignore the transparent area and honestly I tend to think people wouldn't leave it on after cancelling objects because it is so easy to misclick and potentially cancel something you didn't mean to (even with the dialog).

                  Yeah that's a valid point 😅

                  undefined 1 Reply Last reply 28 Nov 2020, 18:10 Reply Quote 0
                  • undefined
                    Sindarius @Exerqtor
                    last edited by 28 Nov 2020, 18:10

                    @Exerqtor I do like the solid edges idea tho so I’ll probably do that

                    1 Reply Last reply Reply Quote 1
                    • undefined
                      Sindarius
                      last edited by Sindarius 30 Nov 2020, 01:00

                      Starting to put some work into CNC gcode files.

                      27375e2c-f332-47db-9683-27390b203882-image.png

                      1721b32d-946c-4d4c-b4b0-1cf83f6310c0-image.png

                      dd92a2e5-1199-4efd-8fb1-761888b872a8-image.png

                      Tried my solid rendering to see how a 3d carve would look.
                      ee0e0fac-21d9-4d0c-a25b-884d44b9cd66-image.png

                      Edit : A couple extra pics

                      1 Reply Last reply Reply Quote 2
                      • undefined
                        Sindarius
                        last edited by 7 Dec 2020, 00:59

                        Just pushed out a new release with support for G2/G3.

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

                        bbd77664-e57c-4deb-9129-de15e82ca5aa-image.png

                        1 Reply Last reply Reply Quote 1
                        • undefined
                          bastien
                          last edited by 9 Dec 2020, 20:36

                          sorry for my stupid question, how install your viewer, besose i send your dwc in my duet and a not viewer menu

                          undefined 1 Reply Last reply 9 Dec 2020, 22:35 Reply Quote 0
                          • undefined
                            jay_s_uk
                            last edited by 9 Dec 2020, 20:43

                            @Sindarius
                            You may want to edit your first post and remove the link the original DWC builds, replacing it with a link to the new github repo releases page

                            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

                            undefined 1 Reply Last reply 9 Dec 2020, 22:23 Reply Quote 0
                            • undefined
                              Sindarius @jay_s_uk
                              last edited by Sindarius 12 Sept 2020, 22:26 9 Dec 2020, 22:23

                              @jay_s_uk that’s probably a good idea since that dates to Sept 2019 😱

                              Edit : Updated. It may be time time to start a new thread...

                              1 Reply Last reply Reply Quote 1
                              • undefined
                                Sindarius @bastien
                                last edited by 9 Dec 2020, 22:35

                                @bastien which version of dwc are you running?? The latest version of my viewer is now a plugin that runs on dwc 3.2-beta 4.

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  bastien
                                  last edited by 10 Dec 2020, 18:13

                                  i just install 3.2, i viewer in sub menu in files but no in main menu

                                  undefined 1 Reply Last reply 10 Dec 2020, 18:30 Reply Quote 0
                                  • undefined
                                    bastien @bastien
                                    last edited by 10 Dec 2020, 18:30

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

                                    i just install 3.2, i viewer in sub menu in files but no in main menu

                                    it's ok, i re install plug in and start in new plug in menu 😊 😊

                                    1 Reply Last reply Reply Quote 1
                                    • undefined
                                      DIY-O-Sphere
                                      last edited by 13 Dec 2020, 09:51

                                      @Sindarius
                                      Are there known issues with the latest version on a maestro?
                                      Cant't get it working anymore. (RRF 3.2_b4 +0.11.1)
                                      The previous versions of fw and plugin worked. (guess RRF 3.2_b2 +0.6.5)

                                      (UTC+1)

                                      undefined 1 Reply Last reply 13 Dec 2020, 20:10 Reply Quote 0
                                      • undefined
                                        Sindarius @DIY-O-Sphere
                                        last edited by 13 Dec 2020, 20:10

                                        @DIY-O-Sphere I pulled down and installed the 3.2-beta4 that is on GitHub, I normally run my own build, and was able to install my plugin without any problems. Make sure you are pulling the latest version of my plugin from the github releases page https://github.com/Sindarius/DWC_GCodeViewer_Plugin/releases. I don't believe the firmware version itself should have any play since the plugin is a javascript solution that runs in DWC itself.

                                        Just double check the following to make sure you are on the latest

                                        2f5705dc-946a-42af-a304-9ca6bd2fc955-image.png

                                        50ffd5fa-c1a7-4f87-a892-edb63a88a2e1-image.png

                                        dd4df0c5-3313-4d74-a61f-3fdf8aa6602c-image.png

                                        undefined 1 Reply Last reply 14 Dec 2020, 05:28 Reply Quote 0
                                        • undefined
                                          DIY-O-Sphere @Sindarius
                                          last edited by 14 Dec 2020, 05:28

                                          @Sindarius
                                          After de-energising and powering up everything is working now....
                                          A simple sw-reset after the update was not enough.....

                                          (UTC+1)

                                          1 Reply Last reply Reply Quote 1
                                          203 out of 284
                                          • First post
                                            203/284
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA