Skip to main content

miniacd

MIT Apache ci python PyPI

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.

image

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:

  1. Download a recent .whl from GitHub Releases
  2. Run pip install miniacd<...>.whl (replace <...> with the actual filename)
  3. 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

Metadata

Release files for miniacd 0.1.5

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

Source distribution (sdist)

Source distribution for miniacd 0.1.5
File Size Uploaded
miniacd-0.1.5.tar.gz 109.7 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for miniacd 0.1.5
File
miniacd-0.1.5-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details
miniacd-0.1.5-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details
miniacd-0.1.5-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details
miniacd-0.1.5-cp39-abi3-macosx_10_12_universal2.whl CPython 3.9 abi3 macOS 10.12+ universal2 (ARM64, x86-64) Details

Total release size: 2.4 MB

Release files / miniacd-0.1.5.tar.gz

Download URL miniacd-0.1.5.tar.gz
Size 109.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e1c04c6cded47c7a188e71593783b7b4374c76f1d6f6b2e82c09aaed9e0e8153
BLAKE2b-256 checksum
How to use checksums
b8c14b937efe6ddec64c1b6383b8bb1d53647c0900f2cd419ffd9d0a5a1eaf3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.13.1

Release files / miniacd-0.1.5-cp39-abi3-win_amd64.whl

Download URL miniacd-0.1.5-cp39-abi3-win_amd64.whl
Size 367.6 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
228bbb96ec54a3dac68b6b7d1c6ea1a39d5e9b6749843f5aa1b663ce4dd92214
BLAKE2b-256 checksum
How to use checksums
1a1a596628aa89bff51eeb4de91ab1869724e18abace5fd881cbdcd0d63221ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.13.1

Release files / miniacd-0.1.5-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL miniacd-0.1.5-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 521.5 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
8b930a4e2d35942861806e5dc8e30ea037c8750b03c7b752e31d058d0fe40a47
BLAKE2b-256 checksum
How to use checksums
7bda7925fc73d853fd99d020da21b07d400695ae8875e92f7fa2939524d984f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.13.1

Release files / miniacd-0.1.5-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL miniacd-0.1.5-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 515.3 kB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
1235a84bde0bdf9ac963fa3215ba66f188a43bcb6ac7fdbb80056ef1165b3b0e
BLAKE2b-256 checksum
How to use checksums
d17b4552c72ea5eb7d3195dc5adc51789100835037bcb3d7ebaf7a04828f78d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.13.1

Release files / miniacd-0.1.5-cp39-abi3-macosx_10_12_universal2.whl

Download URL miniacd-0.1.5-cp39-abi3-macosx_10_12_universal2.whl
Size 891.6 kB
Tags CPython 3.9 abi3 macOS 10.12+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
4eba7bf7fe6b9b91904b2c4b8fb88f55e75f37d11aa26d90ce9569097903546a
BLAKE2b-256 checksum
How to use checksums
4f4b501793a4dfc4bced10508ff3fc75fc16fffdb90af9bfe635667f3b8ad9af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.13.1

Release history Release notifications | RSS feed

This release

0.1.5 This release

5 release files

0.1.4

5 release files

0.1.3

5 release files

0.1.2

5 release files

0.1.1

5 release files

0.1.0

3 release files

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