Grasshopper

algorithmic modeling for Rhino

create a curve from point tangent to different curves

Hey

 

I got a contour in 2D and I do need the tangent lines (green and magenta) from a point to this contour curves.

I tried some isovist and shadow defenitions, but i do not get it work.

I have found also one galapagos defenition for one curve and one point, but I am not really familiar with galapagos. Is there a simple way to find this Curves?

Best Regards

 

DeDackel

 

Views: 806

Attachments:

Replies to This Discussion

Here's a way using Hoopsnake, rather than galapagos. Basically it finds the point on the curve that's closest to being the right tangent point, extracts the subcurve around that point, and repeats that process, making the subcurve smaller and smaller, and getting closer and closer to the ideal point. It only finds one point per curve though - I just exploded your base curves to get two tangents per contour. To run, just double-click the hoopsnake component and select "loop."

Attachments:

wow, thats cool!

 

Thank you for showing me Hoopsnake!

 

Best Regards

 

DeDackel

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service