Grasshopper

algorithmic modeling for Rhino

Series array with different types of geometry per addition

Hello everyone,

Currently  I am making a scrip where I want to achieve different heights "per floor" I have a created 3 different types of geometry that has the same perimeter but differs in height. I wanted to ask You if there is a way to use an image sampler with a greyscale image (where black would be type 1, grey type 2 and white type 3) or just by writing down which type to use on which "floor" in series by adding the right component?

This is a diagram showing what I want to achieve:

I managed to make the geometry to stack upon one another without overlapping, but all copies in Z axis are the same height of one type.

Any ideas on how to achieve this?

I'm adding the script in the attachment.

Any suggestions are more than welcome,

Thank You

Views: 984

Attachments:

Replies to This Discussion

Hi.

Is this what you are after?

Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service