{"id":17360977,"url":"https://github.com/gnikit/pymmg","last_synced_at":"2025-04-14T19:08:29.919Z","repository":{"id":170906442,"uuid":"614095215","full_name":"gnikit/pymmg","owner":"gnikit","description":"MMG Remeshing tools wrapped in Python","archived":false,"fork":false,"pushed_at":"2024-09-23T22:24:46.000Z","size":80,"stargazers_count":12,"open_issues_count":8,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-14T19:08:19.356Z","etag":null,"topics":["anisotropic-mesh-adaptation","isotropic-mesh-adaptation","levelset-discretization","mesh-adaptation","mesh-quality-improvement","meshing","mmg","remeshing","surface-improvement","tetrahedral-meshing"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gnikit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-14T22:05:31.000Z","updated_at":"2024-12-01T07:59:01.000Z","dependencies_parsed_at":"2023-10-16T08:54:56.576Z","dependency_job_id":"9098dae4-1124-4733-b707-60417ca80d1b","html_url":"https://github.com/gnikit/pymmg","commit_stats":null,"previous_names":["gnikit/pymmg"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnikit%2Fpymmg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnikit%2Fpymmg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnikit%2Fpymmg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnikit%2Fpymmg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gnikit","download_url":"https://codeload.github.com/gnikit/pymmg/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248943456,"owners_count":21186958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anisotropic-mesh-adaptation","isotropic-mesh-adaptation","levelset-discretization","mesh-adaptation","mesh-quality-improvement","meshing","mmg","remeshing","surface-improvement","tetrahedral-meshing"],"created_at":"2024-10-15T19:29:26.339Z","updated_at":"2025-04-14T19:08:29.895Z","avatar_url":"https://github.com/gnikit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pymmg - Surface and volume remeshers\n\n[![Build](https://github.com/gnikit/pymmg/actions/workflows/main.yml/badge.svg)](https://github.com/gnikit/pymmg/actions/workflows/main.yml)\n\nBringing [MMG](https://www.mmgtools.org/) surface and volume remeshers to Python.\nThis package is a wrapper around the MMG tools\n\n## Features\n\n- Surface remeshing\n- Volume remeshing\n- Area remeshing\n- Adaptive mesh refinement\n- Load multiple file formats using [`meshio`](https://github.com/nschloe/meshio)\n  \u003e [Abaqus](http://abaqus.software.polimi.it/v6.14/index.html) (`.inp`),\n  \u003e ANSYS msh (`.msh`),\n  \u003e [AVS-UCD](https://lanl.github.io/LaGriT/pages/docs/read_avs.html) (`.avs`),\n  \u003e [CGNS](https://cgns.github.io/) (`.cgns`),\n  \u003e [DOLFIN XML](https://manpages.ubuntu.com/manpages/jammy/en/man1/dolfin-convert.1.html) (`.xml`),\n  \u003e [Exodus](https://nschloe.github.io/meshio/exodus.pdf) (`.e`, `.exo`),\n  \u003e [FLAC3D](https://www.itascacg.com/software/flac3d) (`.f3grid`),\n  \u003e [H5M](https://www.mcs.anl.gov/~fathom/moab-docs/h5mmain.html) (`.h5m`),\n  \u003e [Kratos/MDPA](https://github.com/KratosMultiphysics/Kratos/wiki/Input-data) (`.mdpa`),\n  \u003e [Medit](https://people.sc.fsu.edu/~jburkardt/data/medit/medit.html) (`.mesh`, `.meshb`),\n  \u003e [MED/Salome](https://docs.salome-platform.org/latest/dev/MEDCoupling/developer/med-file.html) (`.med`),\n  \u003e [Nastran](https://help.autodesk.com/view/NSTRN/2019/ENU/?guid=GUID-42B54ACB-FBE3-47CA-B8FE-475E7AD91A00) (bulk data, `.bdf`, `.fem`, `.nas`),\n  \u003e [Netgen](https://github.com/ngsolve/netgen) (`.vol`, `.vol.gz`),\n  \u003e [Neuroglancer precomputed format](https://github.com/google/neuroglancer/tree/master/src/neuroglancer/datasource/precomputed#mesh-representation-of-segmented-object-surfaces),\n  \u003e [Gmsh](https://gmsh.info/doc/texinfo/gmsh.html#File-formats) (format versions 2.2, 4.0, and 4.1, `.msh`),\n  \u003e [OBJ](https://en.wikipedia.org/wiki/Wavefront_.obj_file) (`.obj`),\n  \u003e [OFF](https://segeval.cs.princeton.edu/public/off_format.html) (`.off`),\n  \u003e [PERMAS](https://www.intes.de) (`.post`, `.post.gz`, `.dato`, `.dato.gz`),\n  \u003e [PLY](\u003chttps://en.wikipedia.org/wiki/PLY_(file_format)\u003e) (`.ply`),\n  \u003e [STL](\u003chttps://en.wikipedia.org/wiki/STL_(file_format)\u003e) (`.stl`),\n  \u003e [Tecplot .dat](http://paulbourke.net/dataformats/tp/),\n  \u003e [TetGen .node/.ele](https://wias-berlin.de/software/tetgen/fformats.html),\n  \u003e [SVG](https://www.w3.org/TR/SVG/) (2D output only) (`.svg`),\n  \u003e [SU2](https://su2code.github.io/docs_v7/Mesh-File/) (`.su2`),\n  \u003e [UGRID](https://www.simcenter.msstate.edu/software/documentation/ug_io/3d_grid_file_type_ugrid.html) (`.ugrid`),\n  \u003e [VTK](https://vtk.org/wp-content/uploads/2015/04/file-formats.pdf) (`.vtk`),\n  \u003e [VTU](https://vtk.org/Wiki/VTK_XML_Formats) (`.vtu`),\n  \u003e [WKT](https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry) ([TIN](https://en.wikipedia.org/wiki/Triangulated_irregular_network)) (`.wkt`),\n  \u003e [XDMF](https://xdmf.org/index.php/XDMF_Model_and_Format) (`.xdmf`, `.xmf`).\n\n## Installation\n\n```bash\npip install pymmg\n```\n\n\u003e NOTE: you can use the full-blown `pymmg` converter with `netcdf4` and `h5py` by doing:\n\u003e `pip install pymmg[all]`\n\n## Usage\n\n### Surface remeshing\n\n```bash\nmmgs input.mesh output.mesh\n```\n\n### Volume remeshing\n\n```bash\nmmg3d input.mesh output.mesh\n```\n\n### 2D remeshing\n\n```bash\nmmg2d input.mesh output.mesh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnikit%2Fpymmg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgnikit%2Fpymmg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnikit%2Fpymmg/lists"}