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/

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to