Kangaroo attractor

Hi guys I just created a pattern like this to simulate an inflatable pad. For achieving this I used the attached kangaroo configuration. Does anyone know if it’s possible to provide a list of remapped values to the pressure component in order to simulate a fading effect using the naked curve of the geometry you can see as attractor?

please attach you GH file with internalized geometries

SOCKET2.gh (1.1 MB)

The part I’m referring to is the one displayed in pink. I would like to know how to create the attractor effect and I would like to know how to deal with the connection between the inflated part and the rest of the geometry, in order to obtain a smoother result. Furthermore, I would like to know how to refine the geometry to fit the mesh you see displayed in red.

To give a bit of context the project is about a transtibial socket and I need to create an inflated liner that matches the low-pressure zone (that I found using bones’ closest points).

(post deleted by author)

Maybe some other people comment. I don’t think inflate can be used that way.
However you can use pointLoad to achieve similar. Just apply different weight for each vertex.

In this example force is based on Z-Height.

You can do with data trees if each face is separate:

Or for joined single mesh

Depending how its better for you select faces.

SOCKET2.gh (1.2 MB)

Also I don;t think kangaroo is actually necessary for this problem.

P.S. Your script is very long - better to keep only what you want help with and internalize everything before, so we wouldn’t have to search for problem