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

    BtnCmd-DWC Plugin - Customise DWC - v01.03.08 01-03-25

    Scheduled Pinned Locked Moved
    Plugins for DWC and DSF
    27
    244
    38.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.
    • cosmowaveundefined
      cosmowave @MintyTrebor
      last edited by

      @mintytrebor
      perfect.
      I will try it. 👍

      Mankati FSXT+, DeltaTowerV2, E3D MS/TC

      MintyTreborundefined 1 Reply Last reply Reply Quote 0
      • MintyTreborundefined
        MintyTrebor @cosmowave
        last edited by

        @cosmowave You should get a friendly error/warning if it is unable to find the Macro - but it does work with sub-folders I just gave it a quick try.

        NodeDSF - Native Node-Red integration with Duet boards.
        BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
        ReleaseMgr - Duet update info inside DWC.
        Repo

        cosmowaveundefined 1 Reply Last reply Reply Quote 0
        • cosmowaveundefined
          cosmowave @MintyTrebor
          last edited by

          @mintytrebor very nice!
          And thanks for this super usefull Plugin!! 🙌

          If you have something like a wishlist: It will be nice to adjust the text size of object model buttons.
          But that is not an important thing...

          Mankati FSXT+, DeltaTowerV2, E3D MS/TC

          1 Reply Last reply Reply Quote 0
          • MintyTreborundefined
            MintyTrebor
            last edited by

            New update to v0.8.19

            Updated Plugin for DWC 3.3 and added capability to change the font size of Object Model Panels.

            Release is available here

            NodeDSF - Native Node-Red integration with Duet boards.
            BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
            ReleaseMgr - Duet update info inside DWC.
            Repo

            cosmowaveundefined 1 Reply Last reply Reply Quote 1
            • cosmowaveundefined
              cosmowave @MintyTrebor
              last edited by

              @mintytrebor cool. Thanks for that!
              Sometimes when i create a custom panel, the "hover text" is behind the panel itself... but no big problem...

              Mankati FSXT+, DeltaTowerV2, E3D MS/TC

              1 Reply Last reply Reply Quote 0
              • Diamondbackundefined
                Diamondback
                last edited by

                Wow! This is amazing, I hate that I didn't find this earlier! 🙂

                I have an issue though, buttons within custom panels don't seem to do anything, they don't even trigger the "what happened last" text in the bottom bar. Normal buttons not within a custom panel work fine. Any idea?

                MintyTreborundefined 1 Reply Last reply Reply Quote 0
                • MintyTreborundefined
                  MintyTrebor @Diamondback
                  last edited by MintyTrebor

                  @diamondback I think this may have something to do with the layer the button is displaying on.
                  Can you bring the panel to the top layer in layout mode, and re-test.
                  If that does not work ... have you enabled the "Enable Selections in Settings" switch in global settings?
                  Edit: It might also be worth trying to bring the button to the top layer in custom panel create mode

                  NodeDSF - Native Node-Red integration with Duet boards.
                  BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
                  ReleaseMgr - Duet update info inside DWC.
                  Repo

                  Diamondbackundefined 1 Reply Last reply Reply Quote 0
                  • Diamondbackundefined
                    Diamondback @MintyTrebor
                    last edited by

                    @mintytrebor Thanks for the quick answer! 🙂

                    Unfortunately none of that changed anything. I tried the setting you mentioned, no change (had it turned off before and didn't see any problem with radio buttons)
                    Bringing various elements to the top layer also had no effect, both in panel creation mode and the final tab mode.

                    Note: The button visually reacts to my click (ie the animations happen), it just doesn't execute anything.

                    2021-06-19_17-59-18.png 2021-06-19_17-59-11.png 2021-06-19_17-59-06.png

                    MintyTreborundefined 1 Reply Last reply Reply Quote 0
                    • MintyTreborundefined
                      MintyTrebor @Diamondback
                      last edited by MintyTrebor

                      @diamondback Can you see what happens if you change the button to a Gcode and use
                      M117 "Hello world"
                      as the command.

                      The reason for asking about the selects setting, is because there is an existing problem with some local installations which causes issues with layering/elevation in DWC. When you enable selects any drop down field renders the options behind the dialog window. I wanted to check if you had found another symptom of the same issue.

                      Edit: Also that macro path looks wrong to me see https://forum.duet3d.com/post/234267

                      NodeDSF - Native Node-Red integration with Duet boards.
                      BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
                      ReleaseMgr - Duet update info inside DWC.
                      Repo

                      Diamondbackundefined 1 Reply Last reply Reply Quote 0
                      • Nurgelrotundefined
                        Nurgelrot
                        last edited by

                        Backup/restore button greyed out on 0.8.19. I've completely removed the plugin and reinstalled but the backup restore feature is un-selectable on one of my 2 installations... It worked one time to restore and then locked off.

                        MintyTreborundefined 1 Reply Last reply Reply Quote 0
                        • MintyTreborundefined
                          MintyTrebor @Nurgelrot
                          last edited by MintyTrebor

                          @nurgelrot I'll have to do some tests, the button should only disable if the printer is busy (eg printing), or you are in layout or custom panel edit mode.

                          NodeDSF - Native Node-Red integration with Duet boards.
                          BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
                          ReleaseMgr - Duet update info inside DWC.
                          Repo

                          Nurgelrotundefined 1 Reply Last reply Reply Quote 0
                          • Diamondbackundefined
                            Diamondback @MintyTrebor
                            last edited by

                            @mintytrebor Interesting, changing it to a gcode rather than macro makes it mostly work. It still doesn't show up in the footer bar, but it does actually execute the gcode.

                            However, with macros still no luck in custom panels. (there is also nothing in the logs)

                            The macro path is fine, mine do not have extensions. The button without custom panel that works, also has no extension in the path and works just fine. I also tried that very macro path in the custom panel button to no avail.

                            This is the working button:
                            2021-06-19_21-51-45.png

                            MintyTreborundefined 1 Reply Last reply Reply Quote 0
                            • MintyTreborundefined
                              MintyTrebor @Diamondback
                              last edited by

                              @diamondback Thanks for the update. I will see if I can re-create the issue tomorrow.

                              When I mentioned the Macro path, I was more concerned with the first '/' in your path. The default system Macro path is read from memory & should end with '/' (from memory - it was a while ago now 😊 ) - which means the combined path in your case would be '/default/Macro/Path//your/Macro/Path/macro'. The double '//' is what was concerning me. I am pleasantly surprised it works...

                              NodeDSF - Native Node-Red integration with Duet boards.
                              BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
                              ReleaseMgr - Duet update info inside DWC.
                              Repo

                              1 Reply Last reply Reply Quote 0
                              • Diamondbackundefined
                                Diamondback
                                last edited by

                                @mintytrebor Oh, I see, I was just assuming it uses the same syntax as M98 🙂

                                1 Reply Last reply Reply Quote 0
                                • Nurgelrotundefined
                                  Nurgelrot @MintyTrebor
                                  last edited by Nurgelrot

                                  @mintytrebor Something was off with my SBC on that host/printer got some permission errors when updating so I just redid the pi and the problem is gone. Prob not related to your plugin at all but thanks for taking a look.

                                  MintyTreborundefined 1 Reply Last reply Reply Quote 0
                                  • Diamondbackundefined
                                    Diamondback
                                    last edited by Diamondback

                                    So for now I just switched to using the gcode command and calling my macros with M98, this works fine and is a usable workaround.
                                    Please let me know if I can be of any further help in debugging this issue 🙂

                                    A couple more things I noticed:

                                    • On my 7" iPad (where the sidebar collapses and needs to be shown via the hamburger menu), the custom panels render on top of the DWC sidebar when it's expanded
                                    • During design time, button icons do not update, only in the "use" mode they show the correct icons
                                    • Empty tooltips still "show", as in it displays an empty tooltip, maybe this can be omitted
                                    • Would be cool to include a link to the material design icon database so people can more easily see which icons exist (stretch goal could be a direct icon browser of course)
                                    • My OCD dislikes that "BtnCmd" is the only abreviation in the sidebar... 😄 Maybe give it a proper name 🙂
                                    • Being able to reorder existing tabs would be really welcome

                                    I'm really loving this, it makes DWC a TON more usable!

                                    1 Reply Last reply Reply Quote 0
                                    • MintyTreborundefined
                                      MintyTrebor @Nurgelrot
                                      last edited by MintyTrebor

                                      @nurgelrot Glad you have it working. 😃
                                      @Diamondback

                                      • Icons change to cogs in layout/create mode by design (its a legacy decision from the first iterations of the plugin). I'll add it to the wish list.

                                      • Empty tool tips - agreed. I'll see if the framework allows me to make them conditional based on content.

                                      • There is a link to the material design icons website in the Info panel of the plugin.

                                      • Reordering Tabs - I looked at this before - believe it or not, its not as simple as it sounds😩 . I'll add to the wish list

                                      • Its called BtnCmd because its the smallest version of "Button Command" that did not get truncated by different screen sizes. It bugged me that it was inconsistent depending on the monitor and window size.

                                      • I'll look into the Tablet display issue. But if the DWC menu has not been coded to respect elevation - it may be a limitation I have no control over.

                                      NodeDSF - Native Node-Red integration with Duet boards.
                                      BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
                                      ReleaseMgr - Duet update info inside DWC.
                                      Repo

                                      Diamondbackundefined 1 Reply Last reply Reply Quote 1
                                      • Diamondbackundefined
                                        Diamondback @MintyTrebor
                                        last edited by

                                        @mintytrebor Thanks for the insights 🙂

                                        • Icons: The reason I mentioned this is that I struggled to see what exact syntax the icon reference was using (the help says mdi-#, making me think it possibly wants a number there) and since the default cog icon didn't update in design mode (but everything else did), I was thinking that I did something wrong.
                                        • Reordering: No worries, I pay my bills by being a software engineer, so I have no troubles believing you 😄
                                        • DWC/Tablet: Here's an image:
                                          IMG_0001.PNG

                                        Thanks a lot for caring! 🙂

                                        MintyTreborundefined 1 Reply Last reply Reply Quote 0
                                        • MintyTreborundefined
                                          MintyTrebor @Diamondback
                                          last edited by

                                          BtnCmd Version 0.8.20 (Alpha) has been released here.

                                          Changes:
                                          -Icons can now be viewed in settings dialogs
                                          -When viewing on mobile/tablet devices layouts will no longer support user defined layers.

                                          Bug Fixes

                                          -Fixed Macros not working in custom panels
                                          -Fixed Action text not showing for buttons in custom panels
                                          -Mitigated issue of DWC menu rendering below BtnCmd layout items.
                                          -Stopped empty hover text box from appearing when no Hover Text has been specified.

                                          NodeDSF - Native Node-Red integration with Duet boards.
                                          BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
                                          ReleaseMgr - Duet update info inside DWC.
                                          Repo

                                          cosmowaveundefined 1 Reply Last reply Reply Quote 2
                                          • Diamondbackundefined
                                            Diamondback
                                            last edited by

                                            @mintytrebor Very nice release! Did not find anything else so far, all my reported issues are fixed. 🙂

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