Skip to content
2D/3D simplicial mesh generator interface for Python (Triangle, TetGen, gmsh)
C++ C Python

README.rst

https://badge.fury.io/py/meshpy.png

MeshPy offers quality triangular and tetrahedral mesh generation for Python. Meshes of this type are chiefly used in finite-element simulation codes, but also have many other applications ranging from computer graphics to robotics.

In order to generate 2D and 3D meshes, MeshPy provides Python interfaces to three well-regarded mesh generators, Triangle by J. Shewchuk, TetGen by Hang Si, and gmsh by Christophe Geuzaine and Jean-Francois Remacle. The former two are included in the package in slightly modified versions. A generic mesh reader for the latter is included, as is an easy way to run gmsh from a Python script.

MeshPy has no dependencies other than a C++ compiler and a working Python installation.

As of Version 0.91.2, MeshPy also works with Python 3.

Online resources

Something went wrong with that request. Please try again.