Approximate convex decomposition of 3D meshes
Project description
miniacd
miniacd decomposes watertight 3D meshes into convex components which aim to be a good approximation of the input shape. It is a compact and high performance implementation of the CoACD algorithm described by Wei et al. and implemented in the CoACD repository.
Setup
Run directly with uv:
uvx miniacd --help
Or, use pip to install into your local environment:
pip install miniacd
miniacd --help
Or, install a prerelease version:
- Download a recent
.whlfrom GitHub Releases - Run
pip install miniacd<...>.whl(replace<...>with the actual filename) - Test it:
miniacd --help
Building Locally
git clone git@github.com:kylc/miniacd.git
cd miniacd
# Build the Rust library
cargo build --release
# OR build a Python wheel
pip wheel .
Usage
You can use the miniacd command to process your mesh files. It has wide support for input and output formats, provided by trimesh. A typical invocation looks like this:
miniacd input_mesh.obj --output-dir output/ --threshold 0.1
If you have more specific needs, you can use miniacd as a Python library. See cli.py for an example. You can also access the internals by using miniacd as a Rust library.
References
Xinyue Wei, Minghua Liu, Zhan Ling, and Hao Su. 2022. Approximate convex decomposition for 3D meshes with collision-aware concavity and tree search. ACM Trans. Graph. 41, 4, Article 42 (July 2022), 18 pages. https://doi.org/10.1145/3528223.3530103
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 miniacd-0.1.4.tar.gz.
File metadata
- Download URL: miniacd-0.1.4.tar.gz
- Upload date:
- Size: 109.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1832a7ddc444f6d51b6f96e9cf5f03e5bb4197f40a05330299b3b6f3ba790cc1
|
|
| MD5 |
4741a532e1bea8bac2dada8672b84e42
|
|
| BLAKE2b-256 |
26519aca91e10f4ff06ba398776b5ca622b71307ca5630d03338bcc3d54d5d82
|
File details
Details for the file miniacd-0.1.4-cp39-abi3-win_amd64.whl.
File metadata
- Download URL: miniacd-0.1.4-cp39-abi3-win_amd64.whl
- Upload date:
- Size: 363.7 kB
- Tags: CPython 3.9+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2dbc242978ca3718dd1b4c19d88accd480b82d5bb1692ab28eaf42669ba6e1a
|
|
| MD5 |
7682b9517146823d9b13ad8a2b295aa3
|
|
| BLAKE2b-256 |
5880349fc6776ce44febcd694be075481a878cb07081a460a6282f6a5bbddf0f
|
File details
Details for the file miniacd-0.1.4-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: miniacd-0.1.4-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 519.0 kB
- Tags: CPython 3.9+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e655e283fd758447114baa77e9cba6bc231b5da0bc80a4b9160f58c3f0ad4d88
|
|
| MD5 |
78746002d764e283150181c5671a339c
|
|
| BLAKE2b-256 |
e5947f7b0de84ac41dac78ccd7b15ab36b47c259f059a230219ee3dd1196d8d3
|
File details
Details for the file miniacd-0.1.4-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: miniacd-0.1.4-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 508.7 kB
- Tags: CPython 3.9+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f09e296131a3f8a7bc6d6a2134aca0d2c1e8ffdc3c22fce2d282c8d493ee161
|
|
| MD5 |
8393b6c4caa3729b6a83e044a739fc87
|
|
| BLAKE2b-256 |
a1a7a5b6821a57133d692448505e280157b3709b62970022cb69700cea6f8ec9
|
File details
Details for the file miniacd-0.1.4-cp39-abi3-macosx_10_12_universal2.whl.
File metadata
- Download URL: miniacd-0.1.4-cp39-abi3-macosx_10_12_universal2.whl
- Upload date:
- Size: 887.1 kB
- Tags: CPython 3.9+, macOS 10.12+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6c2d883d1d1c60bd02a0763c6406f448ac1ffbaf81e418f5f83d007d22543c4
|
|
| MD5 |
e0524b9c595c3e3fcf09a9d9510892bc
|
|
| BLAKE2b-256 |
ef5ef0267c3a9851c3076337a29c4ed742643adb0cc07b787ec68b21fec4d16f
|