chiharu
(chiharu)
June 6, 2018, 8:05am
1
Hello,everyone
I want to search color pattern on the grid like this.
I can not paint cell under the following conditions
・two consecutive horizonal rows
・3 or more consective vertical rows
when I can choose cell to paint, I choose randamly.
Any suggestions or hints will be greatful!
thanks in advance
Hello the idea could be
Make an array of empty cell n * m
It is possible to add a shape like =>1 cell or 2 cells in column,
When you add this shape on free place suppress the possibility to add shape on adjacent cells … redo that until it is OK
I made something like this here
Hello dear grasshopper users,
I am currently working on a large scale facade and would like to solve the following problem:
let’s say I have defined a number of rectangular shaped blocks, in this case I have seven ,shaped like shown in the attached picture (1:1, 2:1, 1:2, )
Now I would like grasshopper to automatically create a random pattern which would fill out the large rectangle (In this case 17m X 110).
Is there already such a thing? I did not find something yet, I think I remember that…
I have been struggling with this logic for a little while now, I am trying to create a definition to produce surfaces similar to the image attached. I have a feeling I might be approaching it from the wrong angle so would like to get another perspective if possible?
[days-1-b]
[Canvas%20at%2014%3B34%3B39]
RandomMeshDivide.gh (16.5 KB)
It was not too difficult to modify the script, without a lot of test.
pattern of color.gh (15.6 KB)
chiharu
(chiharu)
June 8, 2018, 8:38am
3
thank you so much!!
I try it!
Hope it helps. You have done a clear description of what you want.
If you need it could be possible to change the number ratio between shapes.