Generating Random Building Heights On Site Model

Hello All,

I am trying to take my Site Model
Site Model.zip (7.0 MB)
and apply random building heights to the curves (which can be surfaces easily) in the model with some sort of script.

I tried using: this persons’ script and I think its too dated to use it.

I am relatively new to Rhino/Grasshopper. My Architecture college doesn’t teach us the programs. I am willing to learn anything, I just don’t know where to start!

Thanks in advance for your help! :slight_smile:

A generic approach would be to:

  1. Determine the minimum and maximum building height you want (this will be your range or domain)
  2. Generate a random number within your domain for each building footprint
  3. Extrude along a vector (z) with the distance being your random number.

This is how it could work:

Best,
Bob
Extrude_Randomly.gh (19.0 KB)

Thanks Bob, you’re a lifesaver!

1 Like