Greetings,
I am working on Grasshopper and I want successive Increase in rectangles as shown in picture below. I am also attaching Grasshopper file I’m working upon. Anyone aware about the commands can reply as soon as possible. Thank you so much for the reply and your precious time.
“Only you can prevent forest fires/control the distance”
By which I mean, the distances must be specified somehow. @danielbent did it one way. How would you like to do it? Should the distances increase linearly? Exponentially? Just be based on a list of manually picked numbers? …
Thank you so much for reply. These are files, and I want rectangles to be spaced in successive increasing distance in both directions and I want to control the movement.Rectangle Facade.gh (19.2 KB)
But control it how? Sliders? Equations? Points you drag around? External text file data?
You can generate a list if increasing numbers using the Series component (1,2,3,4,...). These numbers can then be treated as the distances between your shapes. To go both left and right, you can take that series and negate it (-1,-2,-3,-4,...).
To convert these spacings to motions, you’ll have to use Mass Addition and rely on the partial result output. This will be (1,1+2,1+2+3,1+2+3+4,...) or (1,3,6,10,...). These partial results can be used to set up a bunch of move vectors.
@danielbent used that mass addition trick in his file too.
That’s a different animal: is classic object (rectangles in this case) manipulation via attractors (just one in your case). If you are in a medium to advanced C# level I could provide some hints about how to do it.
Here’s the general case (32 possible results, 3d grids, shown with z count = 1 for clarity, 2 attractors used):
Greetings, Thank you so much for your reply.
In the case which you mentioned above, size of squares is changing not distance between them. I want the size to remain same but distance increase gradually.
From your screen shot it appears that you after a facade grid of some sort.
This means that the desired effect is a matter of elimination: A classic approach on attractors: up to a some value/threshold (with respect the push/pull primary mode etc etc) don’t show (i.e. skip at this grid position) the object … then do some (optional) action like “shrink” as in the images attached above.
This makes sence in an AEC facade where the effect has to do only/solely with some color (all tiles/modules are the same size + a custom 2 color schema etc etc - BTW: AGROB BUCHTAL does this with a reasonable charge). Anyway for the above sceens this Method is used (remember: is a 3d grid thingy thus the 3rd inner loop):
Hii. Is there any easier way to do it without using C# scripting because I’m New to grasshopper and I have made all this by using some online tutorials.
Thank you.
Sorry but I don’t use components any more. I have assumed that you are familiar with coding since your post is in this category (C#, VB, P matters).
Anyway given the values used in the 4 main options (1 out of 32 possible combos) … see the effect (Container not used for clarity) by animating the elimination value (i.e. raise/vary the threshold related with the “skip the object” action):