algorithmic modeling for Rhino
Ok!
So, question of the day.
Might be an easy one, but since the beginning of the summer it seems i've grown a bit rusty.. again.
So here we go:
What i basically want to do, is to make a GH setup that allows me to set a curve/line, divide it into smaller segments, and bend (probably by adding "gravity" in kangaroo) the sections depending on the distance on the between endpoints of the sections.
Actually quite much like textile blinds.
Now, the conundrum i've got, is the distancing of the division points, along the line.
*drawing*
As with textile blinds when stretched out the line is straight
BUT when shortening down the overall length of the line, only one section gets squeezed at a time. and the rest of the points get pulled in the same direction.
Anyone understand what I mean, and got an idea as to how this should/could be done?
P.S.
Image added actually shows quite exactly the movement i'm looking for..
Tags:
Holy smokes, that was fast! ;)
Thanks Julian, i'll have a look at it right away :)
This works like a charm, but yeah I've stumbled upon one glitch.
Depending on the number of folds, when a certain amount of the cloth/line is "squeezed" together..
Other than that i'm going to see if i can figure out how i can arrange so that the folded cloth always is part of the main line, and not behind/outside it.
yeah, its not perfect. I think with a little sorting out the points at the gathering end could be smoother and remove the problems that I found it has.
The catenary is a nice in-built feature without having to use Kangaroo, but it does warn you if the fabric is taut. you may want to think about that and maybe re-engineer the definition to avoid the possibility of the fabric length being less than the distance between points (which I hadn't considered when building the drawstring part of the definition)
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