Grasshopper

algorithmic modeling for Rhino

Question about Angle finding and Points on a Curve?

Can some one help me out a little, the attached image does a better job of explaining what I am wanting to do better than I can type it out.

Thanks.

Views: 442

Attachments:

Replies to This Discussion

Hi Ryles,

I've used the shift list component to good effect here. Step one is to reduce the list as the first and last points are the same. Then create vectors, based on a points previous and next point, to compare and then order a list based on their original position to get the most acute angle. And finally shift the list based on this new knowledge. There's one thing I haven't done in the definition below and that is to duplicate the first point at the end to make a periodic curve based on these control points.

cool, thank you, i'm going to replicate the definition, I'll probably be back with more questions,

thank you!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service