algorithmic modeling for Rhino
Hello.
I have a problem. I want to make a connection between a road and number of trees around it.
When I change the road width, I want to make the trees stand closer to each other.
I have made a curve that control the road width and I have made a curve with the trees on – but I don’t know how to connect them.
Anyone?
Tags:
Its all math...
You have a width of the road w and a number of trees n. All you need to do is find an equaton that produces whatever number of trees you want for a given width. Then use n to subdivide your trees line and find the tree positions.
Or you can use the Remap component to map the current value of w from its range [wmin to wmax] to the range of [nmin to nmax] giving you the corresponding n to the given w.
... sorry, just seem to have misread your post... you really want to have an attractor curve working on a given grid(line) of trees?
Yes because it has to follow a city area. But it is also the only solution I could come up with.
Offset is really static and gives a constant width for the whole road. If you want th change width through the length of the road, first try to think of a way to construct this with rhino for a simple and short part of the road... then try to find GH components that do what you just did by hand.
Thank you! I think 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