See the thread on Cloud.rb and
See the thread on points_cloud_triangulation.
Do a search in this forum. I am not sure what the triangulation script is officially called. And I think these are used together to form the contoured surface.
Something about doing this in manageable chunks so you don't choke the engine.
Maybe this helps as a quick response.