Skip to content

trimesh/vhacdx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages

  • C++ 99.0%
  • Python 1.0%