Difference between revisions of "OpenJSCAD"

From BITPlan Wiki
Jump to navigation Jump to search
Line 6: Line 6:
 
== Dockerized Version ==
 
== Dockerized Version ==
 
see https://github.com/BITPlan/docker-openjscad
 
see https://github.com/BITPlan/docker-openjscad
 +
 +
The dockerized version allows to mount a "workspace" directory that you can use.
 
<source lang='bash'>
 
<source lang='bash'>
docker run --publish=8080:8080 --name openjscad  bitplan/openjscad:latest
+
docker run --publish=8080:8080 --name openjscad  --volume $HOME/openjscad/workspace:/openjscad/packages/web/examples/workspace bitplan/openjscad:latest
 
</source>
 
</source>
  

Revision as of 18:59, 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

Convert from BlocksCAD?