Oven logo

Oven

vhacdx0.0.8.post1

Published

Python bindings for VHACD

pip install vhacdx

Package Downloads

Weekly DownloadsMonthly Downloads

Project URLs

Requires Python

>=3.7

vhacdx

Python bindings for V-HACD

A very simple and raw python binding for V-HACD that is forked from thomwolf/pyVHACD which generates an approximate convex decomposition of a triangle mesh.

Contains a single method: output = compute_vhacd(points, faces) which take as inputs:

  • points: a (N, 3) Numpy array of double containing the coordinates of the N vertex of the mesh
  • face: a (M,) Numpy array of uint32 containing the face vertxe indices were M is 3 times the number of faces

Gives as output a list (number of convex hulls) of pairs of points-faces for each convex hull.

To install

pip install vhacdx