[OpenSCAD] Haskell OpenScad library updated

Mike Meyer mwm at mired.org
Thu Apr 16 20:18:24 EDT 2015


To those using this, I've just uploaded 0.2.1.1.

This make the Model data types instances of Monoid, so you can use <> to
combine Model's. It also adds the '#' postfix apply function, so you can
write modifiers (translate, color, etc.) as postfix instead of prefix. So
instead of

union [translate (0, depth, 0) $ box width depth height,
          box wall depth height]

you can write

box width depth height # translate (0, depth, 0)  <> box wall depth height
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscad.org/pipermail/discuss_lists.openscad.org/attachments/20150416/2609ebbd/attachment-0002.html>


More information about the Discuss mailing list