Grasshopper

algorithmic modeling for Rhino

I'm not sure how to do this. I have a simple irregular shape and I need to fill it with a specific number of squares as much as possible. The squares cant come out of the shape. Something like this:I need the squares oriented the same way but the corners don't need to touch (doesn't need to be a grid)

Any help will be appreciated.

Thanks,

 

Views: 3329

Replies to This Discussion

Nice work Daniel.  I saw at least one failure to detect overlap though...

I added the slider for square size and converted the 'Rotate' input to 'Degrees' instead of radians, using a 360 degree knob.

Attachments:

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service