Difference between revisions of "OpenJSCAD"

From BITPlan Wiki
Jump to navigation Jump to search
Line 17: Line 17:
 
</source>
 
</source>
 
You should then be able to run e.g.
 
You should then be able to run e.g.
http://localhost:8080/index.html#examples/globe.jscad
+
* http://localhost:8080/index.html#examples/globe.jscad
 +
* http://localhost:8080/index.html#examples/workspace/RCHolder
 +
and the RCHolder folder might be from your own workspace. To fill the RCHolder folder with content you can use the files from:
 +
* https://github.com/BITPlan/docker-openjscad/tree/master/workspace
  
 
== Convert from BlocksCAD? ==
 
== Convert from BlocksCAD? ==

Revision as of 08:57, 17 March 2019

Links

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.

and the RCHolder folder might be from your own workspace. To fill the RCHolder folder with content you can use the files from:

Convert from BlocksCAD?