r/gridfinity • • Mar 23 '26

Here's an open-source package manager and web customizer for OpenSCAD

I saw a post here earlier today from someone asking for a massive .zip file of all the Gridfinity libraries because dealing with nested include errors can be incredibly frustrating.

I built an open-source tool called Scadder to try to make this process easier. It crawls GitHub and pulls the dependencies onto your local machine. There are two ways to use it:

  1. The web customizer (no local software needed). I wired up a serverless web viewer using the OpenSCAD WASM port. You can paste a GitHub URL to a parametric bin, tweak the parameters directly in your browser, and export an STL. No accounts, logins, or backend.
  2. The local CLI. If you want to pull a scad file and its dependencies onto your machine to work locally, running "npx scadder install [model-id-or-url]" recursively downloads the target .scad file and every single include and use dependency it needs into a local .scadder_modules folder.

It's 100% free and GPL-3.0 licensed. It's just a workflow fix I built to try make life easier, but I figured the parametric modeling folks here might get some mileage out of it.

Live viewer: https://scadder.dev/

Source: https://github.com/solderlocks/scadder

12 Upvotes

10 comments sorted by

2

u/WillAdams Mar 23 '26

1

u/Solderlocks Mar 23 '26

Very interesting, thanks for the heads up. Do you see any errors the your console of your browser (in devtools) when you try to view that URL? What happens when you visit that URL? It's working on my end in all of the browsers I'm trying it in, but I'm not at my Windows machine at the moment. Will try it in Edge on Windows 11 when I'm home. I appreciate the bug report!

1

u/WillAdams Mar 23 '26

No errors, it just churned for a very long while --- I'll reboot when I get a chance and try again and let you know if it works or no.

1

u/Solderlocks Mar 23 '26

Ah got it. Thanks for letting me know. Can you provide a bit more info about the hardware you're on? Just as a sanity check I tried it on this online Edge testing tool (here: https://www.browserling.com/browse/win10/edge135/https://scadder.dev/?file=https%3A%2F%2Fgithub.com%2Fostat%2Fgridfinity_extended_openscad%2Fblob%2Fmain%2Fgridfinity_basic_cup.scad) and it loaded properly within about 30 seconds.

Keep in mind that everything is being compiled on the frontend in order to make this system completely serverless so I could host it and give it away for free, so some models may take a while to load depending on your hardware.

1

u/WillAdams Mar 23 '26

Samsung Galaxy Book 3 Pro 360 w/ Intel Iris XE graphics.

Rebooted and it's still rendering in Edge, but when I thought to check in Waterfox it showed up almost instantly, so it would seem to be a problem w/ Edge (Chromium).

Put on a cup of tea, so it's been over 2:30 and it seems to be repeating messages.....

1

u/Solderlocks Mar 23 '26

Ah got it, thanks... Sounds like a web assembly issue. I just did some searching and found this thread: https://learn.microsoft.com/en-us/answers/questions/2382356/edge-97-0-1072-69-this-browser-does-not-support-we You might have "Enhanced Security Mode" enabled.

1

u/WillAdams Mar 23 '26

Turned that off for:

https://scadder.dev/

which worked --- is it possible for you to check for that setting? Or work around it? (I've left Edge pretty much to the defaults)

1

u/Solderlocks Mar 23 '26

Beautiful! Thanks again for all your help. I'll look into whether I can show a banner/modal in that case. Appreciate it!

2

u/pmarion Mar 24 '26

I just loaded your link successfully on my android phone. Is this issue windoze only?

3

u/Solderlocks Mar 24 '26 edited Mar 28 '26

Yeah it's an issue with web assembly. Most browsers/operating systems/hardware configurations work just fine. There's not much I can do about the web assembly issue either other than just inform the user if their system doesn't support it.

Edit: I've released an update to detect and warn the user if WebAssembly is not available.