Calculate Tangent Point
2164
5
3
CYTE
Member
679 posts
Joined: Feb. 2017
Offline
Feb. 18, 2018 2:52 p.m.
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)
matthias_k
Member
483 posts
Joined: Dec. 2006
Offline
Feb. 18, 2018 5:17 p.m.
easiest way is to use a curvesect
English is not my native language, sorry in advance for any misunderstanding :-)
matthias_k
Member
483 posts
Joined: Dec. 2006
Offline
Feb. 18, 2018 5:53 p.m.
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 :-)
CYTE
Member
679 posts
Joined: Feb. 2017
Offline
Feb. 19, 2018 3:56 a.m.
Hey Aizatulin and matthias, thank you so much for your help guys!! both solutions gave me great new insights! Cheers Philipp
vusta
Member
555 posts
Joined: Feb. 2017
Offline
Feb. 20, 2018 12:53 a.m.
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)