Delauney Mesh Issues in GH

Hi there,

I’m trying to construct a large delauney mesh from contour points created in QGIS.

The contours were at 0.1m interval, and had reasonable detail with points every 0.3 - 1.8m approx.

Hoever, when it makes a mesh, it’s kinda simplistic and ugly:

In the last image, you can see how un-smooth/jagged it is.

Is there a grasshopper script which forces the delauney component to only create faces between curves which are only 1 step higher or lower?

This higher or lower could be in elevation.

-Jeremy

If the curves are sorted in height order then you could possibly just mesh pairs of list items (0,1), (1,2), (2,3) etc., then join the meshes. You might need to MatchMeshEdge on the result to get a mesh without gaps… I haven’t tried this though.

Hi Jeremy,
If you’re open to an alternate workflow, instead of contouring a DEM in QGIS and importing the contour shapefile, what if you bring the DEM directly into Rhino with Heron’s ImportTopo component? You would end up with a relatively clean quad mesh.

-Brian

Hi Brian, Thanks for your reply.

I was using that direct import option, but the mesh was too big for rhino to handle. Each quad had a resolution of 0.32m. At 0.6m, it worked, but was quite low resolution. The contour method helps efficiency. I added a divide curve every 1 m as well as the verteces from the simplified contours, and it’s much better now

-Jeremy

Hi Helvetosaur,

How might one do that in a definition? I imagine it would be quite difficult. As an interim, I found a temporary fix. To use both the contour’s native verteces + verteces from a divide curve which takes points every 1m. It comes out much smoother, but 1/3rd the size of a importtopo from Heron.

-Jeremy