Grasshopper

algorithmic modeling for Rhino

I thought this would be easy to solve, but it's fucking me. Who can find a solution?


The problem is, within a circle of radius "R" package a number "C" of circles tangent to the larger circle and to its two neighbors. As in the image. All that is needed is to formulate "r".


Seems simple right? But today is not my day. :v

We can only use the parameters R and C. Are not allowed geometric solutions.


Thank you if you try.

Views: 613

Attachments:

Replies to This Discussion

Right. Only these two parameters. Thanks.

r/sin(pi/C)+r = R

so r = R (1+1/sin(pi/C))

Oh man! Thank you so much! My mind is like a potato today trying to do basic math. u.u
Thank you Laurent and Alex :)

You are welcome Daniel. 

Math details, found via Google Images search of "radius of a circle of circles" for a relevant diagram:

http://math.stackexchange.com/questions/767475/1-big-circle-formed-...

http://www.had2know.com/academics/inner-circular-ring-radii-formula...

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