Array of Shingles for ArchViz (MEL Script help :)!!!
Hello I ma right now working on a Architectual Visualisation. My Problem is I have to model shingles of a wall. Actually I am nearly driving crazy becauce I know it would be quite easy if i coud script just a little bit. The point is I have really no idear. Thats why I am here maybe one of the members of this forum can help me!
I would be so thankfull!!!!
Okay now I explain you what I need and for what I am to dumm for !
The mel script should select randomly between maybe 10 cubes with different scale's in the z axis one cube. It should make a inctance copy of this cube an translate it then with the same scale of this cube plus a gap.
In the screenshot you can see what I mean.
I thought It would work maybe with a if and else statment. I mean if the script would randomy choose between the 10 cubes for example cube1 ant it would translate this cube 5 units to the z axis (because that is the scale of the cube1) + 0.15 units (because that is the gap between each cubes) it would work. if it could do that 1000 times I would have one row of my shingles. That would help me so much otherwise I have to do that all by hand ! Oh my god!