|  |  | "galenwolfe" <gal### [at] yahoo com> wrote:
> I forgot to add:
>
> how do I find the new circumference created by the initial row of threads? Thus
> allowing me to continue the thread 'weaving' d # of times?
I'm not going to answer your questions directly (yet), but here is the 'motor'
behind many radial operations in programming:
#declare Rot = 30; // degrees
#declare Rad = 1; // radius
// point of rotation 'Rot' with radius 'Rad' along the x-y plane
#declare RotatedPt =
  Rad*<
   sin(pi*2/360*Rot),
   cos(pi*2/360*Rot),
   0
  >;
Or, you could do it this way:
#declare RotatedPt = vrotate(y*Rad, -z*Rot);
Connecting two points amounts to just making two different points in this
manner!
Does this help?
Sam Post a reply to this message
 |  |