Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Looking for Java-based alternative to OpenSCAD and PLasM [closed]

I like OpenSCAD for teaching the rules of semicolons and curly braces. Within 20 minutes, students can write programs, learn about transformations, and see the results of misplaced semicolons and curly braces without worrying about other semantics. In other words, OpenSCAD is a great tool to teach the fundamentals of the C-family syntax rules to beginners.

But OpenSCAD lacks expressive power. There is no storage of shapes as variables -- everything has to be written as a function. I have found PLasM, based on Python to be much more powerful since python itself can be used in the script.

Does anyone know of a Java-based language, essentially where the underlying CGAL is embedded in Java functions? That would be ideal since I am using Processing and Arduino to teach programming.

like image 274
Dov Avatar asked Dec 03 '25 22:12

Dov


2 Answers

SolidPython? Not Java based, but might just be what you are looking for?

It's a python frontend for solid modelling that compiles to OpenSCAD:

https://github.com/SolidCode/SolidPython

like image 52
Tom Van den Bon Avatar answered Dec 06 '25 10:12

Tom Van den Bon


What about this - https://code.google.com/p/cgal-bindings/? It is a set of SWIG bindings for CGAL that supports Python and Java.

like image 21
rlms Avatar answered Dec 06 '25 11:12

rlms