Grasshopper

algorithmic modeling for Rhino

Hi!

 

I'm new at this and i was wondering if there's a way to give a certain curvature to a line on a specific point. Lets say, if i divide my line on 3 points, i want that on each point the line turns on a different direction...is it possible?

Or what is the best way to do that with a different type of curve?

 

THANKS!

Views: 1507

Replies to This Discussion

We don't have an interpolated curve type which accepts a direction vector at each interpolation point (sure sounds marginally useful, I'll see if we can add one). You'll need to use the Bezier curve, which allows you to specify a bezier span with two end-points and tangents at both endpoints. Then you'll need to string a sequence of these spans together to form the complete curve and finally join them all up.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Thank you very much!

It worked, but i found it a little difficult to specify an angle to the "Bezier" so i found another way of doing it by dividing a line that i rotated and starting a new one on a specific point of the other...its rather simple but i took me a long time to figure that out! =P

I have another question though...do you know how can i create a loop??....Im trying with a dispatch but im having a little trouble on copy-pasting the same condition if true...so, is there a way to make it simpler?

 

Thank you! =)

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