Python package, binding the primtive-based mesh segmentation described in the paper "Hierarchical mesh segmentation based on fitting primitives" by Marco Attene et al. The used code is an adaptation of its source code.
Install package with pip
> pip install pyhfp
For an example usage of the package refer to the folder ./example
.
-
Go to the example folder
> cd example
-
Install requirements, preferably in a virtual environment
> pip install requirements.txt
-
Run the example script
> python run.py