variable mesh size based on the change in elevation in tarrain data
Hi,
I need to generate a terrain mesh from an STL file. For this, I am using the terrain_stl.py file as an example. Is there a way to control the mesh size based on the change in elevation (z-coordinate)? For example, I want the mesh size to be 5 m where z changes rapidly and 100 m where it gradually changes. I have attached the data.stl and gmsh_mesh.py scripts I used to generate the mesh.
thanks in advance, Deepak