Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Cancel/Skip Individual Objects During Print

    Firmware wishlist
    11
    18
    1697
    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.
    • MoeweX
      MoeweX last edited by MoeweX

      There have been several posts in which the topic has started to being discussed already, e.g., https://forum.duet3d.com/topic/6299/cancel-individual-part-s. However, they are locked now for whatever reason so I would like to take the opportunity to post here how I think this feature could be added without too many efforts.

      As already done by the respective octoprint plugin, I think it is a good approach to rely on the slicer comments to identify separate objects, e.g., the processes of Simplify3D.

      One could then add another Gcode command (I name it M125 here but everything is possible) to list and deactivate available processes. If the duet then identifies a Process1, for example, it would ignore all lines until another process is listed such as Process2 (see also the plugin for more details and how this could be done for other slicers).

      Thoughts?

      M125: Skip/Cancel Objects

      Parameters

      • On target object
      • Sn skip (S1) or do not skip (S0)

      Example

      M125 ; list all processes and their state
      M125 O1 S1 ; skip Process1 from now on

      1 Reply Last reply Reply Quote 1
      • devleon
        devleon last edited by

        I also posted about this. No reply so far...

        1 Reply Last reply Reply Quote 0
        • dc42
          dc42 administrators last edited by

          We've already included this facility in the work list for Duet 3. I can add it to the wish list for Duet 2.

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

          MoeweX 1 Reply Last reply Reply Quote 2
          • devleon
            devleon last edited by

            yes please 🙂

            1 Reply Last reply Reply Quote 0
            • Wyvern
              Wyvern last edited by

              Not going to lie, that sounds pretty cool!

              1 Reply Last reply Reply Quote 0
              • MoeweX
                MoeweX @dc42 last edited by

                @dc42 This would be really great, thank you! One question though, I thought Duet 3 is going to be a hardware upgrade, so why does this firmware feature need to be added to a hardware dependent wish list?

                dc42 1 Reply Last reply Reply Quote 0
                • wesc
                  wesc last edited by

                  Please implement this. Just as I was typing this, some spaghetti being dragged around dislodged one of three remaining items being printed.

                  CroXY - Crossed Gantry Printer, Ultibots D300VS+, Custom CoreXYU

                  1 Reply Last reply Reply Quote 0
                  • dc42
                    dc42 administrators @MoeweX last edited by

                    @moewex said in Cancel/Skip Individual Objects During Print:

                    @dc42 This would be really great, thank you! One question though, I thought Duet 3 is going to be a hardware upgrade, so why does this firmware feature need to be added to a hardware dependent wish list?

                    Yes Duet 3 is a hardware upgrade. The architecture of Duet 3 and the additional RAM makes this sort of thing easier to do. But it would be possible to do it with Duet 2. Have the slicer makers agreed on a standard set of comments to describe which part they are starting yet?

                    Duet WiFi hardware designer and firmware engineer
                    Please do not ask me for Duet support via PM or email, use the forum
                    http://www.escher3d.com, https://miscsolutions.wordpress.com

                    1 Reply Last reply Reply Quote 0
                    • wesc
                      wesc last edited by wesc

                      I’d go with what Octoprint’s CancelObkect plugin does:

                      https://github.com/paukstelis/Octoprint-Cancelobject/blob/master/README.md

                      If Duet supported something as recommended, I could see the other slicers follow suit, without the manual fussing required for CancelObject to work with some slicers

                      CroXY - Crossed Gantry Printer, Ultibots D300VS+, Custom CoreXYU

                      dc42 1 Reply Last reply Reply Quote 0
                      • DeltaCon
                        DeltaCon last edited by

                        Is it an entirely stupid idea to have the slicer slice ONE object and let the firmware calculate the offset's for object placement? At each identifier for the next layer, the firmware could decide to go to the n+1th object with an object specific offset and print the same layer again before going to the next layer.

                        If you think trial and error is dangerous, try routine. That's even more so!

                        1 Reply Last reply Reply Quote 0
                        • dc42
                          dc42 administrators @wesc last edited by

                          @wesc said in Cancel/Skip Individual Objects During Print:

                          I’d go with what Octoprint’s CancelObkect plugin does:

                          https://github.com/paukstelis/Octoprint-Cancelobject/blob/master/README.md

                          If Duet supported something as recommended, I could see the other slicers follow suit, without the manual fussing required for CancelObject to work with some slicers

                          Thanks, looks like we need to look for "; printing object xxxx" or "; process xxxx" comments.

                          Duet WiFi hardware designer and firmware engineer
                          Please do not ask me for Duet support via PM or email, use the forum
                          http://www.escher3d.com, https://miscsolutions.wordpress.com

                          1 Reply Last reply Reply Quote 0
                          • Martin1454
                            Martin1454 last edited by

                            Can't find it have been discussed here - but some time ago I saw an octoprint plugin that does not skip "parts", but where you said it should ignore anything inside coordinate (X1,Y1 to X2, Y2) and it would ignore any gcode with those coordinates - That might be a lot simpler than recognizing objects, and will work for any slicer.

                            devleon 1 Reply Last reply Reply Quote 0
                            • devleon
                              devleon @Martin1454 last edited by devleon

                              It's called Exclude Region (https://plugins.octoprint.org/plugins/excluderegion/).
                              This actually could be a first, quick and easy way to realize this, no need to parse the gcode and detect processes/objects.
                              But I would require having a G-Code viewer, while canceling individual objects/processes would just require a list and buttons to cancel specific objects/processes.

                              But isn't a G-Code Viewer planned for DWC 2 anyways?

                              Martin1454 1 Reply Last reply Reply Quote 2
                              • Martin1454
                                Martin1454 @devleon last edited by

                                @devleon said in Cancel/Skip Individual Objects During Print:

                                But I would require having a G-Code viewer, while canceling individual objects/processes would just require a list and buttons to cancel specific objects/processes.

                                If you knew the coordinates of the objects, you could do it without, and just send a command, but a Gcode viewer would be nice, but will probably take some time to develop.

                                1 Reply Last reply Reply Quote 0
                                • ciaossu
                                  ciaossu last edited by

                                  I am on board for the ability to cancel object on the Duet 2 for sure. I use the cancel object or exclude region in octoprint when a small piece breaks free on a plate full of items. This has saved many prints from being complete failures.

                                  1 Reply Last reply Reply Quote 1
                                  • aerouta
                                    aerouta last edited by

                                    Any chance this feature has been implemented and I missed it?

                                    PCR T3P3Tony 2 Replies Last reply Reply Quote 0
                                    • PCR
                                      PCR @aerouta last edited by

                                      @aerouta missed it. There is even a plugin

                                      1 Reply Last reply Reply Quote 0
                                      • T3P3Tony
                                        T3P3Tony administrators @aerouta last edited by

                                        @aerouta yep it is now part of firmware so if your slicer labels objects you can issue commands to cancel them individually:
                                        https://duet3d.dozuki.com/Wiki/M486

                                        There is a lightweight plugin you can install if you only want a simple 2D view of the bed:
                                        https://forum.duet3d.com/topic/24762/object-cancel-plugin-1-0

                                        Or the 3D gcode visualisation plugin distributed with DWC supports object cancelation directly

                                        www.duet3d.com

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