[OpenSCAD] recursion crash

Peter Falke stempeldergeschichte at googlemail.com
Thu Apr 2 09:32:36 EDT 2015


What I want is:

mirror(v,keep=true)

But, I may not get it. ;)

I posted it only, because it crashes and I think Kintel tries hard to fix
OpenSCAD crashing at all.

2015-04-02 14:50 GMT+02:00 Martin Herdieckerhoff <
Martin.Herdieckerhoff at mnet-mail.de>:

>  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();
>
>
> _______________________________________________
> OpenSCAD mailing list
> Discuss at lists.openscad.org
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>
>


-- 
stempeldergeschichte at googlemail.com <karsten at rohrbach.de>

P.S. Falls meine E-Mail kürzer ausfällt als Dir angenehm ist:
Ich probiere gerade aus kurze Antworten statt gar keine Antworten zu
schreiben.
Wenn Du gerne mehr lesen möchtest, dann lass es mich bitte wissen.

P.S. In case my e-mail is shorter than you enjoy:
I am currently trying short replies instead of no replies at all.
Please let me know, if you like to read more.

Enjoy!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscad.org/pipermail/discuss_lists.openscad.org/attachments/20150402/475a7e45/attachment-0002.html>


More information about the Discuss mailing list