James Smith
James Smith
Interesting, I hadn't seen the "built-in downloader" thing. I'll take a closer look at what PrusaSlicer and Printables does - maybe there's a custom URL handler. But yeah, in general,...
Just noticed that orcaslicer has code in it that has shown me the required URL structure: `orcaslicer://open?file=` then the encoded URL to download. `bambustudio`, `prusaslicer`, and `cura` are done the...
Thanks! That's really useful investigation, much appreciated!
Hilariously, from the code, it looks like if you include "amazonaws.com" as a meaningless anchor or query argument in your URL, Bambu would go ahead and open it. Yay, SECURITY!
Just found https://github.com/shrinerb/shrine/pull/708 which looks like it adds the expiring-URL feature we need in order to do this. Excellent!
Added signed URLs in #3778, so we can do this now!
OK, Orca and Cura links are now available on the model file detail page, in a dropdown by the button. Next I'll reorganise the download buttons on the listing page...
Released now. New tickets opened for Prusa and Bambu support, so I can close this one.
Good idea!
This needs an extra capability adding into federails - currently the profile method is expected to the name of a Rails router method, whereas this needs to be either a...