Topography from contour lines

Hello,

I’ve only just begun using Rhino 6 and have tried to find an answer to my question online but still haven’t been able to so, so I’d greatly appreciate if someone could help me here.

I already have a file with the contour lines of an area (it’s an Adobe Illustrator file). How can I create a terrain on Rhino with these contour lines? I’ve only managed to find tutorials on how to create a random terrain surface, but getting these exact contour lines is essential to my project.

I apologise if my message is a bit unclear. Will gladly provide more information if needed. Thank you in advance.

Generally terrain models are made from meshes. How good they will be will depend on the quality of the contour lines, which can vary from pretty good to horrible, depending on the source.

If the contour lines are polylines, I would do the following:

  1. Select all the polylines and run _ExtractPt - will create points at all the polyline vertices. If you have a lot of really dense polylines, instead of preselecting them and running the command, run _ExtractPt with nothing selected, and on the command line choose Output=PointCloud, then select the polylines and enter. This will create a point cloud which is much lighter and will still work with the next step.
  2. With the points selected, run _MeshPatch. That should give you a terrain mesh that goes through all the points.
  3. Delete the points

You can run _MeshPatch directly on polylines, but in my experience if the polyline data is somewhat dense, Rhino doesn’t deal with this well, and could hang. Using points the result is almost instant.

You can try my TerrainMesh plugin too if you like. It’s work in progress and I just released a new build today.