Triangulation of vertices?


I want to import a list of vertices and create then a mesh.
I have a script which can import in the vertices, but how can I get a mesh from this?
I’ve found a triangulation script, but it doesn’t works.
That’s the script:
I get a AttributeError: ‘module’ object has no attribute ‘TriangleArea’

Somebody an idea?
thanks, josi

I’ve created some vertices in blender, comment the lines 607, 608 and 698 of the script (they give me error) and it worked.

Have you tried removing doubles?

Get Blender 2.4, only works for non overlapping X/Y skinning - terrain.