Points on a circle primitive


Re: Points on a circle primitive
#3
Not so much clumsy in this case as not quite the right tool for the job. That said I'll be using ytruder for certain Smile

I plan to demonstrate it properly when I get a chance to redo the base of 65188. I'll try to remember to snap the stages. But...

Code:
0 // ang2point.pl -r 120 -t 4 -s 48 0 7.5 11
0 // Calculating 3 points at outer radius 120 on 48 segments
0 // Also calculating inner radius 116
0 // Point  1: 120.000 0 0.000
0 // Point  2: 118.973 0 15.663
0 // Point  3: 117.544 0 22.848
0 // Inner point  1: 116.000 0 0.000
0 // Inner point  2: 115.008 0 15.141
0 // Inner point  3: 113.626 0 22.087


Tim

PS. This one should be very easy to convert to C. But processing arguments is simpler in perl so I chose that option.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Points on a circle primitive - by Tim Gould - 2012-01-08, 21:51
Re: Points on a circle primitive - by Tim Gould - 2012-01-09, 9:22

Forum Jump:


Users browsing this thread: 1 Guest(s)