pyvista / tetgen

A Python interface to the C++ TetGen library to generate tetrahedral meshes of any 3D polyhedral domains
http://tetgen.pyvista.org
Other
218 stars 32 forks source link

Creating Voronoi partitions #8

Open banesullivan opened 5 years ago

banesullivan commented 5 years ago

Is it possible to create Voronoi partitions using this Python wrapper of Tetgen? For example, from the Tetgen website:

thepart-vd

smrfeld commented 5 years ago

Same question

banesullivan commented 5 years ago

Hi @smrfeld - thanks for letting us know you're also interested in creating Voronoi partitions with tetgen. This is something that we definitely plan to implement but have let fall to the bottom of the todo list with some pressing issues/feature requests in the main PyVista library.

If you're familiar with using the C++ Tetgen library and have clues on how this is done, we'd greatly appreciate your insight!

ShichaoJin commented 5 years ago

Hi @banesullivan , Is it possible to create sphere from 3D points? Moreover, can we use the tetgen library to calculate the volume of the whole sphere and any selected partion. Thx in advance!

banesullivan commented 5 years ago

Hi @ShichaoJin, thanks for your interest! Your question seems a bit unrelated to this issue about Voronoi partitions and actually something the PyVista might be able to handle without TetGen.

Would you please post a new issue in the PyVista support forum (link below) with your question and an example set of points from which you'd like to create a sphere? That support forum provides a place to ask questions like yours and be able to discuss the use of all software in the PyVista ecosystem.

https://github.com/pyvista/pyvista-support

akaszynski commented 4 years ago

Voronoi patterns are as of yet unsupported with tetgen. We can consider adding this at some later date.