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.6k
    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.
    • Sindariusundefined
      Sindarius @CCS86
      last edited by

      @CCS86 Thanks for the file. I managed to take a look at it and the line that is tripping up the viewer is in your ending gcode trips up the viewer into thinking the last layer height should be 5mm tall which causes it to freak out.
      G1 Z5 E-3 F4000

      I commented out that line and got this
      4752ff0e-02e9-40dd-8446-75a52994fde6-image.png

      This is not an issue with your gcode but an issue with how the viewer not appreciating a retract and z travel in the same line. I'll look at getting a fix in for 3.3

      Also because line rendering does not care about layer height doing forced line rendering showed the correct results.

      d5b8f838-f26b-4aad-bc1f-21f2c9d4870e-image.png

      Either way thank you for sharing your file and I'll get this resolved.

      Thanks!

      1 Reply Last reply Reply Quote 1
      • CCS86undefined
        CCS86
        last edited by

        Awesome, glad it helped!

        1 Reply Last reply Reply Quote 0
        • theruttmeisterundefined
          theruttmeister
          last edited by

          *is printing a multi part file...

          One of the parts as apparently on a blob of oil or some nonsense, is going to fail and probably ruin the whole print.

          Pause print. Sigh.

          Remember that the g-code viewer has a cancel part function.

          upload version 3.2 of DWC.
          enable Gcode Viewer plugin.
          cancel the failing part.

          RESUME PRINT!

          ALL. OF. THE. WINNING.

          Like seriously, epic epic feature to have.

          Isolate, substitute, verify.

          Phaedruxundefined Sindariusundefined 2 Replies Last reply Reply Quote 3
          • Phaedruxundefined
            Phaedrux Moderator @theruttmeister
            last edited by

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

            upload version 3.2 of DWC.

            Mid Print?! Without skipping a beat? Nice.

            Z-Bot CoreXY Build | Thingiverse Profile

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

              @theruttmeister I have to say that I am impressed with this

              1 Reply Last reply Reply Quote 0
              • theruttmeisterundefined
                theruttmeister
                last edited by

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

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

                upload version 3.2 of DWC.

                Mid Print?! Without skipping a beat? Nice.

                Yep.
                Just paused, uploaded the zip of the right version of DWC.
                Took longer to load the gcode for visualization!

                PXL_20210107_002609025.jpg

                Killer feature!

                Isolate, substitute, verify.

                PCRundefined 1 Reply Last reply Reply Quote 1
                • MartinNYHCundefined
                  MartinNYHC
                  last edited by

                  Very nice. Thank you for your work!

                  What's about displaying some print job infos into the view (for example time estimations)?

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

                    @MartinNYHC this is something I have been considering for full screen mode. Panels for temperature, position, job status. It’ll probably be beyond a 3.3 release at this moment.

                    MartinNYHCundefined 1 Reply Last reply Reply Quote 1
                    • MartinNYHCundefined
                      MartinNYHC @Sindarius
                      last edited by

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

                      @MartinNYHC this is something I have been considering for full screen mode. Panels for temperature, position, job status. It’ll probably be beyond a 3.3 release at this moment.

                      Very nice!

                      1 Reply Last reply Reply Quote 0
                      • PCRundefined
                        PCR @theruttmeister
                        last edited by

                        @theruttmeister which slicer are you using? I never got the object Feature to Work!

                        Sindariusundefined theruttmeisterundefined 2 Replies Last reply Reply Quote 0
                        • Sindariusundefined
                          Sindarius @PCR
                          last edited by

                          @PCR I personally did my testing with PrusaSlicer. You can enable the feature by checking the Label Objects checkbox.

                          8ad7bc05-8261-41fd-8db2-87c3c9da1ed1-image.png

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

                            @Sindarius yep tried it. But not worked. Will try it again

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

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

                              Added coloring by feed rate.

                              This is really usefull for Lasers and CNC´s !

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

                                @Sindarius what would be really helpful is being able to load a gcode for laser use and then jog the nozzle in x and y to ensure the scrap piece of wood you're going to use is in the correct position

                                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

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

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

                                  @Sindarius what would be really helpful is being able to load a gcode for laser use and then jog the nozzle in x and y to ensure the scrap piece of wood you're going to use is in the correct position

                                  (
                                  YEP! Also for CNC´s combined with sub-csys (so beside the standard-csys-G54 using sub-csys/"local-csys" like G55 and so on)
                                  -> I think he is aware of it 😁
                                  )

                                  BUT -> HEY HEY HEY, do you mean: AFTER the printer was homed -> THERE COULD BE A LIVE VIEW WITHIN THAT PLUGIN OF THE TOOL BY FETCHIN THE CURRENT TOOL POSITION FROM TEH OBJECT MODEL?
                                  21105e68-a17e-4102-8dfc-808f01dfe0be-grafik.png
                                  WOOAAAAAAAAHHHHHHHHHHHHHH
                                  😵 😂 😌 ☺

                                  @Sindarius 😀

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

                                    @LB I am looking at displaying each csys with an axes indicator and label at some point soon. I need to look at the code because I believe I am currently using machine position to drive the cursor.

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

                                      @LB Feed rate has a lot of perks including being useful for looking at your movement. In line rendering mode it can help provide a nice color contrast on single material prints.

                                      8eb681e0-4eae-44d0-9de6-81d065f29ec3-image.png

                                      7500e8ce-83da-40e8-a621-0b358e7af75f-image.png

                                      1 Reply Last reply Reply Quote 0
                                      • theruttmeisterundefined
                                        theruttmeister @PCR
                                        last edited by

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

                                        @theruttmeister which slicer are you using? I never got the object Feature to Work!

                                        Cura 4.4.0 iirc.

                                        Not seen a 'label objects option' but then not ever looked for one. Not looked at the gcode either.

                                        Isolate, substitute, verify.

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

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

                                          @LB I am looking at displaying each csys with an axes indicator and label at some point soon. I need to look at the code because I believe I am currently using machine position to drive the cursor.

                                          I understand. To not confuse people with more and more options (variables, conditions, etc.) it would be cool if it is consitet with DWC and PanelDue of course - I guess that is what you meant?

                                          Cheers

                                          1 Reply Last reply Reply Quote 0
                                          • Sp00kie13undefined
                                            Sp00kie13
                                            last edited by

                                            Any chance this could be adapted for CNC milling,so instead of adding material, it works on removing material

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