pymmg

Surface and volume mesh and remesh generators based on MMG library


Keywords
mesh, remesh, generation, unstructured, anisotropic-mesh-adaptation, isotropic-mesh-adaptation, levelset-discretization, mesh-adaptation, mesh-quality-improvement, meshing, mmg, remeshing, surface-improvement, tetrahedral-meshing
License
Other
Install
pip install pymmg==1.0.0

Documentation

pymmg - Surface and volume remeshers

Build

Bringing MMG surface and volume remeshers to Python. This package is a wrapper around the MMG tools

Features

Installation

pip install pymmg

NOTE: you can use the full-blown pymmg converter with netcdf4 and h5py by doing: pip install pymmg[all]

Usage

Surface remeshing

python -m mmgs input.mesh output.mesh

Volume remeshing

python -m mmg3d input.mesh output.mesh

2D remeshing

python -m mmg2d input.mesh output.mesh