I think I see the problem here. The code
#declare V = 0.1;
#declare Myfunction = function (V) {V*2}
sphere {x, V}
is internally transformed into something like
#declare Myfunction = function (0.1) {0.1*2}
sphere {x, 0.1}
But why can't the parser transform it into something like this instead?
#declare Myfunction = function (Myfunction_V) {Myfunction_V*2}
sphere {x, 0.1}
Post a reply to this message
|