Calculate Tangent Point

   2164   5   3
User Avatar
Member
679 posts
Joined: Feb. 2017
Offline
Hey Everybody,
I want to build an asset for which I need to calculate the tangent point on a given circle that crosses a given point. I'm pretty close but slightly off. maybe somebody could take a look at my hip file and give me a hint.
thanks in advantage
Cheers
Philipp

Attachments:
TangentPoint.JPG (38.2 KB)
CalculateTangentPoint_v001.hiplc (113.9 KB)

User Avatar
Member
483 posts
Joined: Dec. 2006
Offline
easiest way is to use a curvesect
English is not my native language, sorry in advance for any misunderstanding :-)
User Avatar
Member
475 posts
Joined: July 2005
Offline
Hi

here is a modification of your example.

Attachments:
CalculateTangentPoint_v001_X.hipnc (123.1 KB)

User Avatar
Member
483 posts
Joined: Dec. 2006
Offline
or like this

Aizatulins solutions are much more elegant.
Edited by matthias_k - Feb. 18, 2018 17:59:00

Attachments:
find_point_tangent.hip (160.4 KB)

English is not my native language, sorry in advance for any misunderstanding :-)
User Avatar
Member
679 posts
Joined: Feb. 2017
Offline
Hey Aizatulin and matthias,

thank you so much for your help guys!! both solutions gave me great new insights!

Cheers
Philipp
User Avatar
Member
555 posts
Joined: Feb. 2017
Offline
I'm not a coder so I tend to do thing more visually…here's my attempt…believe it or not, I used a clip !

Attachments:
TangentClip1.jpg (90.4 KB)
vu_TangentClip.hipnc (92.8 KB)

  • Quick Links