algorithmic modeling for Rhino
Hello.
I need to control the distance between two or more circles in Grasshopper, so there always is the same distance between the circles.
So if I change the distance (slider) the circles move closer or further away from each other, they allways need to have the same distance between each other.
How can I solve this in Grasshopper?
Tags:
Hi Marie,
Something like this (see attached) ?
Thank you very much. It is like that. But what if I want to placed them in for example in a triangle and not on a straight line?
It's as simple as joining the same value to a x and y vector component. I've attached the definition again.
Thank you very much!
Oops, sorry, I missread that post.
what you actually want to do is move the circles in the x and y direct proportionally so that all circles are equidistant right?
I've attached a corrected algorithm.
Yes, it looks good, it is something I can use.
Maybe you can help me with another question?
I have a city with buildings and I have found the volumes of the building. Now I want to show a difference between with colors, so the volumes over a given value have to by one color and the volume under a given value have to by a second color.
So I have made a “Split list”. But I don’t know how to make it to a geometry because the output is Volume, and how can it be a geometry and get it back in my system, so it can be showen as buildings?
Use the dispatch component to dispatch the buildings according to their volume. then use the preview component on the output.
There's two ways of doing this.
The first dispatches the result in two lists.
The second uses a domain include to create multiple lists (say volumes between 0 and 10 are a color, 11 to 20 are another color and so on.) To achieve this, just copy everything past the volume component and change the upper and lower values accordingly.
Thanks! It works now.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by