stephancasas / thingiverse-stl-downloader

Skip the ads on Thingiverse, and get straight to the good stuff.
18 stars 2 forks source link

Support download of other formats than .stl #2

Open GoTVm opened 2 years ago

GoTVm commented 2 years ago

As the title says, it would be useful if the extension allowed you to also download .scad, .f3d, .3mf and other common formats that people might have uploaded.

stephancasas commented 2 years ago

Hello, and thank you for the suggestion.

The original intention was to include all files, but I found that non-STL files did not resolve in the same way that STL files did. In the snippet below, you can actually see where all files are included, but are filtered-out to prevent sending the user to a 404 error:

https://github.com/stephancasas/thingiverse-stl-downloader/blob/c63045f67ed45b56e7cd519820c5523e956adeb1/src/popup.js#L22-L24

If I get some time, I'd like to do a little more digging, and enable the downloading of these files, so I'll keep the issue open, and try to figure out something this weekend.

Thanks!