openscad/openscad — Issue #50: assigned values aren't accessible by child()
Author: brad
Created: 2011-12-28 18:12:34+00:00
State: open

I wrote about this to the mailing list, but noone replied. Maybe it will get more attention here.

I tried doing something like this:

module test() {
assign(variable=1) child();
}

test() cube(variable);

and found that OpenSCAD complained about not knowing what variable is.
Shouldn't variable be known to the child? Otherwise the assign really isn't doing anything.