Grasshopper

algorithmic modeling for Rhino

Hi, 

I'm trying to discover the angle of a curve at any given intersection point. I have drawn a sine curve, which has then been intersected using a series of lines at a given spacing of x=1. This generates 10 intersect points on the sine curve, each with a distance of x=1 apart. 

I want to find the angle parameter of the curve at each of these points, so that they can be used to create further points later on in the definition. I have tried using the evaluate curve component but cannot work out how to use the 't' input correctly in order to return any angles other than 0.

Definition so far attached, any help would be greatly appreciated. Thanks, Tom 

Views: 2346

Attachments:

Replies to This Discussion

Like this?

Attachments:

Add some "visual" proof, he he

Attachments:

That's great thank you. It certainly answers my question above, but throws a spanner in the works for the remainder of the definition. Thanks for solving that for me though!

Well ... for the next step ... just post the next question(s), he he.

Thanks! I'll try and work through it on my own first and see where I get to, thanks for the help!

The tangent at each point?  (for fear of exposure to C#, I'm reluctant to open Peter's code...)

Attachments:

This also works well, thanks very much!

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