Grasshopper

algorithmic modeling for Rhino

Is it possible to transform the shape of a circle in GH?

e.g.

to

actually, I have some circle that are tangent to each other. I want to make them transform like above to form a continuous space around them.

Thanks.

Views: 1886

Replies to This Discussion

It is possible. Do you know about control points?

I know control points.

But how to do it in GH? Also, how to make the control points exactly at the tangent point?

hey arthur. try this one. I hope that it is helpful.

Attachments:

Thanks, but this is too violent. the whole shape changed. So if each circle is tangent to 2 or 3 circles, it cannot meet the requirement.

Besides, you have to pick out the points from the list by hand thus cannot be used to a large number of circles.

Is it something like this that you want ?

Attachments:

yep, nearly what I wanted. but is it possible to apply to a group of circles like the pic below? Because in this case, each circle has more than one tangent neighbours...

I'm not sure it will always work, it seems to be sometimes... very odd, because of the distance between control points and tangent points which can be zero.

The VB component is David's one, to find multiple intersections.

Dunno if it's gonna work with so many circles...

Attachments:

Thank you very much.
I'll test on the file.

That's really a big help.

Well, it doesn't work.

I think it's the reason you mentioned. it cannot find the multiple intersections.

If you post your gh file I could maybe take a quick look to what is happening

Please see the circlepacking file.

~

Attachments:

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