Grasshopper

algorithmic modeling for Rhino

I am attempting to have a geometry which will adapt to two varying circle radius. However, the outer circle will not trim in the correct location.

Please let me know your thoughts.

Views: 456

Attachments:

Replies to This Discussion

The 'CircleTanTan' component ('CircleTT') can generate some unexpected results...

I took a slightly different approach and got a 'Shatter First Circles' group to give the results I think you want by exploding the polygon and using it's sides and vertices.

Then a 'Shatter TanTan Circles' for the rest.  The results are interesting, depending on whether you graft one or both inputs (A and B) to 'CircleTT'.

I also included my 'Tree/List Viewer' group that is VERY USEFUL for inspecting data trees.  I believe it will help you find whatever pieces of the Shatter you need to make some interesting patterns.

By the way, I saw no need for 'Reparameterize' in this case and removed it.  You have "real" 't' values to work with here so there's no need to map to the 0..1 domain.

Attachments:

P.S.  I added a 'Radius Filter' group between 'CircleTT' and 'CCX' that sorts the circles by radius and allows you to choose (w/ a slider) which set of circles to pass on.  0 and 2 are interesting, 1 not so much.

Attachments:

Hi Matthew, though it's not clear what shape you are after, I think this definition has got all geometry you'll need to get what you want.

Attachments:

This morning I tried other values for the number of sides on the polygon and found that I got better results by sorting the 'Shatter First Circles' results by length.

I made a 'Shapes' group for the four outputs and added a 'Separation of Results' group to move them apart so they are visible - in blue below.

So besides polygon count and two radius settings, the parameters to play with here are:

  • graft one or both inputs to 'CircleTT' (if you don't graft both, the component turns red indicating "Circle could not be fit in one attempt", but still produces useful results).
  • the 'Radius Filter' slider.

Some results are redundant.  Click image to see animation:

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service