Grasshopper

algorithmic modeling for Rhino

Assessing Curves: Curvature (and Other Related Components)

I'm trying to assess a closed curve, and I'm running into issues.

I would like to move the curve in the Z direction a defined amount depending on the degree of the bend (tangent). From what I understand, the Curvature Component can help with this, but I'm not entirely sure. I may be going about it the wrong way.

Attached are screenshots of the definition and the Rhino window.

Thoughts on how to go about this? Any and all comments are appreciated.

Many thanks.

/SPM

Views: 975

Attachments:

Replies to This Discussion

You may want to add a more advanced mapping from curvature to elevation than my *5 approach. I sort of suspect you're after a non-linear mapping. You'll need to insert this between the [Vector Length] component and the [Unit Z] component. It could be a GraphMapper, or an expression or....

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Attachments:

Thanks for your reply and definition, David. It makes sense, and adding the [GraphMapper] works out nicely.

Playing off what you wrote above, I'm wondering if  the [Equality] component could be used to create an applicable expression. Something along the lines of: "the more the curve bends away from the neutral axis (a curve attractor/repulse-r maybe), the greater the 'banking' of the curve." Could this be created with the [Tangent] component?

///SM

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