Hi, I’m building a parametric brick wall. I’m following a youtube tutorial that builds the wall from a rectangular grid, but I want to use a surface I have in Rhino. How can I obtain cells from the isotrim to offset the edges and form the bricks? Thank you!
The first script is the one I’m building and the second one is from the tutorial
Thank you it works, but I ran into a problem later on in the script. At some point I get many lists as data and this part where I want to shift alternating rows is not working. Do you know how can I fix it? I tried to flatten the list, I think it works but I don’t understand how to shift it to the middle of the next brick
I’m attaching the script, the first one is the one I’m working on and the second one the tutorial
brick wall.gh (22.8 KB)
the rectangular cell component outputs cells branched by columns:
you can get a similar data tree by with something like this, which will directly create the data structure you are looking for:
brick wall (1)_Re.gh (25.5 KB)
or with something like this, which partitions the UV domains in branches, where U domain is constant along each branch:
brick wall (1)_Re_Re.gh (26.4 KB)
final result (in both cases):
thank you so much for your time!
Okay, new problem. Now I can’t get the horizontal shifting right, only for some determinate U count and V count it works… As you might have noticed I’m new to grasshopper and still don’t understand the logic very much but I’m trying to learn as long as I go. I’d really appreciate your help
is it this very same file?
if you did any change, please post the updated GH file
[edit] this doesn’t look like a good idea if the next component is Flip Matrix, but difficult to say from a screenshot
Ok, I think that flatten was the problem… Solved
Now onto the next part if you’re still with me haha
I have two problems: I want the facade to be completely covered with bricks, so I need to find a way to create the “half bricks” on the end of the shifted rows
Second problem: I want to rotate the bricks according to how close they are to the curve I created in Rhino. I followed another tutorial and looks like it’s working, but I can’t extend the range of the bricks that rotate (only the two or three bricks close to the curve are rotating and the others stay as before, and I want the effect of the wave to be more noticeable)
brick wall.3dm (200.2 KB)
brick wall (1)_Re (1).gh (18.7 KB)
Hi @Elisa_Goldfarb,
like this ?
brick wall (1)_Re (2).gh (20.8 KB)
First clip the distance values to a specific range that you want to change (source is the range that are not clipped, target is 0 to 1)
Second (after the interpolation) mappe the values to the range that are needed which is the domain start and end of the whole distance values (domain of the flattened distance tree).
Hope that make sense.
This looks so cool
Sorry could not use the original file because rhino 7 and 8.