
8 Jun
2011
8 Jun
'11
8:36 p.m.
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... -Tom [1] http://hackage.haskell.org/package/mecha [2] https://github.com/tomahawkins/mecha [2] http://www.openscad.org/ [3] http://opencsg.org/