Openscad.cloud for browser based OpenSCAD

Wanted to share some thing fun we have been working on that is 3d printing related.

OpenSCAD.cloud is now up and running using a WASM compiled version of real openSCAD that runs in the browser.

You can take it for a spin here https://openSCAD.cloud

HACKADAY write up The Noble Effort To Put OpenSCAD In The Browser | Hackaday

Video showing it off OpenSCAD.cloud in browser with multi file includes - YouTube

Link to demo model
https://openscad.cloud/openscad/?&sharedFileLink=W3sibmFtZSI6Im1haW4uc2NhZCIsInR4dCI6Ii8vIEdlbmVyYXRlZCBieSBpbmtzY2FwZSBOb25lICsgaW5rc2NhcGUtcGF0aHMyb3BlbnNjYWQgMC4yN1xuLy8gV2VkIE1hciAgMiAyMDo0NToxNCAyMDIyIGZyb20gXCJjaWItaGFja2FkYXkuc3ZnXCJcblxuLy8gTW9kdWxlIG5hbWVzIGFyZSBvZiB0aGUgZm9ybSBwb2x5XzxpbmtzY2FwZS1wYXRoLWlkPigpLiAgQXMgYSByZXN1bHQsXG4vLyB5b3UgY2FuIGFzc29jaWF0ZSBhIHBvbHlnb24gaW4gdGhpcyBPcGVuU0NBRCBwcm9ncmFtIHdpdGggdGhlIGNvcnJlc3BvbmRpbmdcbi8vIFNWRyBlbGVtZW50IGluIHRoZSBJbmtzY2FwZSBkb2N1bWVudCBieSBsb29raW5nIGZvciB0aGUgWE1MIGVsZW1lbnQgd2l0aFxuLy8gdGhlIGF0dHJpYnV0ZSBpZD1cImlua3NjYXBlLXBhdGgtaWRcIi5cblxuLy8gZnVkZ2UgdmFsdWUgaXMgdXNlZCB0byBlbnN1cmUgdGhhdCBzdWJ0cmFjdGVkIHNvbGlkcyBhcmUgYSB0YWQgdGFsbGVyXG4vLyBpbiB0aGUgeiBkaW1lbnNpb24gdGhhbiB0aGUgcG9seWdvbiBiZWluZyBzdWJ0cmFjdGVkIGZyb20uICBUaGlzIGhlbHBzXG4vLyBrZWVwIHRoZSByZXN1bHRpbmcgLnN0bCBmaWxlIG1hbmlmb2xkLlxuZnVkZ2UgPSAwLjE7XG51c2V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Bjb252ZXhpdHk9MTAsIHNjYWxlPTAuMDEqcylcbiAgICAgIHRyYW5zbGF0ZSAoLXBhdGg2M18yX2NlbnRlcikgcG9seWdvbihwYXRoNjNfMl9wb2ludHMpO1xuICAgIHRyYW5zbGF0ZSAocGF0aDYzXzNfY2VudGVyKSBsaW5lYXJfZXh0cnVkZShoZWlnaHQ9aCwgY29udmV4aXR5PTEwLCBzY2FsZT0wLjAxKnMpXG4gICAgICB0cmFuc2xhdGUgKC1wYXRoNjNfM19jZW50ZXIpIHBvbHlnb24ocGF0aDYzXzNfcG9pbnRzKTtcbiAgICB0cmFuc2xhdGUgKHBhdGg2M180X2NlbnRlcikgbGluZWFyX2V4dHJ1ZGUoaGVpZ2h0PWgsIGNvbnZleGl0eT0xMCwgc2NhbGU9MC4wMSpzKVxuICAgICAgdHJhbnNsYXRlICgtcGF0aDYzXzRfY2VudGVyKSBwb2x5Z29uKHBhdGg2M180X3BvaW50cywgcGF0aDYzXzRfcGF0aHMpO1xuICB9XG59XG5cbm1vZHVsZSB0ZXN0KGgpXG57XG4gIGRpZmZlcmVuY2UoKVxuICB7XG4gICAgdW5pb24oKVxuICAgIHtcbiAgICAgIHRyYW5zbGF0ZSAoWzAsMCwwXSkgcG9seV9wYXRoNjMoaCwgbWluX2xpbmVfbW0oMC4wMzgxNDY5NzI2NTYyNSksIDEwMC4wKTtcbiAgICB9XG4gICAgdW5pb24oKVxuICAgIHtcbiAgICB9XG4gIH1cbn1cblxudGVzdCh6c2l6ZSk7XG4ifV0=

5 Likes

for complicated constructions I like to use Incscape SVG for the basic model. And then I work further in OpenScad... What I want to say: This is a wonderful project but importing of files should be possible.
Regards
Karl

Hello,
Thanks for taking a look. I do plan to impliment the capability of adding files from the desktop in to a project.

In the mean time for files that are just plain text like SVG you can create the file in the editor and paste the contents in to it.
Here is an example of extruding an SVG shape on OpenSCAD.cloud
You can see in the file list drop down that the "star.svg" file is there and can be replaced with any other SVG that normally works with OpenSCAD.
Here is a YouTube video showing how this example was created.


So this comes up when I try to visit the "You can take it for a spin here" link.

You may want to talk w/them about this if you aren't phishing for ethereum.

Edit: Here's the link to file an issue w/them.

I guess you need to have the MetaMask plugin installed to see this warning message?

I submitted an issue already. No resolution yet.

2 Likes

That's correct sir.

1 Like

Sheesh, almost a week and a half now huh? Maybe we can signal boost here. Side note, I completely agree that MM is cool. My initials are also MM :slight_smile:

1 Like

So the problem with MetaMask seems to have been resolved.
Added a new button to bring up a product configurator that should work like the one built in to the desktop OpenSCAD application.