algorithmic modeling for Rhino
Kangaroo 0.044 is now downloadable from here:
There are some demo's included with the download, but I'll be posting some more here.
Here's one showing how to use the 'Sequence' component to output the entire timeline of a simulation in one go so that you can move back and forth with a slider.
But on an open surface with edges, the points cluster along the edges and leave a big gap between themselves and the interior ones:
The first is a bridge with an adjustable time varying force, so you can get it oscillating Tacoma narrows style.
The second is a sheet material with bending, shear and stretch resistance, like in this video
seem to only be able to attach 3 files per post. here's the rhino file for that
That mathematical expression describes the shape of an isolated hanging chain, but in general the edge of a grid of hanging chains will not be the same shape, because of the interactions between the connected chains.
There is not an equivalent way of directly calculating the shape of a general catenary surface, hence why we use an iterative method.
As for the rest length - the more slack we give the chain, the lower it will hang.
One subtlety when simulating this using springs is that they stretch by slightly different amounts, as the ones near the ends are supporting more weight, but we are applying an equal load to each vertex. To be more precise, we could iteratively update the loads at the vertices to reflect the segment length (and in the next release I might include something for this purpose).
However, if we make the gravity strength lower relative to the stiffness of the springs, this difference in length becomes smaller and smaller, at the cost of slowing down the simulation. Though we can easily make it less than 0.0000001%, and still solve at interactive rates.
I've attached a definition allowing you to compare the explicitly mathematically described catenary and the simulated one.
I am trying the bendsheet definition - For some reason when i switch simulation reset to false the mesh disappears.
So, what's the deal with the bending components? I figured they're the ones that prevent the mesh from showing after the simulation, and without them the only efect is folding..Have you guys shed any light in the case?
Thanks for the demo !
I am now trying the sheardisplay definition, but the mesh doesn't seem to react when I play with the anchor points ... Two elements might be the reason of this problem, but can't manage to solve them.
First, when I open the definition, i got the message "Input parameter chunk is missing",
and second; in the definition, on the kangaroo element, which is now red, it says :" Index was out of limit. It shouldn't be negative or inferior to the collection size. Name of the parameter : index"
I use Rhino 5 SR5 and Grasshopper 0.9.62,
Would you have any idea how this could be fixed ?
Whenever i reset the simulation to false the plane disappears. I assume the points (anchor points) are not properly attached to the nodes but no matter how i attach it (baking the points) the plane keeps disappearing. I would appreciate if you can help me.