Kangaroo mesh from flat tree

Hello,

I’m starting with a flat mesh

After that i’m putting some forces to get a 3dimmensionnal form. It gives me this:

But i’m not very happy of the result so i’m trying to change the mesh above the ugly polyline i tried to draw:

So I filled the center of the flat mesh with others meshes:

And after i put kangaroo on, it gives me this:

I’m trying to get a nice smooth and round mesh top, not something like a sorcerer’s hat…

Anyone has an idea on how to solve this ?
Maybe I should completely change the process but I’m kind of happy with the form, i’m just trying to cover nicely “the roof” part.

Here’s the gh :
mesh from flat tree.gh (101.2 KB)

Thanks in advance for your answers.

mesh from flat tree Edited v0.gh (156.0 KB)

Give weights to every vert based on their topological distance from the naked edges.

It’s exactly what I was lookng for !
Tomorrow morning I’ll check in details your code.
I saw inside one of your cluster you have a VB script ?
Have you released a GH plugin already for mesh manipulations or it’s just for your personal fun ?
Thanks for sharing your knowledge Quan-Li.

Not mine, it is from Mesh+.Mesh + | Food4Rhino