Skip to content

fayolle/PySDFGen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PySDFGen

Python wrapper to SDFGen

Installation

Install from source

pip install .

Dependencies

Pybind11 for compiling the C++ source and NumPy.

Example of use

A script and an example test mesh can be found in examples/.

cd examples
python PySDFGen_example.py ./data/cuboids.off ./data/cuboids.vtk

It will compute the SDF for the triangle mesh cuboids.off and save it in the file cuboids.vtk. The legacy VTK file format is used. The resulting SDF can be visualized with paraview.

About

Python wrapper to SDFGen

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published