[Haskell-cafe] ANN: mecha-0.1.0
Tom Hawkins
tomahawkins at gmail.com
Wed Jun 8 22:36:21 CEST 2011
Mecha [1,2] is a constructive solid geometry (CSG) modeling language
embedded in Haskell.
This release adds OpenSCAD [3] as a backend target. OpenSCAD is a
solid modeling DSL and a viewer. OpenSCAD uses OpenCSG [4] for
rendering, which directly renders CSG objects with OpenGL without the
need for complex mesh generation. (Thanks Corey, for pointing me to
OpenCSG.)
Here is a screenshot of OpenSCAD rendering a Mecha solid:
http://tomahawkins.org/index.html#Mecha
Here is the Mecha source:
https://github.com/tomahawkins/mecha/blob/master/Language/Mecha/Examples/CSG.hs
-Tom
[1] http://hackage.haskell.org/package/mecha
[2] https://github.com/tomahawkins/mecha
[2] http://www.openscad.org/
[3] http://opencsg.org/
More information about the Haskell-Cafe
mailing list