Grasshopper

algorithmic modeling for Rhino

Hey guys! Im trying to use grasshopper to make a parametric brick wall following a circular path.

I have sucessfully done so, but I can only order the height of the wall in a linear or completely random way.

What I am trying to do is, have each brick "column" go 0.25 up or down when compared to the previous column, maintaining a more subtle randomness of bricks. Can anyone assist me with this?

First image is the general layout...

Second one is how one of the walls look like

Note that there are many gaps and bricks floating, thats what i want to avoid without losing the randomness

Views: 1051

Replies to This Discussion

What does 0.25 stand for? Is it the height of one brick?

I am asking because each column intersects with the ones next to it, so if they have a difference of more than one bricks then you will have gaps and floating bricks.

So I am guessing what you need is to have [number of bricks in column]=[number of bricks in previous column]+/-1

If you could post your definition I (or someone else) could give it a try. Without the definition I doubt you can get a direct answer.

cheers, nikos

Hi Romulo,

the only way I can think of achieving this is by using a loop plugin such as anemone or hoopsnake which will take a starting number and start creating consecutive numbers by adding 1 or 0 or -1.

Here is my attempt, using anemone:

please note the following:

1. I had to change your definition a little bit so that each column of bricks is created by array.

2. There will be a height difference between the first and last column. If this bothers you you could try creating half the numbers you need with anemone and then mirroring them (hope this makes sense, if not let me know).

3. For some reason that is beyond my understanding, the first time you open the file anemone will not create a "correct" list of numbers. This can be fixed by moving the [Data_0] slider and let anemone calculate the loop again.

cheers, nikos

ps. yes, the gh file is usually called "definition".

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service