Best approach for triangulate mesh when you have 90º slopes / walls

Hi. I need to create a mesh of a terrain site where I have walls and 90º elevation jumps. I have a gis .shp layer with 0’5m isocurves - contours (some of them broken at these jumps).

What I’ve done so far:

-In grasshopper: curves - discontinuity - delauney mesh - triremesh.

With this approach I get a mesh with weird triangles where the jumps are located.

  • Subdivide all the working area (creating boundary edges between the jumps) - patch all the top surfaces - then brep Mesh - deconstruct Mesh to get the points - triangulate the Mesh with Delauney. With this I get better triangulation but still the edges of the jumps create strange triangles.

Any advice on how to achieve this and get perfect 90º edges on the final Mesh would be awesome. Thanks!

clip_RelieveLineasProxecto.shp (1.3 MB)
clip_RelieveLineasProxecto.shx (2.3 KB)
clip_RelievePuntosProxecto.dbf (1.6 MB)