A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/openscad/openscad-playground below:

GitHub - openscad/openscad-playground: OpenSCAD Web Playground

Open the Demo

This is a limited port of OpenSCAD to WebAssembly, using at its core a headless WASM build of OpenSCAD (done by @DSchroer), wrapped in a UI made of pretty PrimeReact components, a React Monaco editor (VS Codesque power!), and an interactive model-viewer renderer.

It defaults to the Manifold backend so it's super fast.

Enjoy!

Licenses: see LICENSES.

Prerequisites:

docker run --privileged --rm tonistiigi/binfmt --install all

Local dev:

make public
npm install
npm start
# http://localhost:4000/

Local prod (test both the different inlining and serving under a prefix):

make public
npm install
npm run start:prod
# http://localhost:3000/dist/

Deployment (edit "homepage" in package.json to match your deployment root!):

make public
npm install
NODE_ENV=production npm run build

rm -fR ../ochafik.github.io/openscad2 && cp -R dist ../ochafik.github.io/openscad2 
# Now commit and push changes, wait for site update and enjoy!
Build your own WASM binary

Makefile fetches a prebuilt OpenSCAD web WASM binary, but you can build your own in a couple of minutes:

Adding OpenSCAD libraries

You'll need to update 3 files (search for BOSL2 for an example):

Send us a PR, then once it's merged request an update to the hosted https://ochafik.com/openscad2 demo.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4