OpenJSCAD.org
Version 0.010 (ALPHA)
OpenJSCAD.org is a more up-to-date OpenJsCAD frontend where you can edit .jscad files either locally or online via JS editor (built-in). A few functions are available to make the transition from OpenSCAD to OpenJSCAD easier (OpenSCAD.jscad built-in), as well CLI (command-line interface) for server-side computations with NodeJS.
Installation
Immediate Use: No installation, go to OpenJSCAD.org
Local Web Use:
% git clone https://github.com/Spiritdude/OpenJSCAD.org % cd OpenJSCAD.org % make install
and then access the files via local web-site and your web-browser.
Local CLI Use:
For CLI (command-line interface) rendering install NodeJS as well, e.g. apt-get install nodejs and then test it:
% cd examples/ % openjscad example005.jscad # -- creates example005.stl as default % openjscad example001.jscad -o test.stl % openjscad example001.scad -o example001scad.jscad # -- convert .scad into .jscad % openjscad frog.stl -o test.jscad # -- convert .stl into .jscad
Note: on some systems the NodeJS executable is node or nodejs (default), edit openjscad first line to reflect this.
History
- 2013/03/22: 0.010: leave .scad file intact, and translate on-the-fly
- 2013/03/20: 0.009: OpenSCAD .scad syntax support included via openscad-openjscad-translator module, on web and cli; and experimental .stl import support (binary & ascii)
- 2013/03/15: 0.008: circle(), square(), polygon() partially and linear_extrude() implemented (openscad-like)
- 2013/03/14: 0.007: integrating jQuery for new features; draggable hint window
- 2013/03/12: 0.006: included examples available in the web-frontend direct
- 2013/03/12: 0.005: supporting webgui parameters as of original OpenJsCad (see examples/example030.jscad)
- 2013/03/11: 0.004: openscad.js: many improvements, more OpenSCAD-like functions
- 2013/03/10: 0.003: solidify the functionality (few bug fixes)
- 2013/03/10: 0.001: initial version
Todo
- 3d primitive: torus()
-
OpenSCAD .scad support for both Web-GUI and CLI(done) - include() for Web-GUI and CLI to include libraries and modules
- save from built-in editor to local
-
complete 2D primitives and transformations(done) - implementation of
linear_extrude()(done), rotate_extrude() (parameter compatible to OpenSCAD or very close so) - example of platonic solids (in progress, requires include())
- simple 2D/3D text
- 3d operation: hull()
- processing/progress bar (0..100%), perhaps even visual progress seen in the model direct
-
STL importer(done) & AMF importer / exporter - integration into RepRap Cloud as first stage of the workflow
Documentation
Screenshots
Simple JSCAD example (example000.jscad):
More sophisticated JSCAD example, fully object-oriented (OO) programmed with interactive parameters (example031.jscad):
See Also
- OpenJsCAD, inspiration of this project and the following below
- OpenSCAD.net, another place of inspiration
- CoffeeSCad, JavaScript simplified (no more {}), very active development
- stl2pov tool to convert .stl to .pov, and then render via PovRay.org
That's all for now,
Rene K. Mueller
initial version 2013/03/10, updated 2013/03/21