Skip to main content

PyPI - Version status Static Badge Static Badge

A mesh is a discrete representation that subdivides a geometry or computational domain into a collection of points (nodes) connected by simple shapes (elements). Meshes are used for a variety of purposes, including simulations (e.g. finite element, finite volume, and finite difference methods), visualization and computer graphics, image analysis, and additive manufacturing. mymesh is a general purpose set of tools for generating, manipulating, and analyzing meshes. mymesh is particularly focused on implicit function and image-based meshing, with other functionality including:

  • geometric and curvature analysis,
  • intersection and inclusion tests (e.g. ray-surface intersection and point-in-surface tests),
  • mesh boolean operations (intersection, union, difference),
  • sweep construction methods (extrusions, revolutions),
  • point set, mesh, and image registration,
  • mesh quality evaluation and improvement,
  • mesh type conversion (e.g. volume to surface, hexahedral or mixed-element to tetrahedral, first-order elements to second-order elements).

mymesh was originally developed in support of research within the Skeletal Mechanobiology and Biomechanics Lab at Boston University.

Getting Started

For more details, see the full documentation

Installing from the Python Package Index (PyPI)

pip install mymesh[all]

To install only the minimum required dependencies, omit [all].

Installing from source:

Download/clone the repository, then run

pip install <path>/mymesh

with <path> replaced with the file path to the mymesh root directory.

Development

AI Usage Disclosure

Generative AI was not used to write the documentation or the functionality of mymesh. Initial development of mymesh began in the summer of 2021, before the release of OpenAI's ChatGPT (Nov. 30, 2022) and the widespread proliferation of powerful generative AI chatbots. While generative AI was never used to generate code for mymesh, it was in some instances consulted alongside other resources (e.g. scientific literature, StackExchange). Generative AI has been used in the following ways throughout the development of mymesh:

  • as a resource for some mesh-specific and general-purpose programming concepts, such as methods for improving efficiency of certain operations,
  • assistance in setting up packaging infrastructure (e.g. pyproject.toml, GitHub workflows),
  • conceptualization of test cases for some unit tests.

Attribution

If you've found MyMesh useful in your work, please cite it by referring to the paper in the Journal of Open Source Software. You can also cite specific versions by referring to the Zenodo archive.

Josephson & Morgan, (2026). MyMesh: General purpose, implicit, and image-based meshing in Python. Journal of Open Source Software, 11(122), 10003, https://doi.org/10.21105/joss.10003

Metadata

Release files for mymesh 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mymesh 0.5.1
File Size Uploaded Provenance Actions
mymesh-0.5.1.tar.gz 6.8 MB With provenance Details for mymesh-0.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mymesh 0.5.1
File Interpreter ABI Platform Actions
mymesh-0.5.1-py3-none-any.whl Python 3 none any Details for mymesh-0.5.1-py3-none-any.whl

Total release size: 7.1 MB

Release files / mymesh-0.5.1.tar.gz

Download URL mymesh-0.5.1.tar.gz
Size 6.8 MB
Tags Source
SHA-256 checksum
How to use checksums
2dbc92028457ba396a18626d34ecf2093f2c5447c75b61cd13b536143cc4854c
BLAKE2b-256 checksum
How to use checksums
4a79a85321a4c860792f264f848454f88ff32c7ebe2503e35b99ab2181ed5142
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / mymesh-0.5.1-py3-none-any.whl

Download URL mymesh-0.5.1-py3-none-any.whl
Size 279.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
397d46e990a1895b940365bcfd45ccb5a90f26e44c5b84fa1585f3be371e9ce0
BLAKE2b-256 checksum
How to use checksums
e5f4d17d338cefc056377026ae97cd1e2e55b775011d2fa6bef835f56dc30b5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Security for mymesh 0.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mymesh-0.5.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page