admesh3D
Tetrahedral meshing of signed-distance-function domains and sigma-layer prism extrusion, in the ADMESH family.
Table of Contents
Status & Roadmap
Experimental prototype, version 0.1.0 (pre-alpha). The API may change without notice.
- Now: first tagged release; tetrahedra from a signed distance function (3D DistMesh), sigma-layer prisms, quality report, ASCII
.vtuoutput. - Next: API review after first user feedback (no date).
- Later: one ecosystem with ADMESH, CHILmesh and QuADMESH.
Installation
pip install admesh3D # import name: admesh3d
pip install "admesh3D[admesh2d]" # optional link to the 2D generator
Requires Python 3.10+, numpy and scipy. From a clone: pip install -e ".[test]" && pytest -q.
Quick start
import admesh3d as am
m = am.tetrahedralize(am.Box((0,0,0),(1,1,1)), h_max=0.1)
print(m.quality_report())
m.to_vtu("cube.vtu") # open in ParaView
ball = am.Sphere((0,0,0), 1.0) - am.Cylinder((0,0,0), 0.3, 3.0)
am.tetrahedralize(ball, h_min=0.1, h_max=0.15).to_vtu("ball.vtu")
import numpy as np
nodes = np.array([[0,0],[1,0],[1,1],[0,1]], float)
tris = np.array([[0,1,2],[0,2,3]])
p = am.extrude(nodes=nodes, triangles=tris, depth=np.full(4,10.0), layers=5)
assert p.n_elements == 10 and p.n_nodes == 24
assert abs(p.volumes.sum() - 10.0) < 1e-9
Examples
The hero animation above shows a T-rex surface filled with tetrahedra; element
layers are revealed from the innermost layer outward. The test suite under
tests/ holds one runnable case per feature.
Limitations
- Prototype: no stability guarantee, no production use.
- DistMesh relaxation is iterative and serial; large domains are slow, and the quality report does not guarantee a minimum element quality.
- Input domains are signed distance functions or extruded 2D triangle meshes. Arbitrary CAD surfaces and STL files are not read.
- Output is ASCII
.vtuonly. No ADCIRC 3D file format is written. - The
admesh2Dlink is optional and tested only by a smoke test.
Citation
Cite the concept DOI once the first Zenodo record exists (badge above is a placeholder).
@software{mattioli_admesh3d,
author = {Mattioli, Dominik O.},
title = {admesh3D: experimental 3D mesher in the ADMESH family},
year = {2026},
url = {https://github.com/domattioli/admesh3D},
version = {0.1.0}
}
License
PolyForm Noncommercial License 1.0.0. Commercial use needs a separate license; contact via github.com/domattioli.
Metadata
Release files for admesh3D 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| admesh3d-0.1.0.tar.gz | 18.2 kB | With provenance | Details for admesh3d-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| admesh3d-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for admesh3d-0.1.0-py3-none-any.whl |
Total release size: 38.4 kB
Release files / admesh3d-0.1.0.tar.gz
| Download URL | admesh3d-0.1.0.tar.gz |
|---|---|
| Size | 18.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8dd07ea3c371da5c71dadce454b180ed5702180c04bc2ffb5872f1453bfb81d2
|
|
BLAKE2b-256 checksum How to use checksums |
0925b9353f2dcf551d9e3226dfb79f4aa111838a12c6977a722e48e193d034d8
|
| 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 7, 2026.
Transparency logRelease files / admesh3d-0.1.0-py3-none-any.whl
| Download URL | admesh3d-0.1.0-py3-none-any.whl |
|---|---|
| Size | 20.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2f5b308b976f484812b2980b9309aa0a461e6b76ab6e43e6eed8cbca333632af
|
|
BLAKE2b-256 checksum How to use checksums |
81c48354b521329db70e6fd1b0d1da24712a223d72c5f7dd4914b82e59d77444
|
| 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 7, 2026.
Transparency logSecurity for admesh3D 0.1.0
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.
Attestation for admesh3d-0.1.0.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 7, 2026.
Transparency logA 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.