Grasshopper

algorithmic modeling for Rhino

hey everybody,

started working with rhino and grasshopper jusrt a while ago and i am facing a problem i hope someone can help me here, as no one at my university has a clue at all!

i need to create circles in the corner af a rectangle, just as drawn in the screenshot i attached.

i first created a rectangle, split it up into curves so that i get the endpoints, on which i created the circles. but i dont nee the circles located at the corner, they have to be moved a bit into the middle, so that the yellow line, drawn in the screenshot, is just as long as the radius of the circle. thinking about this the whole day, i really appreciate any kind of help!

 

thanx a lot!!

 

Views: 1867

Attachments:

Replies to This Discussion

One solution would be:

This makes use of the fillet component to obtain the desired intersection points and then to create arcs based around these points. If you haven't got v0.7 open the higher res image to see the definition.
Attachments:
Hey
Sorry for a late reply, i can only use Rhino at university as i dont have it at home!

Thanks a lot for your quick reply!
This would be a bit more compact then what Danny showed:

Attachments:

This looked useful but the diagram and code was 5 years old and "outdated" labels showed up when I tried to load it.

I also found there was a bit of a bug. The "equal" test didn't match every other segment like expected. I found when I ran the output of explode through a panel and then into equals it did work, but that seemed kludgey so I added some rounding which seemed to solve this problem. Maybe there's a better way but I'm kind of new at Grasshopper and find a lot of information (like this) several years old.

Here's the files. They didn't get attached last time.

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service