After we had been using OpenSCAD for months and learnt its limitations we decided we should write something which helps creating complex models. Our obvious choice was Java, because both of us are expert Java developers and the cross-platform support for Java is ideal to generate code for the equally cross-platform OpenSCAD.

This led to the creation of JavaSCAD, a simple framework in Java. The basic concept is to represent the OpenSCAD primitive objects with a Java objects and build more complex ones from them. There is still ongoing development around JavaSCAD - for one thing it should be improved and addded more functionality and the other part is to include the OpenSCAD's 2D capabilities (the 3D features are already implemented).

You can download the pre-compiled distribution package from here, the JavaDoc API is available from here and is also included in the package. You can download a simple tutorial - which is a parameterized Lego® brick creator - from here.

The easiest way to use this framework is to use Maven and add the following dependency to your project:

<dependency> <groupId>eu.printingin3d.javascad</groupId> <artifactId>javascad</artifactId> <version>0.9.2.2</version> </dependency>

You can find the source code on GitHub. The library is under the GNU GPL licence v2. If you want to use the library in a commercial product contact us and we will find a solution.

If you have any comments, suggestions, improvements or questions regarding JavaSCAD feel free to contact us - especially if you have experience to compile or use it on other operating systems than Windows®.