Difference between revisions of "OpenJSCAD"

From BITPlan Wiki
Jump to navigation Jump to search
Line 11: Line 11:
 
docker run --publish=8080:8080 --name openjscad  --volume $HOME/openjscad/workspace:/openjscad/packages/web/examples/workspace bitplan/openjscad:latest
 
docker run --publish=8080:8080 --name openjscad  --volume $HOME/openjscad/workspace:/openjscad/packages/web/examples/workspace bitplan/openjscad:latest
 
</source>
 
</source>
 +
You should then be able to run e.g.
 +
http://localhost:8080/index.html#examples/globe.jscad
  
 
== Convert from BlocksCAD? ==
 
== Convert from BlocksCAD? ==

Revision as of 18:04, 16 March 2019

Install

sudo npm install -g @jscad/openjscad

Dockerized Version

see https://github.com/BITPlan/docker-openjscad

The dockerized version allows to mount a "workspace" directory that you can use.

docker run --publish=8080:8080 --name openjscad  --volume $HOME/openjscad/workspace:/openjscad/packages/web/examples/workspace bitplan/openjscad:latest

You should then be able to run e.g. http://localhost:8080/index.html#examples/globe.jscad

Convert from BlocksCAD?