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

    Macro file sorting

    Scheduled Pinned Locked Moved
    Duet Web Control wishlist
    3
    4
    1.0k
    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.
    • mhackneyundefined
      mhackney
      last edited by

      Similar to the gcode file sorting request - the ability to reorder Macro files.

      My 3D Printing blog: http://www.sublimelayers.com
      Coming this summer: "3D Printing Strategies - the art of perfecting your designs and prints"

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

        Macro files are ordered by name. So you can get them in the order you want if you are creative with the names. However, I have previously considered allowing names such as "3#E motors off" where the whole name would be used for sorting but only the text following the # character would be displayed in the Macros list, allowing you to change the order without changing the displayed text.

        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
        • mhackneyundefined
          mhackney
          last edited by

          I like the "3#" solution. For instance, I have controlled LED lights and I have a set of macros in a folder called LEDs:

          Off
          Half On
          On

          I'd like them to appear in this order but currently they are not. This is just a simple example, I use a lot of macros!

          On a related topic - I'd love to be able to have macros on the g-code console and print status displays too. Extra credit if the macro can be scoped to one or multiple of these pages!

          My 3D Printing blog: http://www.sublimelayers.com
          Coming this summer: "3D Printing Strategies - the art of perfecting your designs and prints"

          1 Reply Last reply Reply Quote 0
          • chrishammundefined
            chrishamm administrators
            last edited by

            In fact this is already possible in DWC, I use that for exactly the same purpose. To make sure your macros show up in the desired order, name them like this:

            1_Off
            2_Half On
            3_On

            Obviously this would be easier to do if there was an easy way to rename files. I may have a look at this later today.

            Duet software engineer

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