I’m trying to work out and understand the hinge and folding technic in Kangaroo.
I’m trying to fold a 3d box (mesh) into a flat state.
with the crease lines centered the mesh collapses when the point get closer together.
In the second test I changed the center points of the creases so the would not collide but as I change the folding slider the box starts to rotate.
For a closed mesh like this, you need to choose which edges to open up at to be able to unfold it.
Kangaroo will not automatically make these seams for you.
I think Ivy might be more like what you are looking for here.
I Want it to remain a closed mesh as if it was a “paper” box.
I dont want to open it or unfold it.
It is supposed to look as if I pulled the points on each face inward toward the center of the box.
Ah, but that is physically impossible. The side triangles in your image above are very different shapes in the expanded and collapsed version. Where is the extra material supposed to go?
Not exactly, the box is just a test model to understand how to work with the hinge and folding tools in kangaroo. The end goal is to implement it with an inflatable geometry. The required shape would be flat and folded and when we’ll inflate it should unfold and get to the shape we want.
I think I’ll need to test and understand the folding in a simple shape maybe or a flat surface.