Grasshopper

algorithmic modeling for Rhino

Hi all,

I have a problem that requires me to be able to place the maximum number of 30 x 30 mm squares (the dimensions are fixed for the purposes of the algorithm, but this may need to be editable in the future) on a roughly head shaped curved surface.

The squares must not curve around the surface, but rather sit on top of the curved surface (kind of like the example shown here, but with circles: http://www.grasshopper3d.com/forum/topics/circle-packing-on-the-sur...

The squares should not be touching and I want to be able to define what the minimum/ maximum separation distance is between say either the edge of a square or from the centre (whichever is easier!)

What i've been doing so far is looking into circle packing scripts and just want to know the viability of adjusting a circle packing script into a 'square packing' script. I'm a complete beginner to grasshopper, so I feel this will be a very steep learning curve but I'm willing to learn how to use it (at the moment I'm working my way through youtube tutorials!)

Any help with this problem will be greatly appreciated!

Cheers

Views: 648

Replies to This Discussion

Hello

you can start with the definition that is on the discussion you shared and inscribe a rectangle to the circles

cheers

alex

Alex is so right and its easy to play with. Its the same file with rectangles instead of circles.

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service