Grasshopper

algorithmic modeling for Rhino

Hi everyone,
How would you guys find a perpendicular line to a curve at a specific point?
thanks
arthur

Views: 557

Replies to This Discussion

Well, there are infinite lines perpendicular to a curve at any single point. However, there's one that I would consider "special", and that would be the one from the point on the curve to the center of the osculating circle that describes the curvature at that point.

For any infinite line, I'd take the tangent vector, use the PlaneFromNormal component, the pick any point on that plane, do a Change Basis transformation, and create a line.

For the "special" line, I'd use the curvature component and use the curvature vector to make a line.

See attached
Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service