inducer / meshpy

2D/3D simplicial mesh generator interface for Python (Triangle, TetGen, gmsh)
http://mathema.tician.de/software/meshpy
Other
504 stars 106 forks source link
gmsh mesh-generation python scientific-computing tetgen triangle wrapper

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/workflows/CI/badge.svg?branch=main :alt: Github Build Status :target: https://github.com/inducer/meshpy/actions?query=branch%3Amain+workflow%3ACI .. 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