Grasshopper

algorithmic modeling for Rhino

Hello everybody,

I am new to grasshopper. I just imported some circles into rhino to read the different diameters in grasshopper but grasshopper seems to treat the imported circles as closed planar curves. What buttons could I use to get the right values?

So far I selected the circles with a curve button and got the positions with area.

Paul.

Views: 385

Replies to This Discussion

Hi Paul,

As far as i know circles are always closed planar curves, and even better they are never exactly circles because they are made up of bezier splines wich can only approximate a circle.

http://en.wikipedia.org/wiki/B%C3%A9zier_spline (goto bottom of page)

if you cant export the radii as a list of numbers, try finding the diameter in GH via the extremes component. The distance between the most left  and the most right point on your circle divided by two should be the exact radius, if the circles where not rotated.

Best Alex

even better: divide the curve length by (2 * PI)

Attachments:

Hi Alex,

This definition works great x/(2 xPI) is very effective!

Only the circle button after the Curve is generating an error most likely because the curves are imported when drawn directly in rhino it is fine.

thanks again!

Hi Alex,

Thanks for the info, I am going to try your suggestion!

Paul

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