• 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
    Veti @A Former User
    last edited by 14 Nov 2020, 10:15

    @CaLviNx

    when one print fails over you can still finish the print on the other objects.

    ? 1 Reply Last reply 14 Nov 2020, 11:15 Reply Quote 0
    • ?
      A Former User @Veti
      last edited by A Former User 14 Nov 2020, 11:15

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

      @CaLviNx

      when one print fails over you can still finish the print on the other objects.

      How does it do that then ? if what you are saying is true then how does the printer know one object has failed and stops extruding for that object but continues to extrude for the others?

      And that still doesn't explain the real world application use of this when you can see 99% of this from the slicer

      undefined undefined 2 Replies Last reply 14 Nov 2020, 11:46 Reply Quote 0
      • undefined
        Veti @A Former User
        last edited by 14 Nov 2020, 11:46

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

        How does it do that then ? if what you are saying is true then how does the printer know one object has failed and stops extruding for that object but continues to extrude for the others?

        this has been a feature in octoprint for some time.
        https://plugins.octoprint.org/plugins/cancelobject/

        each object layer has a prefix comment. if the object is to be cancelled the pointer jumps to the next prefix object for the g code printing. leaving out the g code of that object.

        ? 1 Reply Last reply 14 Nov 2020, 13:01 Reply Quote 0
        • undefined
          PCR
          last edited by 14 Nov 2020, 11:49

          yep. its super useful if you printing a lot of small parts and it happens that some does not stick!
          There is a thread somewhere here explaining it!
          Will post the link later

          1 Reply Last reply Reply Quote 0
          • undefined
            Sindarius @A Former User
            last edited by Sindarius 14 Nov 2020, 11:55

            @CaLviNx if you are talking about the 3D viewer the original purpose of it was because I use a mixing hotend and I wanted a way to preview how a model would look when i changed the filament on each of the extruders. This viewer approximates what the printed model will look like based on configured colors. Another use is being able to see the model before printing without having to go to a slicer to load it up.

            ? 1 Reply Last reply 14 Nov 2020, 12:52 Reply Quote 0
            • ?
              A Former User
              last edited by A Former User 14 Nov 2020, 12:14

              @PCR

              Now that is much closer to the word "simulation" than what is now 🙂 - WOW! I LIKE IT!

              I can easily see a big benefit (if this is going to be the new simulation), to also check that you have positioned your file correct on the heatplate, especially when working with additional csys beside the master-machine-csys, BECAUSE -> since it can get from the duet-config.g the maxi building size and can fetch the current "working-csys" (G53-G60 is what this is referring to) no more fuss there!!! You could show even "all" moves (travel-moves etc.) that are in the file to make sure everything is within bounds.

              Can you tell me if that is implemented already and or if you think you would also have a use-case for this and could implement it?

              Because that is something for big printers/cnc/lasers that almost no slicer can do (if you do not want to spent "real" money for it and not just a few bucks), to have a simulation with G54 in relation to your workingarea where you have positioned your local csys and where exactly it will be printed then!

              (
              some people might wonder about the use-case but 2 years ago when working in an art-school, we had courses where we had to position diffrent files on one plate and usually you do this with "sub"-csys like G54, G55, etc. and nobody in a semi-professional environment for basic/-beginner courses will have a slicer or laser-software or cam/cnc-software where they can simulate the whole machine with sub-coordinate systems. The safest thing is to do the work 1 time for/on the actual machine, so to avoid to have to put it into each software every year when a new version is implemented...
              )

              👍

              undefined 1 Reply Last reply 14 Nov 2020, 12:26 Reply Quote 0
              • undefined
                Sindarius @A Former User
                last edited by 14 Nov 2020, 12:26

                @LB I can’t say that I have implemented anything for it. I would need to see a sample and look into the use case. This viewer does not simulate exactly what the duet would do it processes the gcode and renders it for the commands I have implemented.

                ? 1 Reply Last reply 14 Nov 2020, 12:58 Reply Quote 0
                • ?
                  A Former User @TLAS
                  last edited by A Former User 14 Nov 2020, 12:30

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

                  @chrishamm

                  I have a fork of the previous visualizer code that incorporates STL viewing, slicing, and a slick slicer settings / model control component (right now based on Slic3r). Let me know if you’re interested in the code. It’s based on AngularJS and relies on a NodeJS component to integrate with the user’s local slic3r settings and execute the slicer.

                  The goal is to eventually move it server side (cloud) for saving settings and slicing. Also possible to slice on the PI 4 - early benchmarks showed it performed at ~50% of a top end desktop, which means it can likely outperform a slice from the cloud with network transfer in most conditions.

                  Great feature!
                  Hope others have the same usecase:
                  Would appreciate to have the option to run it "locally"(no cloud), since we use duet-boards here at my work (because of me 🙂 we converted the anycubic i3 mega when the mainboard died instead of throwing it away and buing a new one) and I do not think that by any means my boss likes the idea of our company-files being sliced/simulated in some sort of cloud somewhere... I think most company-printers with a duet or printers in public spaces (because of local data-protection-laws) would appreciate local viewing/slicing!

                  Great work anyway - unbelievable to see how much is going on 🙂

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    JoergS5
                    last edited by 14 Nov 2020, 12:47

                    I see another use case in printing the object multiple times with different print parameters and while printing cancelling the objects which are not ok. This could be a calibration in three dimensions too, changing the x, y and z parameters and cancelling the objects which are not good.

                    1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User @Sindarius
                      last edited by 14 Nov 2020, 12:52

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

                      @CaLviNx if you are talking about the 3D viewer the original purpose of it was because I use a mixing hotend and I wanted a way to preview how a model would look when i changed the filament on each of the extruders. This viewer approximates what the printed model will look like based on configured colors. Another use is being able to see the model before printing without having to go to a slicer to load it up.

                      ok that explains its real world use for you

                      undefined 1 Reply Last reply 14 Nov 2020, 12:57 Reply Quote 0
                      • undefined
                        jay_s_uk @A Former User
                        last edited by jay_s_uk 14 Nov 2020, 12:57

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

                        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 14 Nov 2020, 13:06 Reply Quote 0
                        • ?
                          A Former User @Sindarius
                          last edited by A Former User 14 Nov 2020, 12:58

                          @Sindarius

                          O.K. still like it!

                          If you would be able to position the file relative to the "plate" in your simulation (that I hope fetches its size from the absolute machine-csys within config.g?) by an offset defined within G54-59 that would do the job.

                          To try that out you just slice an object that is of course smaller then your buildplate and position it as close to the csys (if the csys is in the corner) or in the middle of the csys (if csys is the center) and then when you uploaded the sliced file to your duet you move your printhead e.g. to a certain spot where you want it to be printed and define the "local" csys e.g. for G54. If the "active" csys could be reflected (...as long as it is active...) in the simulation that would be awesome! I think a lot of cnc-people out there would welcome it!

                          (Another thing I saw in the video: Since you can get the size of the print-volume via config.g you could limit zoom-out to a reasonable value when stuff get´s so small you cannot see anything anymore also I saw that of course you implemented center-the-view and stuff like it 👍 )

                          1 Reply Last reply Reply Quote 1
                          • ?
                            A Former User @Veti
                            last edited by 14 Nov 2020, 13:01

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

                            this has been a feature in octoprint for some time.
                            https://plugins.octoprint.org/plugins/cancelobject/

                            each object layer has a prefix comment. if the object is to be cancelled the pointer jumps to the next prefix object for the g code printing. leaving out the g code of that object.

                            What is the relevance of mentioning octoprint when this software is to be used on the duet.

                            And it still doesn't explain how what you said:

                            when one print fails over you can still finish the print on the other objects.

                            Relates to the "gcode viewer" ? you seem to be off on some tangent .

                            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.

                            undefined 1 Reply Last reply 14 Nov 2020, 15:50 Reply Quote 0
                            • ?
                              A Former User @jay_s_uk
                              last edited by 14 Nov 2020, 13:06

                              @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 @Sindarius
                                last edited by 14 Nov 2020, 13:07

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • ?
                                  A Former User
                                  last edited by A Former User 1 Sept 2021, 15:16 14 Nov 2020, 13:11

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

                                  undefined 1 Reply Last reply 14 Nov 2020, 13:16 Reply Quote 1
                                  • undefined
                                    Sindarius @A Former User
                                    last edited by 14 Nov 2020, 13:16

                                    @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

                                    ? 1 Reply Last reply 14 Nov 2020, 13:24 Reply Quote 0
                                    • ?
                                      A Former User @Sindarius
                                      last edited by A Former User 14 Nov 2020, 13:24

                                      @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?)?

                                      undefined 1 Reply Last reply 14 Nov 2020, 13:39 Reply Quote 0
                                      • undefined
                                        button @A Former User
                                        last edited by 14 Nov 2020, 13:39

                                        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
                                        • undefined
                                          Phaedrux Moderator @A Former User
                                          last edited by Phaedrux 14 Nov 2020, 15:50

                                          @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

                                          ? 1 Reply Last reply 14 Nov 2020, 17:00 Reply Quote 2
                                          101 out of 284
                                          • First post
                                            101/284
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA