Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Option to prompt "are you sure" before cancelling a print?

    Scheduled Pinned Locked Moved
    Duet Web Control wishlist
    9
    18
    719
    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.
    • Blacksheep99undefined
      Blacksheep99 @OwenD
      last edited by

      @owend said in Option to prompt "are you sure" before cancelling a print?:

      If you add

      M291 R"Confirm" P"Do you really want to cancel" S3
      

      To the start of cancel.g it should do what you want.
      i.e. If you hit OK, it will run the rest of what is in cancel.g
      if you hit cancel it will bail out.

      Of course if cancel.g is called programmatically (M25) by anything else it will also wait for a prompt.
      I'm not aware of anything that does call cancel.g other than pressing the cancel button, but just so you take it into consideration.

      I don't have a cancel.g. Is it part of the standard config? I can create it but thought it worth asking.

      Thanks for the code

      OwenDundefined 1 Reply Last reply Reply Quote 0
      • OwenDundefined
        OwenD @Blacksheep99
        last edited by

        @blacksheep99
        If cancel.g isn't present then stop.g would be run
        Look up M0 (runs stop.g if present ) and M25 (runs cancel.g if present)

        So, in your case, create cancel.g and put in it anything you want to happen when a print is canceled.
        I'm pretty sure if cancel.g is present the print won't stop unless it's so dictated by the contents of cancel.g whereas if stop.g isn't present the print will still stop if M0 is sent.
        Not near a computer so can't test.

        1 Reply Last reply Reply Quote 1
        • T3P3Tonyundefined
          T3P3Tony administrators
          last edited by

          I have moved this to the Duet Web Control wishlist as it would be good to have an optional setting in DWC to prompt before cancelling that is independent of prompts within cancel.g

          www.duet3d.com

          o_lampeundefined 1 Reply Last reply Reply Quote 0
          • o_lampeundefined
            o_lampe @T3P3Tony
            last edited by

            @t3p3tony
            It would already help to have the two buttons further apart. There's no problem for users with a mouse, but touchpad-tablet users with 'ten thumbs' will appreciate that for sure 😉

            jens55undefined A Former User? 2 Replies Last reply Reply Quote 1
            • jens55undefined
              jens55 @o_lampe
              last edited by

              @o_lampe said in Option to prompt "are you sure" before cancelling a print?:

              @t3p3tony
              It would already help to have the two buttons further apart. There's no problem for users with a mouse, but touchpad-tablet users with 'ten thumbs' will appreciate that for sure 😉

              Been peaking at me operating my laptop, have you .....

              1 Reply Last reply Reply Quote 1
              • TheBasedDogeundefined
                TheBasedDoge
                last edited by

                An option to add "are you sure" on the Emergency Stop would be nice as well... I have accidentally tapped it while using DWC on my phone before 😞

                chimaeraghundefined A Former User? 2 Replies Last reply Reply Quote 0
                • chimaeraghundefined
                  chimaeragh @TheBasedDoge
                  last edited by

                  @thebaseddoge I don't think waiting to answer a prompt in the middle of an emergency is a good idea.

                  Duet 2 Wifi, Ooznest Workbee CNC 1510

                  TheBasedDogeundefined 1 Reply Last reply Reply Quote 0
                  • TheBasedDogeundefined
                    TheBasedDoge @chimaeragh
                    last edited by

                    @chimaeragh True I guess. But i usually just press the power button on my printer if there is an actual need for E STOP

                    chimaeraghundefined 1 Reply Last reply Reply Quote 0
                    • chimaeraghundefined
                      chimaeragh @TheBasedDoge
                      last edited by

                      @thebaseddoge I use my duet to control a CNC. We don't have the luxury of time 3d printing applications have. If I need to stop the machine from moving, it has to be instant.

                      Duet 2 Wifi, Ooznest Workbee CNC 1510

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

                        @o_lampe
                        The suggestion with more screen-space instead of a confirmation is definetly the right for the "emergency stop"-button

                        @thebaseddoge
                        emergency is something critical, rather then having a "are you sure" you might consider to ask for more blank screenspace around it to lower to risk to hit it accidentally...

                        I would support this new wish, as this might be somehting most people can live with and touch-users also benefit from. Put the link here if you posted it in the wishlist and you have my thumbs up.

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

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • jens55undefined
                            jens55
                            last edited by

                            FWIW,
                            'Emergency stop' means just that. Stop NOW.
                            What I suggested is a confirmation for a non emergency abort which is a totally different kettle of rabbits.

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