Volume-based mesh proxy generator. Voxelize, marching-cubes, smooth, remesh. Fast, watertight, hands-off.
Project description
anvil-reduce
Volume-based mesh proxy generator: voxelize, marching cubes, smooth, remesh. Fast, watertight, hands-off. Native Rust core, Python bindings via PyO3.
Install
pip install anvil-reduce
Inside DCCs:
mayapy -m pip install anvil-reduce # Maya
hython -m pip install anvil-reduce # Houdini
# Blender: install into the addon's bundled Python or vendor the wheel
Quick start
One-shot file pipeline (the path most pipeline TDs want):
from anvil_reduce import proxy_from_path
result = proxy_from_path(
"hero.obj",
"hero_proxy.obj",
quality="balanced", # "fast" | "balanced" | "high"
transfer_normals=True,
)
print(f"{result['input_faces']} -> {result['output_faces']} in "
f"{result['wall_seconds']:.2f}s")
NumPy-driven workflow:
import numpy as np
from anvil_reduce import Mesh, generate_proxy
mesh = Mesh.from_numpy(positions, indices) # (N,3) f64, (M,3) u32
proxy = generate_proxy(mesh, quality="balanced", target_faces=20_000)
positions, indices = proxy.positions(), proxy.indices()
Quality presets
| Preset | voxel_res | smooth | remesh | sdf |
|---|---|---|---|---|
| fast | 64 | 10 | 0 | off |
| balanced | 128 | 10 | 3 | off |
| high | 256 | 15 | 5 | on |
Override individual knobs by passing them explicitly. target_faces auto-picks
voxel_res. dilation controls hull tightness (0 = tight, 1-3 = looser).
See https://github.com/voidreamer/anvil-reduce for the full project.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file anvil_reduce-0.1.0-cp39-abi3-win_amd64.whl.
File metadata
- Download URL: anvil_reduce-0.1.0-cp39-abi3-win_amd64.whl
- Upload date:
- Size: 899.6 kB
- Tags: CPython 3.9+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9f6f8385243adf8fb5263dc62f05648457afa95c3d621e1535f5c137387c88c
|
|
| MD5 |
22c15696373793138ee606a19ef4b961
|
|
| BLAKE2b-256 |
6e6607a0d969d3497d576270123d0664e5b793831dcf63e8667d36a0fe2a649f
|
Provenance
The following attestation bundles were made for anvil_reduce-0.1.0-cp39-abi3-win_amd64.whl:
Publisher:
wheels.yml on voidreamer/anvil-reduce
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
anvil_reduce-0.1.0-cp39-abi3-win_amd64.whl -
Subject digest:
e9f6f8385243adf8fb5263dc62f05648457afa95c3d621e1535f5c137387c88c - Sigstore transparency entry: 1478437099
- Sigstore integration time:
-
Permalink:
voidreamer/anvil-reduce@c2c6efde1e9c9c80add2bfc890d6932305c9b4f8 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/voidreamer
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@c2c6efde1e9c9c80add2bfc890d6932305c9b4f8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file anvil_reduce-0.1.0-cp39-abi3-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: anvil_reduce-0.1.0-cp39-abi3-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.9+, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0207907b125121a2af46476534fb192e28c4f3d79fe24b736ffddbdcf61bb5eb
|
|
| MD5 |
d1acb206c4e116738b2072341cfaa0b5
|
|
| BLAKE2b-256 |
d6667e3a40218b3d69f74e408b328bf804903695312f3d5542c2422641bacf6d
|
Provenance
The following attestation bundles were made for anvil_reduce-0.1.0-cp39-abi3-manylinux_2_28_x86_64.whl:
Publisher:
wheels.yml on voidreamer/anvil-reduce
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
anvil_reduce-0.1.0-cp39-abi3-manylinux_2_28_x86_64.whl -
Subject digest:
0207907b125121a2af46476534fb192e28c4f3d79fe24b736ffddbdcf61bb5eb - Sigstore transparency entry: 1478437255
- Sigstore integration time:
-
Permalink:
voidreamer/anvil-reduce@c2c6efde1e9c9c80add2bfc890d6932305c9b4f8 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/voidreamer
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@c2c6efde1e9c9c80add2bfc890d6932305c9b4f8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file anvil_reduce-0.1.0-cp39-abi3-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: anvil_reduce-0.1.0-cp39-abi3-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 933.4 kB
- Tags: CPython 3.9+, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2de1d1f2ccf73bed5dab6b1365c97c639fbc6aeff97bbcf9513f84250e82d0db
|
|
| MD5 |
9cd995346e3f4fc2bdbb773cb65df7c7
|
|
| BLAKE2b-256 |
0766af3d1f48d0bb67a55c027cbffc63fa2cd2c961b9d5640b8d860523aeddbc
|
Provenance
The following attestation bundles were made for anvil_reduce-0.1.0-cp39-abi3-manylinux_2_28_aarch64.whl:
Publisher:
wheels.yml on voidreamer/anvil-reduce
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
anvil_reduce-0.1.0-cp39-abi3-manylinux_2_28_aarch64.whl -
Subject digest:
2de1d1f2ccf73bed5dab6b1365c97c639fbc6aeff97bbcf9513f84250e82d0db - Sigstore transparency entry: 1478437419
- Sigstore integration time:
-
Permalink:
voidreamer/anvil-reduce@c2c6efde1e9c9c80add2bfc890d6932305c9b4f8 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/voidreamer
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@c2c6efde1e9c9c80add2bfc890d6932305c9b4f8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file anvil_reduce-0.1.0-cp39-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: anvil_reduce-0.1.0-cp39-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 896.7 kB
- Tags: CPython 3.9+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9dbd1179b627481338c1010e7dfdba2fc9e734543518f5f878d92da38bae79f7
|
|
| MD5 |
013fece43a6d3e1d24abe1231ca11e7e
|
|
| BLAKE2b-256 |
9b921511e24974572d46dccd2268cddc28527a177075589080a08ddc6e639dab
|
Provenance
The following attestation bundles were made for anvil_reduce-0.1.0-cp39-abi3-macosx_11_0_arm64.whl:
Publisher:
wheels.yml on voidreamer/anvil-reduce
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
anvil_reduce-0.1.0-cp39-abi3-macosx_11_0_arm64.whl -
Subject digest:
9dbd1179b627481338c1010e7dfdba2fc9e734543518f5f878d92da38bae79f7 - Sigstore transparency entry: 1478437522
- Sigstore integration time:
-
Permalink:
voidreamer/anvil-reduce@c2c6efde1e9c9c80add2bfc890d6932305c9b4f8 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/voidreamer
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@c2c6efde1e9c9c80add2bfc890d6932305c9b4f8 -
Trigger Event:
push
-
Statement type: