Grasshopper

algorithmic modeling for Rhino

I would like to blend two curves, im guessing the Bezier span should do the trick but cant get the tangents to work properly.

Any sugestions please? Thanks

Views: 2259

Replies to This Discussion

Hi Theunis,

The tangents you get using the Evaluate Curve component are unified, so you can hook up some sliders to control their multiplication, like this:


Or you can use the curvature value at the endpoints of the base curves:


which gives quite nice results.

See attached file for both definitions.

JJ
Attachments:
Thanks a lot for the help, whats the difference between the first and second definition though? Will the second definition give an average for each tangent, would it be the same effect in the first definition if I connect one slider to both Vector factors?
In the first one you can adjust the magnitude of the tangent vectors manualy.
The second one uses the curvature radius (for no good reason whatsoever) as the vector multiplier, so it's fixed for two referenced curves.

No, it wouldn't be the same if you connected one slider - try it and find out :)

Anyway, those are just examples and you can read more about different blend types in the main rhino help file (search for "continuity")

I'm not sure if it's possible to define G2-G4 continuity in GH though.
Thanks for your help, I appreciate it.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service