If you are trying to solve FE or CFD style equations on a grid, you can use MeshPy in 2 and 3 dimensions. Meshpy is a good wrapper around existing tetgen and triangle tools.
If you are looking for more typical graphical style meshes, there was an interesting conversation in PyCon 2011 called “Algorithmic Generation of OpenGL Geometry” , which described a pragmatic approach to process mesh generation. The code from the presentation is available online.
If you are interested in restoring surfaces from data, you cannot go past the Standford 3D Scanning Repository , home of Stanford Rabbit.
Edit:
An alternative to the free alternative could be to use something like gmsh , which is platform independent and uses similar tools for meshpy in its -end backend.
Andrew walker
source share