generative modeling for Rhino
I'm trying to figure out how do I give a changing Pattern to a parametric brick wall,
And I found 2 problems so far:
1. When I bend the original wall (Surface), sometimes the bricks collide. I guess it has something to do with the definition of the gap (maybe I should change it according to the curvature?)
2. I want to be able to give the wall a changing patten using the Gap size. It have to begin as a normal brick wall (so I can easily connect it to the rest of the structure) and get more freedom as it goes to the center (Hopefully with some kind of attractor so I can choose where will be the most "Free" spot).
Hope I defined my problem good enough. I attach the GH definition and a basic 3dm for the srf.
Once you bend or deform the wall, your gaps for a given numer of bricks will change as the overall length of the row changes. You can minimize collision from displacenment of the bricks if you align the rotation of the bricks to the normal vector of the surface. Still there is only so much you can bend a brickwall without having to cut custom bricks.
Thanks Hannes. True, using the same bick does limit my possible geometry for the wall. I didn't think about it...
Do you have any good idea for the spacing(Gap) pattern?
O.K... Did some more work and made another definition - this time might be easier to help me with (Hopefully).
I attach my new definition which is FULL of notes of what I tried to do...
Where did I got stuck:
I try to distribute my bricks along the wall in an uneven way using 2 attractor curves.
I was able to do it by using changing brick sizes, and leaving the distances between gaps always the same (attched photo), but I want to achieve it with standard brick size and changing Gaps.
I allready created the Attractors part in the definition, but not really sure how should I continue. probably with moving the brick center points as a parameter of their distance from the curves, but then how do I make sure that the Bricks will stay within the wall's surface??
Another thing that I've found is that I have to limit the gap between the bricks, otherwise it might be too big and the wall will collapse (in real life :)... not in Rhino)
So I add a small part that makes sure that 5CM from each side will overlay. Do you think It's going to work when bending the wall to?
Still stuck... a friend told me the solution might be thinking of a virtual box, that changes it's size and the actual brick will be built on it's center.
Does that help?
I wonder if I got myself into a problem too big to solve in the few days I still have before I have to present it...
With any static grid you need to limit the amout of shift and rotation you can apply to the individual stone. I think it best to limit the problem to flat walls and only so much of displacement and rotation, that the bricks don't intersect.
Here's a link to the ETH Zurich. They do a lot of what you try to do but use scripts with a lot of checking and reiterating as far as i know.
I know these guys - they are doing some great things.
as you said, I limited myself to flat walls, and I can probably deal with the intersection part - but how do I make sure the the bricks doesn't o further then the wall's size?
I think that another step is behind me :)
I would appriciate if you could look at the attached files.
Now I've reduced myself to 1 attractor (just for the convinence untill it's all solved) and used it to displace the Center points for the bricks.
It works, but:
A. The bricks tend to collide as I expected... how do I make sure they won't?
B. The bricks are created outside the original wall (surface)... again - I thought that will happen...
C. I don't really know how to adjust the numbers (Influence, limits...) so It will look good and be easy to control.