I can't seem to figure out what is wrong here:
module rotate_item(a=[0,0,0]) {
rotate(a) children();
}
module rotate_around(n=5,t=[0,0,0]) {
for (i = [0:n]) {
rotate([0,0,i360/n])
translate(t)
rotate_item([0,0,i360]) chldren();
}
}
rotate_around(n=7, t=[25/2,0,0]) cube([10,5,2]);
If I do the same thing but not using children()
It works.
Can someone tell me what I am doing wrong?
Thanks,
Extra Ham Operator: K7AZJ
Registered Linux User: 275424
Raspberry Pi and Openscad developer
The most exciting phrase to hear in science - the one that heralds new
discoveries - is not "Eureka!" but "That's funny...".- Isaac. Asimov
Seems to work fine after fixing the typo chldren() -> children().
ciao,
Torsten.
thanks, Torsten.
I feel stupid ... you don't know HOW LONG I stared at that!
Ha!
Jerry
--
Extra Ham Operator: K7AZJ
Registered Linux User: 275424
Raspberry Pi and Openscad developer
The most exciting phrase to hear in science - the one that heralds new
discoveries - is not "Eureka!" but "That's funny...".- Isaac. Asimov
On Sat, Apr 8, 2017 at 3:35 PM, Torsten Paul Torsten.Paul@gmx.de wrote:
Seems to work fine after fixing the typo chldren() -> children().
ciao,
Torsten.
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Happens to the best of us... [schadenfreude]
https://makebitcoingreatagain.wordpress.com/2017/02/18/is-the-zcoin-bug-in-checktransaction/
Admin - PM me if you need anything, or if I've done something stupid...
Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.
View this message in context: http://forum.openscad.org/modularization-of-common-rotatation-tp21130p21139.html
Sent from the OpenSCAD mailing list archive at Nabble.com.