[OpenSCAD] recursion crash

Martin Herdieckerhoff Martin.Herdieckerhoff at mnet-mail.de
Thu Apr 2 08:50:25 EDT 2015


You redefine the predefined module mirror.
What you want is probably this:

    module mirror_duplicate(v){
    children();
    mirror(v) children();
    }

    mirror_duplicate([1,0,0]) cube();


Am 02.04.2015 um 13:41 schrieb Peter Falke:
> This crushes on Win 7 with version 2015.03
>
> module mirror(v){
>     children();
>     mirror(v)children();
> }
>
> mirror([1,0,0])cube();
**
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscad.org/pipermail/discuss_lists.openscad.org/attachments/20150402/b18d9d70/attachment-0002.html>


More information about the Discuss mailing list