Apply pattern according to a colour gradient

Hi guys,

 

I have a set of surfaces arranged with a color gradient.

 

I would like to apply differents patterns according to the different colours, to define the degree of opening for a facade.

 

Any ideas?

 

Thank you very much

 

Load Previous Comments
  • Andrea Polato

    I made something like yours related to a pattern on the ceiling drived by the daylight factor in the room. I came up with script components. 

    I'm sorry, but I can't publish the definition right now. 

    In my case I had a set of 6 source panels, each one correspond to a different pattern, then I set a script component that place the panel according to a value on the test mesh (the coloured surface on the floor), it's just a matter of "if...then...else...". I manually set the value for the distribution so I got 5 slider: IF the value is between 0 and X-0.01 THEN put panel01, IF the value is between  X and Y-0.001 THEN put panel02....; the (-0.01) is for define only one slider for the roof and the ceiling in one time and prevent crossing values; without this subtraction it will be IF...between 0 and X THEN..., IF...between Y and Z THEN...and so on, too much sliders.

    The point is: first you have to subdivide the main surface in clear panels, the future position of the pattern, then get a value for each panel and finally cull list. 

     

    Hope this will help you, bye

     

  • RWNB

    dear andrea,

    very interesting work!
    I have another question.
    is it possible to select points
    from different colors range?

     

    thx

  • Andrea Polato

    In my case I have a points list each with numeric value assigned, then I applyed a color gradient to the points list and geometry surfaces above points. Selecting points is just a matter of cull or dispatch. My aim was selecting surfaces, it's just a matter of output geometry.

    My panels are real geometries in rhinoDoc, so I used the Horster component to retrieve the panels Guid, but this is involved in the bake phase.