FUSE — Fast Union Surface Extraction
FUSE reconstructs a triangle mesh approximating the solid union of one or more closed meshes. It uses CUDA for field evaluation and surface extraction, sparse NanoVDB indexing to reduce work around empty space, and a Python API for loading, fusing, simplifying, comparing, and saving meshes.
Choose a uniform voxel size in your mesh's units to control sampling resolution. FUSE handles overlapping solids, containment, disconnected components, and resolved cavities. Optional CPU simplification reduces the output triangle count. It is an approximate reconstruction tool: original triangles and subvoxel features are not necessarily preserved.
Install
Use a Linux x86-64 wheel matching your CPython version (3.9–3.14). Download and
extract the corresponding wheel-cp… artifact from a successful
GitHub Actions build,
then install the single matching wheel:
python -m pip install /path/to/fusemesh-<version>-<python>-<abi>-<platform>.whl
python -c 'import fusemesh; print(fusemesh.build_info()); print(fusemesh.smoke_test())'
Replace the placeholder path with the downloaded filename. Reconstruction and
smoke_test() require an NVIDIA GPU and driver. Wheel installations include the
CUDA runtime and Python dependencies; a CUDA toolkit or compiler is not required.
Loading, saving, simplification, and quality comparisons run on the CPU without
initializing CUDA.
See installation and compatibility for GPU requirements, source builds, and reinstalling a changed wheel with the same version number.
Fuse mesh files
import fusemesh
result = fusemesh.reconstruct(["a.off", "b.obj"], voxel_size=0.05)
fusemesh.save_mesh("union.obj", result)
print(result.metadata)
A single path also works: fusemesh.reconstruct("model.off", voxel_size=0.05).
For arrays, use reconstruct([(vertices, faces)], voxel_size=0.05); each array
pair represents one solid. Returned vertices are float64 (N, 3) coordinates
and faces are uint64 (M, 3) indices.
From a repository checkout, run the file example:
python examples/fuse_files.py a.off b.obj \
--voxel-size 0.05 --memory-mib 512 --output union.obj
To try generated geometry without supplying a file:
python examples/union_demo.py
Reduce output triangles
reduced = fusemesh.simplify(result, max_error=0.01, target_faces=5000)
fusemesh.save_mesh("reduced.obj", reduced)
Simplification checks surface and sharp-edge deviation, per-shell volume, and
manifold topology. target_faces is a soft goal; quality checks take priority.
max_error is relative to the mesh being simplified, not the original union
inputs. See simplification for controls and limitations.
Measure surface accuracy
report = fusemesh.compare_surfaces(
"original.off", "reconstructed.obj", tolerance=0.05,
degenerate_faces="drop",
)
print(report["symmetric"]["rms"])
print(report["symmetric"]["f_score"])
This CPU comparison accepts open or nonmanifold surfaces. The explicit drop
option excludes zero-area triangles and reports removal counts; the default is
error. Distances use mesh coordinate units. Coverage and F-score depend on the
chosen tolerance, and sampled maxima are not certified Hausdorff bounds.
From a checkout, compare existing files with
python examples/quality_demo.py --inputs original.off reconstructed.obj.
Without --inputs, the demo reconstructs two boxes and requires a GPU and the
quality extra. Multiple original solids also require that extra to construct
an independent Boolean reference union. See quality comparisons
for installation, metric definitions, and examples.
Reconstruction requirements and limits
- Inputs must describe closed, consistently oriented manifold solids.
validation="basic"skips topology checks but does not make open or nonmanifold solids supported. Self-intersections are not detected or repaired. - Trimesh loads local files. OFF faces must already be triangles; other formats follow their reader's triangulation and grouping rules. See mesh loading.
- Smaller voxel sizes can resolve finer detail but require more work and memory. Thin walls, narrow gaps, and small components may disappear. Voxel size is not a guaranteed surface-error bound; output is not guaranteed manifold in degenerate or unresolved cases.
- The Python API defaults to a 512 MiB limit on explicit FUSE GPU buffers.
The file example defaults to 16 GiB; use
--memory-mibto set it explicitly. CUDA context memory and host memory are outside that limit. - Reconstruction does not perform exact triangle Booleans, mesh repair, adaptive voxel refinement, automatic smoothing, or material/texture transfer.
Documentation
Start with the documentation index, or go directly to:
- Installation and compatibility
- Mesh loading and file examples
- Python and native API
- Surface simplification
- Reconstruction quality
- Troubleshooting
- Testing and benchmarks
FUSE uses BSD-3-Clause. Third-party notices are in licenses and the installed wheel metadata.
Metadata
Release files for fusemesh 0.2.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 |
|---|---|---|---|---|
| fusemesh-0.2.0.tar.gz | 731.1 kB | With provenance | Details for fusemesh-0.2.0.tar.gz |
Built distributions (wheels)
Total release size: 8.0 MB
Release files / fusemesh-0.2.0.tar.gz
| Download URL | fusemesh-0.2.0.tar.gz |
|---|---|
| Size | 731.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5071295a0a8af8bc19fde6a040caea6d0b85e808489ce49ccb4bb084a9ed9bd0
|
|
BLAKE2b-256 checksum How to use checksums |
4165b8c0b54f233363d902f8854aa130b338d6636c1b0f87887962f8779901bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 19, 2026.
Transparency logRelease files / fusemesh-0.2.0-cp314-cp314-manylinux_2_28_x86_64.whl
| Download URL | fusemesh-0.2.0-cp314-cp314-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.14 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
48cf959106f6161cbf9e0833301f23a1ecf2c3546e9bf71300ac38df2ed09449
|
|
BLAKE2b-256 checksum How to use checksums |
2faf3d163b19bb976cb9830e499afd737a8da064f3168e399d2d100067b65b98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 19, 2026.
Transparency logRelease files / fusemesh-0.2.0-cp313-cp313-manylinux_2_28_x86_64.whl
| Download URL | fusemesh-0.2.0-cp313-cp313-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.13 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
1fa12a8dba22af093db2129cf092b654b71660c453539d53498e813a51019bbd
|
|
BLAKE2b-256 checksum How to use checksums |
c5a2212bcdaabb5627b2134395809cbcd5e1cb60ac1e28918be71b7ef806afe3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 19, 2026.
Transparency logRelease files / fusemesh-0.2.0-cp312-cp312-manylinux_2_28_x86_64.whl
| Download URL | fusemesh-0.2.0-cp312-cp312-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
274c9c7f9d49b10f82b745bc8139b15977dc21a0ca0e87a9511cd5ac1895af5c
|
|
BLAKE2b-256 checksum How to use checksums |
ae23f9ef326465d9b5a4be0f35fa7cb261a68e10d2179444687fa40d99168029
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 19, 2026.
Transparency logRelease files / fusemesh-0.2.0-cp311-cp311-manylinux_2_28_x86_64.whl
| Download URL | fusemesh-0.2.0-cp311-cp311-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
fb4a00937489ae65dae519b8ef62ad69b9503a9b4fd79baebd13710edf227292
|
|
BLAKE2b-256 checksum How to use checksums |
4e7a04252ab15228f8283a4fc7722764bf38576847212994d21a8a2e92f89241
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 19, 2026.
Transparency logRelease files / fusemesh-0.2.0-cp310-cp310-manylinux_2_28_x86_64.whl
| Download URL | fusemesh-0.2.0-cp310-cp310-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
0ff73e08bfe560f646a13d5f3b376f7d2602d0f8fbbda7d942e1ad96390060a3
|
|
BLAKE2b-256 checksum How to use checksums |
f0fefb1904724c22f8a3dffd313693f5c8280558e1813f990d3d983cd2362c58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 19, 2026.
Transparency logRelease files / fusemesh-0.2.0-cp39-cp39-manylinux_2_28_x86_64.whl
| Download URL | fusemesh-0.2.0-cp39-cp39-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.9 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
2eb8678c921ffb53f71f8bda7e0dbc721fca215e2a503a53477d830f772df268
|
|
BLAKE2b-256 checksum How to use checksums |
fb618b3409e60f46e0fc9d2ca94550eeef91d90364e3c5e7e6ca1856ce6359d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 19, 2026.
Transparency logSecurity for fusemesh 0.2.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
All 7 files in this release have been uploaded with provenance metadata.
Attestation for fusemesh-0.2.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 Oct 19, 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.