Brick wall pattern

Hi! :smile:

I’m currently working on my graduation project using Rhino and Grasshopper and I’m not very experienced in those programs.
I made a brick pattern in archicad and I would like to recreate that in Rhino using Grasshopper. I would like it so that I can control the gaps between the bricks.
I added the script I currently have but I just cant seem to align the green bricks over the gap between the white bricks. (like in the screenshot of the pattern I want)

The brick measurements are: 178x83x48mm

Can anyone help me with this?
(Sorry if my script is very amateur…)




Hello,

Please upload your GH file with internalized geometry so we can have a look.

Hello! Is this the file you want? :slight_smile:

GH file brick wall.gh (33.2 KB)

When you start a thread, ask yourself: “What would I need to answer this question without creating geometry and a script from scratch?”. Did you read this?

3. Attach minimal versions of all the relevant files

Your geometry is not internalized, so your script is useless:

Made the assumption that the base curves were two lines, here it is :

GH file brick wall.gh (20.1 KB)

I’m sorry, I now internalized it! I think this should work now.

GH file brick wall.gh (18.0 KB)

  • How are the longitudinal bricks suppose to align when they overlap 4 transversal bricks ?
  • Are the bricks supposed to stay aligned in world coordinates, or follow the curvature ?

image

GH file brick wall.gh (19.1 KB)

the longitudinal bricks can follow the slant of the wall, it doesn’t matter if it doesn’t align perfectly over the transversal bricks. It just needs to be in the center of the gap between the transversal bricks. (I hope its clear and an answer to your question :sweat_smile:)
I think the best is that the bricks are supposed to follow the curvature.

Thank you already for your time and help!

This maybe ?

GH file brick wall.gh (28.7 KB)

2 Likes

Ohh that looks great! But if I open the file I cant see the wall displayed in Rhino… :smiling_face_with_tear:

image

1 Like

Well, I feel stupid… but thank you so much!! this is exactly what I wanted! :star_struck:

Looks very nice but the projection method will fail (for a couple of reasons) with different curve inputs. Best to assume an arbitrary surface as the base. This is not a solution, only a demo. All code by @magicteddy with my white group added to present a reasonable case that fails.

missing2


brick wall fail_2023Feb17a.gh (34.8 KB)

This code is seven years old now:

1 Like

P.S. With the exception of a few misplaced bricks and gaps in the brick pattern, your code works surprisingly well with my ‘Arc Crvs’ if you just use the lofted BaseSrf as input to Contour.

I’m touched by such an amount of faith in my coding skills :sweat_smile:

Better version below but still I think that the alignment of the perpendiular boxes could be improved.

GH file brick wall.gh (21.6 KB)

2 Likes

I know you are good at it. Just trying to encourage you to play your ‘A’ game. :wink:

Bricks in Grasshopper has consumed a lot of my time over the years so I know many of the pitfalls.

1 Like

Hey guys! I am working on something similar but I am struggling to assign the curve in the grasshopper code. Any idea how I could do thta?

on the left are the two curves im trying to assign, and on the right is the parts that turn orange


i was able to assign the curves but idk why is the base surface showing in red?

Because Loft is producing an open brep instead of a surface? Impossible to tell for sure when you haven’t posted a file, as suggested by these forum guidelines:

3. Attach minimal versions of all the relevant files

1 Like