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.
    • A Former User?
      A Former User @jay_s_uk
      last edited by

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

      @CaLviNx no one is forcing you to install or use this plugin. But thanks for your input...

      excuse me ?

      Please show me where I said anyone was forcing me to do anything, I was asking a question nothing more nothing less, but if you wish to take the hump about me asking a question and then try to be passive aggressive about it, be very careful.

      It was NOT input it was a QUESTION

      question, a noun (ASKING)

      A sentence or phrase used to find out information

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

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • A Former User?
          A Former User
          last edited by A Former User

          @Sindarius

          Do you think on the long run the "color" could be somehow connected/attached to some sort of variable within filament-config.g and the actual number of extruders and their loaded filament? Just thinking out loud...

          EDIT: (actually I am so impressed by the multi-colour-printer from deckingman, that I think that those multicolourprinters could get on the long run a relaistic visualization what colour the g-code wants to have and if that is realy loaded -> Of course this is maybe more complex with "mixing" hotends vs multiple independent colours after another but not mixing concepts)

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

            @LB As I work toward further implementation some of that is totally possible. Originally this viewer popped up in a separate window and didn't collect any duet info. Since this is a plugin now it is much easier to access the object model and data that DWC captures.

            Sample of changing extruders color just cause I happen to have one on hand.

            928353bc-c0b0-408c-8bab-f1a3d4982713-image.png

            36cbff45-43dd-4463-be96-00c9ccc8ba01-image.png

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

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

              @LB As I work toward further implementation some of that is totally possible. Originally this viewer popped up in a separate window and didn't collect any duet info. Since this is a plugin now it is much easier to access the object model and data that DWC captures.

              Awesome: On the long run I can imagine even a preview of "internal" files like movement-trajectories as lines/curves for bed-levelling and homing or that sort... on most cncยดs those are red-lines...

              Yeah, as said, first thing for me would be a wire-frame for the absolut bounding-box of the machine. Second would be small crosses(or cross-hairs(?) I am not a native-english-speaker/-writer) for the absolut-csys (if active) and for the "actual"/temporary csys (with name written beside it would be nice e.g. a small "G5x") or something relative in this bounding box located (IF ACTIVE only of course)...

              (As far as I remember the active csys like "G54" are already reflected in DWC when any but the machine-csys G53 is put active)

              Sample of changing extruders color just cause I happen to have one on hand.

              Looks great!

              (
              @dc42
              )

              Do you think it is possible with the new conditional-g-code to defina a variable within filament-config.g for the hex-code (this is using a hex-code for the color it seems?)?

              buttonundefined 1 Reply Last reply Reply Quote 0
              • buttonundefined
                button @A Former User
                last edited by

                I'm really impressed. Will test when 3.2 be official release.
                With things like that duet ecosystem winnings!!

                1 Reply Last reply Reply Quote 0
                • Phaedruxundefined
                  Phaedrux Moderator @A Former User
                  last edited by Phaedrux

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

                  Seeing as we are now off on a tangent, what would be really useful is if there was a way to
                  have a camera integrated into the "cancel object" software/plugin or what ever you want to call, that could monitor when a segment has failed and automatically modify the g-code on the fly to stop the printer from extruding plastic for that segment.

                  You may not like this, but there's also an octoprint plugin that does this. And yes it could become a plugin here as well.

                  https://www.thespaghettidetective.com/

                  The object cancelation functions already right now so that if you had a camera and you yourself saw an object fail, you could send the manual command to cancel that object.

                  https://duet3d.dozuki.com/Wiki/Gcode#Section_M486_Object_cancellation

                  The gcode viewer functionality could enable a useful GUI for many features.

                  Z-Bot CoreXY Build | Thingiverse Profile

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

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

                    Posted a new update. Cleaned up the side menu a bit.

                    5fc99fd3-4706-40c9-96b6-841002959809-image.png https://user-images.githubusercontent.com/12520045/99151632-3acb8900-2662-11eb-920a-216d9a346b23.png

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

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

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

                      Seeing as we are now off on a tangent, what would be really useful is if there was a way to
                      have a camera integrated into the "cancel object" software/plugin or what ever you want to call, that could monitor when a segment has failed and automatically modify the g-code on the fly to stop the printer from extruding plastic for that segment.

                      You may not like this, but there's also an octoprint plugin that does this. And yes it could become a plugin here as well.

                      https://www.thespaghettidetective.com/

                      The object cancelation functions already right now so that if you had a camera and you yourself saw an object fail, you could send the manual command to cancel that object.

                      https://duet3d.dozuki.com/Wiki/Gcode#Section_M486_Object_cancellation

                      The gcode viewer functionality could enable a useful GUI for many features.

                      Why would I not like it?

                      And I reiterate, it would be useful if :

                      that plugin could monitor when a segment has failed and automatically modify the g-code on the fly to stop the printer from extruding plastic for that segment.

                      And still this does not explain the reason why someone would even mention a feature that occurs in octoprint, and what relationship that feature has to do with the Author's gcode viewer,

                      Phaedruxundefined 1 Reply Last reply Reply Quote 0
                      • Phaedruxundefined
                        Phaedrux Moderator @A Former User
                        last edited by

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

                        And still this does not explain the reason why someone would even mention a feature that occurs in octoprint, and what relationship that feature has to do with the Author's gcode viewer,

                        Because he posted a photo showing a canceled object. (The one with the Xs over it) and you asked what the real world use was and veti told you what the use of cancelling an object is and posted a link to the origin of the feature in the form of the octoprint plugin. For such a big brain I'm surprised you're not following along here.

                        Z-Bot CoreXY Build | Thingiverse Profile

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

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

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

                          ๐Ÿ’ช

                          Hey I clicked on your link, could you help me where to find in the forum or duet-wiki a reference how to implement this plugin? ๐Ÿค“

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

                            @LB upload the zip file via the systems tab.
                            There will be a pop up asking if you want to install the plugin.
                            It can then be activated under the plugins tab on the machine specific settings tab

                            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 @A Former User
                              last edited by Sindarius

                              @LB I just posted a 0.7.0 with async loading ๐Ÿ™‚ Download the zip from the release page and with the latest DWC 3.2 beta you can simply go to the system tab and upload the file to install the plugin.

                              @jay_s_uk beat me to it ๐Ÿ™‚

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

                                weird bug, it seems the bed rendered is too small. (see pic)

                                any idea?

                                same on safari and firefox. Mac os big sur.

                                Screen Shot 2020-11-15 at 2.20.46 PM.png

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

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

                                  @Thalios I have not yet implemented reading the axis limit so the bed size is fixed @ 235,235 at the moment.

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

                                    I understand! I like it still! ๐Ÿ™‚

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

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

                                      @Thalios It's one of the next items on my list. I need to start refactoring some of the structure out into their own classes. Bed is one of my first ones. I plan to hopefully support bed texturing soon-ish and I have had requests to show a volume cube as well. So this will be a part of that. Glad you like ๐Ÿ‘

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

                                        @Thalios Give 0.7.6 a shot. I have reworked a chunk of the bed logic so it should pick up the axes limits from the object model now.
                                        https://github.com/Sindarius/DWC_GCodeViewer_Plugin/releases/tag/0.7.6

                                        Also added build volume. It's a little odd for deltas but it you look top down it works well enough for now.

                                        c2e4834f-1854-446e-aaa5-8391c000213a-image.png

                                        JoergS5undefined 1 Reply Last reply Reply Quote 3
                                        • JoergS5undefined
                                          JoergS5 @Sindarius
                                          last edited by JoergS5

                                          @Sindarius your print area would be useful for other kinematics like scara, polar ... also.

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

                                            works perfectly so far!

                                            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 1
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA