|
|
Oops =p
the macro:)
#macro Rec (current) //define macro
sphere { <0,0,0>, 0.75 pigment {rgb
0.5} //macro component
translate <0,current*0.125,0>
//squash by 0.125
rotate 55*current*z //wrap the
compact line into spiral
}
#if(current < Max-1) //if current
< max recursion
Rec(current+1) //recursion and
increment
#end //if
#end //mcro
Ryan Mooney wrote:
> new to macro, having problems... =[
> simple macro to make a spiral out of
> spheres...
> It does not want to go above 98 max.
> recursive level...
> Why... ??
>
> Q?
> How to get the spiral to extend to
> the edge... By means of the macro...
> ??
>
> ------------------------------------
> [Image]
Post a reply to this message
|
|