Skip to content
/ pyP2Mesh Public

python wrapper for finding a point's closest point on a triangle mesh

Notifications You must be signed in to change notification settings

ai4ce/pyP2Mesh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyP2Mesh

Overview

This is the python3 wrapper for projecting a set of points onto a mesh, using libigl.

Currently it is tested under Windows10(VC2017, x64), and python3.6 in Anaconda3.

Version

0.0.1

Installation

  1. prepare your environment:
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
  1. Clone libigl.

  2. Change libigl_incs in setup.py accordingly

  3. compile the project:

python setup.py build_ext --inplace
  1. Enjoy!
python demo.py

This will generate a bunny_p2mesh.vtk file, which visualizes the projection using vtk file. VTK file can be viewed using ParaView.

Contact

Chen Feng

Feel free to email any bugs or suggestions to help us improve the code. Thank you!

Releases

No releases published

Packages

No packages published