Grasshopper

algorithmic modeling for Rhino

hi everybody

assuming we have a polar coordinates (r0,phi), how to convert this point to xy coordinate?

forget about math , i just need to know what function in rhino or grashopper SDK does that?  and whats the namespace of the function?

 

Views: 1891

Replies to This Discussion

There is no function for this. Unless you're willing to use a bunch of rotation and scaling transformations.

 

The math really is quite simple:

 

x = r0 * Math.Cos(phi)

y = r0 * Math.Sin(phi)

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service