Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.
2006-09-03 06:19 AM
2006-09-05 03:21 AM
2006-09-05 05:16 AM
RAD=(a^2)/(8*bul)+(bul/2) dy=b-(RAD-bul) alpha=asn(0.5*a/RAD) PUT a/2,-dy PUT -a/2,-dy P=2*ALPHA/res FOR Q=-ALPHA TO ALPHA+0.5*p STEP P PUT RAD*SIN (Q), RAD*COS (Q) NEXT Q ADD2 0,dy POLY2 nsp/2,5, USE(nsp) FOR i= 1 to nsp/2 HOTSPOT2 GET(2) NEXT i DEL 1
2006-09-05 05:57 AM
2006-09-07 06:41 AM
2006-09-07 08:14 AM
Peter wrote:"Use of real type can result in precision problem" Sound familiar!
There is one thing I don't understand.
Your code reads, FOR Q=-ALPHA TO ALPHA+0.5*p STEP P
Why do you add 0.5*p to the final interval ?
2006-09-07 05:34 PM