• 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
    Exerqtor @Sindarius
    last edited by 4 Nov 2019, 17:16

    @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. πŸ˜“

    undefined 1 Reply Last reply 4 Nov 2019, 17:17 Reply Quote 0
    • undefined
      Sindarius @Exerqtor
      last edited by 4 Nov 2019, 17:17

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

      undefined 1 Reply Last reply 4 Nov 2019, 17:21 Reply Quote 0
      • undefined
        Exerqtor @Sindarius
        last edited by 4 Nov 2019, 17:21

        @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.

        undefined 2 Replies Last reply 4 Nov 2019, 17:24 Reply Quote 0
        • undefined
          Sindarius @Exerqtor
          last edited by 4 Nov 2019, 17:24

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

          1 Reply Last reply Reply Quote 0
          • undefined
            hestiahuang @Sindarius
            last edited by 4 Nov 2019, 17:25

            @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
            • undefined
              Sindarius @Exerqtor
              last edited by 4 Nov 2019, 17:33

              @Exerqtor I found what was causing the issue with this gcode. Looks like I forgot to scrub out the comment which was throwing off the parsing. I'll get a fix for that here in a few minutes.

              undefined undefined 2 Replies Last reply 4 Nov 2019, 17:33 Reply Quote 0
              • undefined
                Exerqtor @Sindarius
                last edited by Exerqtor 11 Apr 2019, 17:55 4 Nov 2019, 17:33

                @Sindarius

                Awesome! πŸ˜ƒ

                Edit:
                Just tried with the new update and it works fine now!

                1 Reply Last reply Reply Quote 0
                • undefined
                  Dougal1957 @Sindarius
                  last edited by 4 Nov 2019, 17:49

                  @Sindarius Just loaded it up and what I see looks sort of OK think you also need to check the Config.g to decide on the type of printer it automatically seems to default to a Rectangular bed with the origin at 0 0.

                  I the case of a delta the origin is still 0,0 but is in the centre of a circular bed.

                  I you check the config.g for a M665/M666 lines and set it to circular centre origin it would be pretty damned good?

                  undefined 1 Reply Last reply 4 Nov 2019, 18:02 Reply Quote 3
                  • undefined
                    Sindarius @Dougal1957
                    last edited by 4 Nov 2019, 18:02

                    @Dougal1957 Delta support is on my down the road list at the moment. I would need to see if there is a way through the rest services to read M665/M666.

                    I don't own a Delta but an early compromise would be to let you select the bed shape (circle/square) and let you adjust the radius of the bed for now. I am currently storing settings client side for the viewer and not on the duet/pi itself.

                    undefined 1 Reply Last reply 4 Nov 2019, 18:25 Reply Quote 1
                    • undefined
                      Dougal1957 @Sindarius
                      last edited by 4 Nov 2019, 18:25

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

                      @Dougal1957 Delta support is on my down the road list at the moment. I would need to see if there is a way through the rest services to read M665/M666.

                      I don't own a Delta but an early compromise would be to let you select the bed shape (circle/square) and let you adjust the radius of the bed for now. I am currently storing settings client side for the viewer and not on the duet/pi itself.

                      That would be a fair compromise along with being able to set the origin although you could default it to be 0,0 in the centre of the bed. That would work but allowing the Origin to be set manually would be a good idea anyway as I do know some like to have it in the centre even on rectangular beds.

                      another suggestion would be to show non print moves in a different colour as well (those without any E movement).

                      Doug

                      undefined 1 Reply Last reply 4 Nov 2019, 18:30 Reply Quote 1
                      • undefined
                        Sindarius @Dougal1957
                        last edited by 4 Nov 2019, 18:30

                        @Dougal1957 I had non-print moves in there at one point and even with toggling just found them to be noise, which also reduces the amount of polygons that can be rendered for the models. Since I am not doing a line by line scrub bar I don't know that travel moves make much sense to visualize the model's end product.

                        undefined 1 Reply Last reply 4 Nov 2019, 18:35 Reply Quote 0
                        • undefined
                          Dougal1957 @Sindarius
                          last edited by 4 Nov 2019, 18:35

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

                          @Dougal1957 I had non-print moves in there at one point and even with toggling just found them to be noise, which also reduces the amount of polygons that can be rendered for the models. Since I am not doing a line by line scrub bar I don't know that travel moves make much sense to visualize the model's end product.

                          OK I can live with that it was just a suggestion and if you have tried it and it don't really work then that's fine.

                          Doug

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            Sindarius
                            last edited by Sindarius 11 Jul 2019, 15:04 7 Nov 2019, 14:59

                            Did some mobile tweaks in a new release that is now availabe on github.

                            https://www.youtube.com/watch?v=XxkoAm-oLH0&feature=youtu.be

                            I plan to address the ui scaling in a future release.

                            1 Reply Last reply Reply Quote 3
                            • undefined
                              AS-3D Druck
                              last edited by 17 Nov 2019, 16:47

                              Is it possible to change this to a Tool to live view the current Layer in the sliced view?
                              What i mean with this is shows the Print in Orange with 100 Opacity for example and the rest upcomming in Orange 50% Opacity with a few Things like Printtime and Layer Number etc.

                              Is this possible?

                              Best regards
                              AS-3D Druck / Andre

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                Sindarius
                                last edited by 17 Nov 2019, 23:34

                                It’s possible but my priority with this tool has mainly been to view the colors that are assigned by tool / m567 mixing as a preview. A few folks have asked for a live view. My early go will probably just adjust the z slider automatically on the side.

                                1 Reply Last reply Reply Quote 2
                                • undefined
                                  danym21
                                  last edited by 2 Jun 2020, 19:07

                                  @Sindarius
                                  is it possible to have this also in DWC 3.1.1 for the Duet 3?

                                  1 Reply Last reply Reply Quote 4
                                  • PCRundefined
                                    PCR
                                    last edited by 23 Aug 2020, 12:38

                                    @Sindarius any possibility to update to 3.1.1

                                    undefined 1 Reply Last reply 2 Sept 2020, 03:33 Reply Quote 0
                                    • undefined
                                      Sindarius @PCR
                                      last edited by 2 Sept 2020, 03:33

                                      @PCR I will start looking at updating my branch of the DWC with my 3D Viewer here soon. It has been a while since I updated it.

                                      1 Reply Last reply Reply Quote 2
                                      • PCRundefined
                                        PCR
                                        last edited by 2 Sept 2020, 06:41

                                        Or as a Plugin with 3.2 ;)))

                                        undefined 1 Reply Last reply 2 Sept 2020, 15:55 Reply Quote 0
                                        • undefined
                                          Sindarius @PCR
                                          last edited by 2 Sept 2020, 15:55

                                          @PCR I've been waiting on that for over a year. I'll see if I want to spend the time converting it when that happens. For now...

                                          https://github.com/Sindarius/DuetWebControl/releases/tag/3.1.1-Sindarius

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