Grasshopper

algorithmic modeling for Rhino

I'm trying to get the vectors from the origin to the points of polygon.  When the polygon has even number of sides, it works well, but when the number of sides is odd, I seem to get a vector to a point between the points.  Am I doing something wrong?

Views: 199

Attachments:

Replies to This Discussion

You have the base point and the tip point reversed on the vector component.  Switch them and you'll be ok.

thank you.  so obvious and I didn't think of it

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