How to create a smooth mesh plateaus

Hi.
I was tinkering with some curve and mesh components recently, trying to figure out how to create some plateaus on a surface (a topography with plateaus). I looked at some tutorials on the internet and got a bad result, so I think this could be better. My intention was to have a nice adjacent plateau related to the height of the centroid points (therefore there are no holes or hollows in the plateaus), but this script does not return anything satisfactory for me (maybe the big problem is having buildings too close together, but I need this exactly like that).

mesh_plateau.gh (38.5 KB)

Do you guys think there is a better way to organize this?

Thanks in advance.

Well, I improved the .gh file (made a 3d mesh with plateaus based on Boolean operations and split operations), then achieve some plateaus without any hollow, but now I would like to smooth the mesh. I was tinkering with weaverbird, but do not know how to maintain the creases from the plateaus. If somebody know, there is a way to smooth a mesh maintaining the creases?

mesh_plateau.gh (44.0 KB)

Thanks in advance!

hello
not easy to smooth something with steps. As steps contain creases some part will remain not smoothed.
One method is to select fixed points, then apply some smoothing tool. Not all tools accept special fixed points.
I have one in Nautilus, there is one in Ngon.


mesh_plateau (1).gh (55.0 KB)

Not very visible
Before

After

Hello Laurent!
Thank you for your attention to this issue.
I was unable to use your addition in the .gh file, because I am using Rhino 8, and there is no Ngon version for it. Is there another way to proceed?

No problem, just Nautilus
mesh_plateau (1).gh (54.8 KB)

I do not know, but the ‘weld the vertices of a mesh’ component is not working in the .gh file. I downloaded your Nautilus 1.9.0.2 version.

The error tells me: 1. “Solution exception:Could not load file or assembly ‘LDLIB, Version=1.9.0.2, Culture=neutral, PublicKeyToken=null’. The system cannot find the file specified.”

If you didn’t use package manager check for LDLIB.dll if it is unlocked.

Oh, that was my fault. I installed this without any other files, just the .gha file. Now, it is working. Thanks you so much, Laurent, that was a good approach to smooth the mesh.