Thomas Lake wrote:
> Hmm sorry I don't understand how can the modulo function help me here?
>
Like this see previous reply to your first post.
#macro R2 (Block,NumBlocks,Angle,Radius)
#local N = 0;
#while (N<NumBlocks)
object {Block R(Radius,Angle*N+Angle/2)translate <0,0,4*mod(N+1,2)>}
#local N = N + 1;
#end
#end
--
Dan Johnson
http://www.geocities.com/zapob
Post a reply to this message
Attachments:
Download 'brickarch2.gif' (6 KB)
Preview of image 'brickarch2.gif'
![brickarch2.gif](/povray.binaries.images/attachment/%3C3B01B909.ED7CDF0A%40hotmail.com%3E/brickarch2.gif?preview=1)
|