Skip to main content

Triangular and Tetrahedral Mesh Generator

Project description

MeshPy: Simplicial Mesh Generation from Python

Gitlab Build Status Github Build Status Python Package Index Release Page

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 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.

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

MeshPy has no dependencies other than a C++ compiler, pybind11, and a working Python installation. Before installing meshpy, you may install pybind11 using the command:

pip install pybind11

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

Online resources

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

MeshPy-2020.1.tar.gz (474.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page