[OpenSCAD] module as an argument in a module?

Jerry Davis jdawgaz at gmail.com
Wed Oct 19 13:25:15 EDT 2016


Is there a way to do this?

module doit(x) { x() }

module a() { something }
module b() { something else }

doit(a());
doit(b());

--
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscad.org/pipermail/discuss_lists.openscad.org/attachments/20161019/dbff3a97/attachment-0002.html>


More information about the Discuss mailing list