|
|
The tutorial was writen long ago! I now use trace exclusively.
example:
#declare Norm = <0,0,0>;
#declare Xpos = -4;
#declare Zpos = -4;
#declare C = 0;
#while (Xpos<2)
#while (Zpos<18)
#declare TestPos = <Xpos,0,Zpos>
#declare Inter = trace ( Rocks,TestPos,<0,-10,0>, Norm);
#if (vlength(Norm)!=0)
object{ any object you wish to place}
#end
mAlign(Inter,Inter+Norm)translate y*.000125
}// end object
#declare C=C+1;
#declare Zpos = Zpos + 0.0238;//0.01368;
#end
#declare Zpos = -4;
#declare Xpos = Xpos + 0.0238;//0.01368;
#end
Hope this helps
Mick
Post a reply to this message
|
|