Grasshopper

algorithmic modeling for Rhino

Hi,

I tried to get the radius of curvature at specific point on a curve, but all I get with CurvatureAt function is the curvature vector. Is there any way to get the radius of the curvature using vb.net component? I know that you can get it with Grasshopper's Curvature component  but couldn't find the reference how to get  it using script.

Thank you



Views: 683

Replies to This Discussion

The curvature vector and the radius of curvature are slightly different. Simply invert the length of the curvature vector to get the radius of curvature.

A = 1/(myCurve.CurvatureAt(myParam).Length)

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