Grasshopper

algorithmic modeling for Rhino

Hi All,

I'm looking for the component to select a random value between 0 and 1 that will feed into a dispatch. The goal is to create random distributions of bricks based on different color combinations. 

See photo and link below. Where is the component located that's labeled 0 to 1.0?

https://generativelandscapes.wordpress.com/2014/08/13/using-dispatc...

Views: 794

Attachments:

Replies to This Discussion

Under the "Sets" tab--> Sequence--> "Random"

Or just double click on the canvas and typing keyword "Random" in the popup window.

Thanks Hyungsoo--I have that piece of it. I need the top plugin 'R' that's in the image and I'm not sure where to find that component. Without it I am not getting the randomization from the dispatch that I'm looking for.

Do you mean the text input(i.e.: domain input 0 to 1) on the panel?

Just double click on the canvas and typing "Panel" and you can manually input domain numbers on the panel by double clicking and typing.

Or you don't have to input any because the default domain setting is already 0 to 1.

Did you try 'Dispatch' instead of 'Cull'?  'Dispatch' has often been more predictable for me.

P.S.  The wire from your 'Random' component indicates a single value, not a list?

Thanks for the reply Joseph.

I am running a dispatch and I'm not getting the random variation I'm looking for. Have a look at the photo of the model on the left versus the pattern I'm looking for on the right. I've also attached the tree and gh file. Any thoughts on what is missing for the random distribution?

Attachments:

one possibility

sure HSK and J. Oster can probably offer a nicer way without flatten:

Great--thanks guys!

Well yeah, as Chapulin Colorado has observed, 'Flatten' the 'Geo' ouput from 'RecGrid' is one quick way to do it.  

Thank you Joseph!

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