Grasshopper

algorithmic modeling for Rhino

Hi There

Struggling to find a relevant post so apologies if this is elsewhere. I am hoping this is straight forward and that my explanation doesn't complicate things!

I need to break up a site in set values but the number of times each value is used can be completely random.

eg. my site area is a triangular is shape and has an area of 5000m²

i would like to divide this up into areas that would equal a=3000m² b=1500m² c=750m² d=375m². however the number of times these can be used are not important hence the randomness. 

I appreciate those figures wouldnt round up to 5000m² but the important thing would be that no pocket of land left over would exceed the 3000m²

Although not important at this stage (a secondary question), is there a possibility of adding a 2m boundary/offset to each parcel? the area of this 2m would be included in as part of the equation adding up to the 5000m²

as always, any help would be appreciated!

Kind regards

Marc

Views: 366

Replies to This Discussion

I appreciate those figures wouldnt round up to 5000m² but the important thing would be that no pocket of land left over would exceed the 3000m²

It's a pretty ambiguous goal you're describing here. There is indeed no way to add up those figures and end up with 5000. I attached a file which attempts to divide a 5000m² triangle into 250/500/1000/2500 sized areas using Galapagos. Maybe it'll help you get started.

Attachments:

Thanks Dave.

I really appreciate it.

Just to try put you in the picture a little better. For my architectural project we are providing an area with a finer urban grain. So effectively taking large sites, some much larger than 5000m² and are not round figures, and dividing them up to create a much more vibrant district. I would expect that the figure of 3000 would be used a maximum of once and probably have much more of the smaller figures to achieve that finer network.

Thanks again!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service