Kangaroo solver not working

I think I’d build the meshes differently.

One problem with the Weaverbird approach is that your meshes do not have coincident vertices along the naked edges. Therefore they won’t stick together.

I’d start by creating a simple coarse mesh for every polyline. Two edge indices and the average of each polylines control points are one mesh face. The aspect ratio of the mesh edges is quite large. To have a nicer result when inflating the mesh, the input mesh needs to be remeshed. I’d use TriRemesh.

Then find the points which lie on the edges and feed these into an OnCurve goal. I think it’s important to provide the points for every single arc and not for the polycurves since that could lead to problems at the corners. Points could jump from their original curve to the arc next to it, should the distance be closer…

The collisions are tricky. My last attempt for now is using the Collider goal. The Ignore lists are fed with each vertex in A and their neighbors in B. It seems to work with a few exceptions. With the current settings, the strength of the Pressure goal can be increased to 3.3. Anything higher and some of the collisions start to fail.

inflation_collider.gh (165.4 KB)

I kind of like this shape. What are you using this for?

2 Likes