Grasshopper

algorithmic modeling for Rhino

Creating a circle with 2 circles and a defined radius

Hello Forums.

I'm trying to make sense of the following problem:

I have two circles with the same radius (yellow) and want to create a circle touching both of the other circles and having a defined radius (differing from the other circles). Hopefully this can be easily accomplished, but I didn't find a solution yet - only this discussion.

This is, what it should look like:

Since I didn't solve the problem yet and think that I won't be able to cope with it with my feeble math skills I ask you, to help me with it. I attached my try.

Thanks a priori.

Views: 2381

Attachments:

Replies to This Discussion

Assuming that the centres of the two circles are aligned horizontally, then the centre of the third circle can be found using pythagoras theorem as shown in the attached image.  If the centres of the two circles are NOT aligned horizontally, then you need to do a rotational transformation first.  Hope this helps.  Regards

I have another approach:

 

Attachments:
Thanks, you two! I could replicate both ansatzes and they both work perfectly well.

Hi Julius,

With this script you can make better Mickey Mouse heads :)

Attachments:
Hehehe... Thanks! I'll use it in my next Disney project.

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