Surface and volume mesh and remesh generators based on MMG library
Project description
pymmg - Surface and volume remeshers
Bringing MMG surface and volume remeshers to Python. This package is a wrapper around the MMG tools
Features
- Surface remeshing
- Volume remeshing
- Area remeshing
- Adaptive mesh refinement
- Load multiple file formats using
meshio
Abaqus (
.inp
), ANSYS msh (.msh
), AVS-UCD (.avs
), CGNS (.cgns
), DOLFIN XML (.xml
), Exodus (.e
,.exo
), FLAC3D (.f3grid
), H5M (.h5m
), Kratos/MDPA (.mdpa
), Medit (.mesh
,.meshb
), MED/Salome (.med
), Nastran (bulk data,.bdf
,.fem
,.nas
), Netgen (.vol
,.vol.gz
), Neuroglancer precomputed format, Gmsh (format versions 2.2, 4.0, and 4.1,.msh
), OBJ (.obj
), OFF (.off
), PERMAS (.post
,.post.gz
,.dato
,.dato.gz
), PLY (.ply
), STL (.stl
), Tecplot .dat, TetGen .node/.ele, SVG (2D output only) (.svg
), SU2 (.su2
), UGRID (.ugrid
), VTK (.vtk
), VTU (.vtu
), WKT (TIN) (.wkt
), XDMF (.xdmf
,.xmf
).
Installation
pip install pymmg
NOTE: you can use the full-blown
pymmg
converter withnetcdf4
andh5py
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for pymmg-1.0.0-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c26ed62f050932e5b77ea1249f9636d5440524290042af923b2d5c262cc0a216 |
|
MD5 | 460b48b659f624755a3694fbb4a35f57 |
|
BLAKE2b-256 | b46ccd9df1fa5fd9b72b2edda7ac00fca1174c85482ee152de98000862e00cf7 |
Hashes for pymmg-1.0.0-py3-none-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 266c84f9f288e645bf333b0cb14d66601833d9c11793a34bc6047a9751b36648 |
|
MD5 | 516b82dac557954237966f0c24edc6f9 |
|
BLAKE2b-256 | e97764acd083c64214cf7f36b7552497623dbab2cd6a539e0a7850eb91f94033 |
Hashes for pymmg-1.0.0-py3-none-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ba2704d43aa0b28e0be9f188e2eb155e3ca33e0df3a4cccb5482702d666068e |
|
MD5 | 350508f2a7bee64158896f3d93b6eb72 |
|
BLAKE2b-256 | fbff5bab3899cf35d2e7f677169883c0e948d3e92449e9f5d68fa4dcb9bf270e |
Hashes for pymmg-1.0.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82a4504c8ab0a6c0925cba3a9302d8b66ec72c7695e42f5f26ea6de3d2756dff |
|
MD5 | d351d8e8bce006cf3eab3a5c81e2495a |
|
BLAKE2b-256 | 832ae131d4d5258f7103b8b23cfc76950d6ee8cd2ed7323b70016347d947d974 |
Hashes for pymmg-1.0.0-py3-none-manylinux2010_i686.manylinux2014_i686.manylinux_2_12_i686.manylinux_2_17_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c71fe3a1df71a40125b106a08bde214f28c389eec65e413dfe1dbd5829b86ad3 |
|
MD5 | 0c6e4de16f97a606ce5e45d1b780a7e6 |
|
BLAKE2b-256 | 6a53c5b54a9686ac0ae80f375bcc6b1dc30b40fd954467e1c6c262f7d44be1be |
Hashes for pymmg-1.0.0-py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18d8b01ab1c72d69168a1a24e2356f071b46010eedb827f1fb6b5919d46fe1e3 |
|
MD5 | c9dec3e33e9952d04270f238dc4feaa7 |
|
BLAKE2b-256 | ad63f6965f10a9cb85a0d84b1713e9b11fc7df604708774e3ce0ad71542bb580 |
Hashes for pymmg-1.0.0-py3-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6de50269202c8a009f0595697eaa1a791d114df0414156f07205f846784136ad |
|
MD5 | c1a3b9a7e2b2ca1a4557023ac3b20cc9 |
|
BLAKE2b-256 | cc150a40ca30694f85c81c9479dbe456aa6bc7edfede3fc1a259b52b67e0f202 |