Project Awesome project awesome

Triangular and tetrahedral meshing > MeshPy

Quality triangular and tetrahedral mesh generation. (Python, MIT, GitHub)

Package 579 stars GitHub

MeshPy: Simplicial Mesh Generation from Python

.. image:: https://gitlab.tiker.net/inducer/meshpy/badges/main/pipeline.svg :alt: Gitlab Build Status :target: https://gitlab.tiker.net/inducer/meshpy/commits/main .. image:: https://github.com/inducer/meshpy/actions/workflows/ci.yml/badge.svg :alt: Github Build Status :target: https://github.com/inducer/meshpy/actions/workflows/ci.yml .. image:: https://badge.fury.io/py/MeshPy.svg :alt: Python Package Index Release Page :target: https://pypi.org/project/meshpy/ .. image:: https://zenodo.org/badge/2757253.svg :alt: Zenodo DOI for latest release :target: https://zenodo.org/badge/latestdoi/2757253

MeshPy offers quality triangular and tetrahedral mesh generation for Python. Meshes of this type are mainly 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 two well-regarded mesh generators: Triangle <http://www.cs.cmu.edu/~quake/triangle.html>__ by J. Shewchuk and TetGen <http://tetgen.berlios.de/>__ by Hang Si. The two are included in the package in slightly modified versions.

For an interface to gmsh <http://www.geuz.org/gmsh/>, by Christophe Geuzaine and Jean-Francois Remacle, see gmsh_interop <https://github.com/inducer/gmsh_interop>.

Online resources

  • Home page <https://mathema.tician.de/software/meshpy>__
  • Documentation <http://documen.tician.de/meshpy>__
  • Source <https://github.com/inducer/meshpy>__
  • Package index <https://pypi.org/project/MeshPy>__
  • Discussions <https://github.com/inducer/meshpy/discussions>__
Back to Scientific Computing