How to create gradient brick wall on a selected curve building line

Hi Guys, I like to create a gradient brick wall but on a selected surface drawn in rhino (a curve line building line for example) but I can’t seem to get it to work.
BrickWall- gradient 230607.gh (61.0 KB)

BrickWall- gradient Edited V0.gh (225.5 KB)

1 Like

Thank you and how would I input 2 colours that gradient from top to bottom for example (or left to right)

1 Like

Hi Quan Li, thank you for the help, it’s really helpful but I was trying to get a random colour dissipating from top to bottom. Would that be possible (eg like in the image).
Currently I added a graph mapper but I still can’t get random colours.
RSV_BrickWall- gradient 230608.gh (53.7 KB)



image

Thanks in advance.


I don’t know if this might work but I also not sure where I can fit this in.

BrickWall- gradient Edited V1.gh (224.2 KB)
Need Pufferfish.
Honeycam 2023-06-08 11-44-05

Thank you, and let says if I need more than 2 colours (like 4), do I use " Tween Consecutive Colours" and under CL (Colour List) what component should I connect with?


By any chance would it be possible to do more colours and in put texture?


I managed to figure the value list on smooth colour, thanks!!!

hi, this post has helped a lot. I just have a follow up question:

I m working on a similar concept but i would like to have full control of the exact number of different colours as well as their RGBs.

I am drawing a gradient tile wall and I want to use colours which exist in the industry.
Can sb help me out with it please? Maybe @Quan_Li ?

Thanks

Hi Marios

Based on the script I made this one where you control the input colours manually.


Tiles_colour_NL.gh (224.6 KB)

The more colours the smoother it will get

1 Like

Thank you @n.leguina.

The result is exactly what i aimed for.

hi again,

based on the script @Quan_Li and @n.leguina wrote above, i would like to bake the geometry (together with the right materials) and transfer it from Rhino to Revit as a family.

Does anyone know how to do that?

Hi Marios

It shouldnt be too hard. You dont need to bake it you can do it with rhino inside revit.

I dont have revit here so cant help you on that till im back on the office Monday. But you give it a go if yiu do have rhino inside revit.

If not let me know. You could do a work around and insert as a solid itno revit from a baked rhino