Skip to content

userhuge/openforge-openscad

 
 

Repository files navigation

OpenSCAD Web GUI

This project uses openscad-wasm under the hood to build an editor for OpenSCAD that is capable of loading .scad files from other servers.

Features

  • It is capable of rendering OpenSCAD scripts
  • You can import scripts by URL
  • There are adapters for Printables and Thingiverse. Those platform do not expose the links to their files in a way the user can copy the URL to the files. Instead this application imports it from the model URL (i.e. https://www.thingiverse.com/thing:1234 or https://www.printables.com/model/123456-model-name)
  • You can import your own libraries or chose from a list of common libraries
  • You can add your own fonts or choose from a list of common fonts
  • You can export your customized model to STL, OFF, AMF, CSG, DXF and SVG

Dev

Download openscad-wasm

cd scripts
./get-openscad.sh

If that fails, you will want to go to https://files.openscad.org/playground/. There should be two versions of openscad-wasm. You want -web not -node.

Once you have that url, you can alter get-openscad.sh to change it and run again.

Start the server in dev mode

git clone https://github.com/seasick/openscad-web-gui
npm i
npm run dev # Run a webserver and rebuild on file changes
# npm run lint
# npm run test

Credit

This app wouldn't be possible without the work of

About

Web GUI for OpenSCAD, using OpenSCAD WASM

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • OpenSCAD 59.2%
  • TypeScript 39.3%
  • JavaScript 1.2%
  • Other 0.3%