Is this on hackage yet, or should we just consult the mecha link on your home page?<br><br><div class="gmail_quote">On Wed, Oct 21, 2009 at 11:42 PM, Tom Hawkins <span dir="ltr">&lt;<a href="mailto:tomahawkins@gmail.com">tomahawkins@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">A few months ago, I started toying with a few alternative pump designs<br>
to power our hydraulic hybrids.  After not being able to secure a ProE<br>
license, I searched for a free solid modeler to sketch out a few<br>
ideas.  To my surprise, their are practically no open source 3D CAD<br>
packages available.  So I created Mecha, DSL for constructive solid<br>
modeling.<br>
<br>
Mecha&#39;s geometry is based on octrees, which makes it easy to perform<br>
set operations on solids, as well as volumetric calculations such as<br>
center-of-mass, moments of inertia, and of course, total volume.<br>
Drawbacks of octrees include consuming a lot of memory and the loss of<br>
some surface information.  To address the later, Mecha carries forward<br>
surface points and normals to the leaf nodes of the octree to assist<br>
in rendering, such that solids don&#39;t look like they&#39;re made from a<br>
bunch of LEGOS.<br>
<br>
Note this is a very early release.  The only thing Mecha can do at the<br>
moment is draw a pretty blue ball -- well it can also zoom and pan on<br>
a pretty blue ball (mouse wheel).  Establishing a primitive API and<br>
building a primitive library must be finished before Mecha an do<br>
anything useful.<br>
<br>
Any comments and suggestions are welcome.<br>
<br>
<a href="http://tomahawkins.org/" target="_blank">http://tomahawkins.org/</a><br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</blockquote></div><br>