meshpy

2D/3D simplicial mesh generator interface for Python (Triangle, TetGen, gmsh)

https://github.com/inducer/meshpy

Science Score: 64.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
    8 of 23 committers (34.8%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.3%) to scientific vocabulary

Keywords

gmsh mesh-generation python scientific-computing tetgen triangle wrapper

Keywords from Contributors

code-generation multidimensional-arrays computer-algebra expression-tree symbolic-computation term-rewriting sorting shared-memory reduction pyopencl
Last synced: 6 months ago · JSON representation ·

Repository

2D/3D simplicial mesh generator interface for Python (Triangle, TetGen, gmsh)

Basic Info
Statistics
  • Stars: 559
  • Watchers: 26
  • Forks: 113
  • Open Issues: 19
  • Releases: 6
Topics
gmsh mesh-generation python scientific-computing tetgen triangle wrapper
Created over 14 years ago · Last pushed 6 months ago
Metadata Files
Readme License Citation

README.rst

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/actions/workflows/ci.yml/badge.svg
    :alt: Github Build Status
    :target: https://github.com/inducer/meshpy/actions/workflows/ci.yml
.. 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
`__ by J. Shewchuk and `TetGen
`__ by Hang Si. The two are included in the
package in slightly modified versions.

For an interface to `gmsh `__, by Christophe Geuzaine
and Jean-Francois Remacle, see `gmsh_interop `__.

Online resources
================

* `Home page `__
* `Documentation `__
* `Source `__
* `Package index `__
* `Discussions `__

Owner

  • Name: Andreas Klöckner
  • Login: inducer
  • Kind: user
  • Location: Champaign, IL
  • Company: Scientific Computing, CS@UIUC

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Kloeckner"
  given-names: "Andreas"
  orcid: "https://orcid.org/0000-0003-1228-519X"
- family-names: Brun
  given-names: Lorenz
- family-names: Liu
  given-names: Benyuan
- family-names: Klemenc
  given-names: Simon
- family-names: Fkikl
  given-names: Alex
- family-names: Gohlke
  given-names: Christoph
- family-names: Coon
  given-names: Ethan
- family-names: Oxberry
  given-names: Geoffrey
- family-names: Veselý
  given-names: Jozef
- family-names: Wala
  given-names: Matt
- family-names: Smith
  given-names: Matt
- family-names: Potrowl
  given-names: Peter
- family-names: Kurtz
  given-names: Aidan

title: "MeshPy"
version: 2022.1.1
doi:  10.5281/zenodo.7296572
date-released: 2022-11-06
url: "https://github.com/inducer/meshpy"
license: MIT

GitHub Events

Total
  • Create event: 16
  • Issues event: 1
  • Release event: 2
  • Watch event: 49
  • Delete event: 9
  • Issue comment event: 7
  • Push event: 19
  • Pull request event: 29
  • Fork event: 7
Last Year
  • Create event: 16
  • Issues event: 1
  • Release event: 2
  • Watch event: 49
  • Delete event: 9
  • Issue comment event: 7
  • Push event: 19
  • Pull request event: 29
  • Fork event: 7

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 412
  • Total Committers: 23
  • Avg Commits per committer: 17.913
  • Development Distribution Score (DDS): 0.252
Past Year
  • Commits: 47
  • Committers: 3
  • Avg Commits per committer: 15.667
  • Development Distribution Score (DDS): 0.532
Top Committers
Name Email Commits
Andreas Kloeckner i****m@t****t 308
Alexandru Fikl a****l@g****m 28
Andreas Kloeckner a****s@g****t 18
dependabot[bot] 4****] 16
HendrikRiedmann r****n@d****u 14
Andreas Kloeckner k****r@h****) 6
looooo s****r@g****m 5
simon klemenc h****s 2
liubenyuan l****n@g****m 1
Andreas Kloeckner k****r@h****u 1
Andreas Kloeckner k****r@h****u 1
Andreas Stock a****k@d****u 1
Jürgen Weizenecker j****r@h****e 1
Michael m****l@u****) 1
xueyu zhu x****u@b****u 1
aidan a****z@g****m 1
Peter Potrowl p****7@g****m 1
Matthew Smith m****6@i****u 1
Christoph Gohlke c****e@g****m 1
Ethan Coon e****n@g****m 1
Geoffrey Oxberry o****1@l****v 1
Jozef Veselý v****y@g****k 1
Matt Wala w****1@i****u 1

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 50
  • Total pull requests: 68
  • Average time to close issues: about 1 month
  • Average time to close pull requests: about 2 months
  • Total issue authors: 39
  • Total pull request authors: 16
  • Average comments per issue: 2.18
  • Average comments per pull request: 0.65
  • Merged pull requests: 61
  • Bot issues: 0
  • Bot pull requests: 25
Past Year
  • Issues: 1
  • Pull requests: 26
  • Average time to close issues: N/A
  • Average time to close pull requests: about 9 hours
  • Issue authors: 1
  • Pull request authors: 3
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.04
  • Merged pull requests: 24
  • Bot issues: 0
  • Bot pull requests: 19
Top Authors
Issue Authors
  • liubenyuan (6)
  • sampotter (3)
  • dnkrtz (3)
  • mghadam (2)
  • nschloe (2)
  • robbievanleeuwen (1)
  • JaniKallankari (1)
  • AnderBiguri (1)
  • codingcatgirl (1)
  • thomasaarholt (1)
  • siboles (1)
  • somada141 (1)
  • liblaf (1)
  • anildadj (1)
  • RubenZubrov (1)
Pull Request Authors
  • dependabot[bot] (37)
  • inducer (21)
  • alexfikl (15)
  • mghadam (2)
  • hiaselhans (2)
  • goxberry (2)
  • mattwala (2)
  • majosm (1)
  • dnkrtz (1)
  • jove1 (1)
  • peter17 (1)
  • cgohlke (1)
  • liubenyuan (1)
  • sampotter (1)
  • kostaNew (1)
Top Labels
Issue Labels
enhancement (3) bug (1) dependencies (1)
Pull Request Labels
dependencies (37) github_actions (10)

Packages

  • Total packages: 3
  • Total downloads:
    • pypi 14,465 last-month
  • Total dependent packages: 6
    (may contain duplicates)
  • Total dependent repositories: 29
    (may contain duplicates)
  • Total versions: 33
  • Total maintainers: 1
pypi.org: meshpy

Triangular and Tetrahedral Mesh Generator

  • Documentation: https://documen.tician.de/meshpy
  • License: ------------------------------------------------------------------------------- Triangle License ------------------------------------------------------------------------------- Copyright 1993, 1995, 1997, 1998, 2002, 2005 Jonathan Richard Shewchuk 2360 Woolsey #H Berkeley, California 94705-1927 Please send bugs and comments to jrs@cs.berkeley.edu Created as part of the Quake project (tools for earthquake simulation). Supported in part by NSF Grant CMS-9318163 and an NSERC 1967 Scholarship. There is no warranty whatsoever. Use at your own risk. Triangle generates exact Delaunay triangulations, constrained Delaunay triangulations, conforming Delaunay triangulations, Voronoi diagrams, and high-quality triangular meshes. The latter can be generated with no small or large angles, and are thus suitable for finite element analysis. Show Me graphically displays the contents of the geometric files used by Triangle. Show Me can also write images in PostScript form. Information on the algorithms used by Triangle, including complete references, can be found in the comments at the beginning of the triangle.c source file. Another listing of these references, with PostScript copies of some of the papers, is available from the Web page http://www.cs.cmu.edu/~quake/triangle.research.html ------------------------------------------------------------------------------ These programs may be freely redistributed under the condition that the copyright notices (including the copy of this notice in the code comments and the copyright notice printed when the `-h' switch is selected) are not removed, and no compensation is received. Private, research, and institutional use is free. You may distribute modified versions of this code UNDER THE CONDITION THAT THIS CODE AND ANY MODIFICATIONS MADE TO IT IN THE SAME FILE REMAIN UNDER COPYRIGHT OF THE ORIGINAL AUTHOR, BOTH SOURCE AND OBJECT CODE ARE MADE FREELY AVAILABLE WITHOUT CHARGE, AND CLEAR NOTICE IS GIVEN OF THE MODIFICATIONS. Distribution of this code as part of a commercial system is permissible ONLY BY DIRECT ARRANGEMENT WITH THE AUTHOR. (If you are not directly supplying this code to a customer, and you are instead telling them how they can obtain it for free, then you are not required to make any arrangement with me.) ------------------------------------------------------------------------------- TetGen License ------------------------------------------------------------------------------- The software (TetGen) is licensed under the terms of the MIT license with the following exceptions: Distribution of modified versions of this code is permissible UNDER THE CONDITION THAT THIS CODE AND ANY MODIFICATIONS MADE TO IT IN THE SAME SOURCE FILES tetgen.h AND tetgen.cxx REMAIN UNDER COPYRIGHT OF THE ORIGINAL AUTHOR, BOTH SOURCE AND OBJECT CODE ARE MADE FREELY AVAILABLE WITHOUT CHARGE, AND CLEAR NOTICE IS GIVEN OF THE MODIFICATIONS. Distribution of this code for any commercial purpose is permissible ONLY BY DIRECT ARRANGEMENT WITH THE COPYRIGHT OWNER. The full license text is reproduced below. This means that TetGen is no free software, but for private, research, and educational purposes it can be used at absolutely no cost and without further arrangements. For details, see http://tetgen.berlios.de ============================================================================== TetGen A Quality Tetrahedral Mesh Generator and 3D Delaunay Triangulator Version 1.4 (Released on January 14, 2006). Copyright 2002, 2004, 2005, 2006 Hang Si Rathausstr. 9, 10178 Berlin, Germany si@wias-berlin.de Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: Distribution of modified versions of this code is permissible UNDER THE CONDITION THAT THIS CODE AND ANY MODIFICATIONS MADE TO IT IN THE SAME SOURCE FILES tetgen.h AND tetgen.cxx REMAIN UNDER COPYRIGHT OF THE ORIGINAL AUTHOR, BOTH SOURCE AND OBJECT CODE ARE MADE FREELY AVAILABLE WITHOUT CHARGE, AND CLEAR NOTICE IS GIVEN OF THE MODIFICATIONS. Distribution of this code for any commercial purpose is permissible ONLY BY DIRECT ARRANGEMENT WITH THE COPYRIGHT OWNER. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ------------------------------------------------------------------------------- Wrapper license ------------------------------------------------------------------------------- The wrapper is licensed to you under the following terms: Copyright (c) 2004-2008 Andreas Kloeckner Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  • Latest release: 2025.1.1
    published 11 months ago
  • Versions: 18
  • Dependent Packages: 4
  • Dependent Repositories: 24
  • Downloads: 14,465 Last month
Rankings
Dependent packages count: 1.9%
Dependent repos count: 3.0%
Average: 3.6%
Downloads: 6.0%
Maintainers (1)
Last synced: 6 months ago
proxy.golang.org: github.com/inducer/meshpy
  • Versions: 12
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 6.4%
Average: 6.7%
Dependent repos count: 6.9%
Last synced: 6 months ago
conda-forge.org: meshpy

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.

  • Homepage: https://github.com/inducer/meshpy
  • License: MIT AND LicenseRef-Proprietary-Triangle AND AGPL-3.0-or-later
  • Latest release: 2022.1.3
    published over 3 years ago
  • Versions: 3
  • Dependent Packages: 2
  • Dependent Repositories: 5
Rankings
Dependent repos count: 14.8%
Average: 18.0%
Forks count: 18.3%
Stargazers count: 19.3%
Dependent packages count: 19.6%
Last synced: 6 months ago

Dependencies

setup.py pypi
  • gmsh_interop *
  • numpy *
  • pytools >=2011.2
.github/workflows/autopush.yml actions
  • actions/checkout v3 composite
.github/workflows/ci.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
.github/workflows/wheels.yml actions
  • actions/checkout v3 composite
  • actions/download-artifact v3 composite
  • actions/setup-python v4 composite
  • actions/upload-artifact v3 composite
  • maxim-lobanov/setup-xcode v1 composite
  • pypa/gh-action-pypi-publish v1.5.0 composite