TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Jürg Menzi on January 25, 2006, 12:07:25 PM

Title: Math blackout
Post by: Jürg Menzi on January 25, 2006, 12:07:25 PM
Hi

Seems that I've a hole in my head...
I'm searching the formula (Lisp) to calculate the end tangent of an arc:
Given:
start tangent, arc length and radius

(http://www.theswamp.org/screens/JuergMenzi/Azimut.jpg)

?... :ugly:
Title: Re: Math blackout
Post by: paulmcz on January 25, 2006, 01:29:27 PM
if
start tangent = st
arc length = l
arc radius - r

isn't it :

(- st (/ l r))  ?
Title: Re: Math blackout
Post by: Kerry on January 25, 2006, 04:49:31 PM
if
start tangent = st
arc length = l
arc radius - r

isn't it :

(- st (/ l r))  ?

Yes, In Radians
Title: Re: Math blackout
Post by: Jürg Menzi on January 26, 2006, 06:49:50 AM
You've saved my day... thanks guys!  :-)
Title: Re: Math blackout
Post by: CAB on January 26, 2006, 09:38:41 AM
I could have sworn that Luis had posted in this thread.
Was I seeing things? :-o I'm still fighting the flu so I may have been hallucinating.

I was coming back to check out the link when I had some time
and poof, like magic it's gone.  :-(
Title: Re: Math blackout
Post by: Jürg Menzi on January 26, 2006, 09:53:48 AM
You're right CAB, there was a post from Luis...
Title: Re: Math blackout
Post by: LE on January 26, 2006, 10:00:07 AM
Yes... and I removed... because I did not provide the answer.... and it was just occupying space....

 :-D

Sorry...
Title: Re: Math blackout
Post by: t-bear on January 26, 2006, 02:17:04 PM
Luis....
Consider this: although your post did not supply the answer to the particular problem, it migh just be the solution to another problem that another Swamper has been beating his/her head against the wall to solve.  Don't be afraid to leave "wrong answers" here....in the long run, it may very well be the "right answer" for someone else.

Hope you understand that I'm only trying to help...   :wink: ^-^