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

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

        @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

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

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

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

            @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

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

              @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
              • undefined
                Exerqtor
                last edited by 3 Nov 2019, 13:56

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

                undefined 2 Replies Last reply 3 Nov 2019, 13:58 Reply Quote 0
                • undefined
                  Sindarius @Exerqtor
                  last edited by 3 Nov 2019, 13:58

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

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

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

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

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

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

                        undefined 1 Reply Last reply 4 Nov 2019, 17:16 Reply Quote 0
                        • 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
                                          28 out of 284
                                          • First post
                                            28/284
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA