How to install multiple macros
-
I have downloaded @Phaedrux 's tuning macros and would like to put them on my duet. What is the easiest way to do that? I'm running a Duet 3 in SBC mode. I'm using a windows machine to access DWC, but when I try to upload macros, it only seems to let me do one at a time, and I have to manually add the individual directories too. Is there an easier way using DWC? Or some other method?
Thanks! - and thanks for the awesome tuning macros, Phaedrux!
-
@techbutterfly
If you enable FTP om your Duet, then you can use an FTP client to transfer files and directories to/from you PC.
It can be a bit tricky getting it to work 100% reliably.
I found I had to set the FTP client to only allow one concurrent session and to use slow transfer speeds.
It still works quickly enough, it's just the clients are designed with large transfers to/from "proper" FTP servers in mind. -
@techbutterfly you can upload the whole zip file to DWC and it will extract it all.
-
@engikeneer Ah, perfect! Thanks so much!
-
@engikeneer Bummer - it did unzip the files and started uploading. There are almost 1900 files. It did a bunch of them, but eventually crashed with an out of memory error. Any tips on how to deal with that?
-
For anyone wondering how I managed to get all the files uploaded, I unzipped the big tuning file, and then made smaller zipped files from the subdirectories. I had to go two levels down for the Acceleration tuning, as it had too many files. I had to zip up E Accel, X Accel, Y Accel, etc. separately. Got them all loaded finally.
-
In this case with so many files it's likely going to be faster and easier to just pop the SD card into your PC and transfer them that way.
With conditional gcode now, it would probably be possible to replace the huge number of files with a script.