Excavating Soil from Topo Mesh

I haven’t looked at your code or read your posts here in detail, but your images remind me of this:

From here, August 6, 2016 :