MatthewFlamm / pyransame

PYthon RAndom SAmpling for MEshes
https://matthewflamm.github.io/pyransame/
MIT License
12 stars 0 forks source link

Support polyhedron cell type #52

Closed MatthewFlamm closed 1 year ago

MatthewFlamm commented 1 year ago

Can triangulate each face and then form tetrahedra to center.

MatthewFlamm commented 1 year ago

Until pyvista supports vtkPolyhedron construction in Unstructured Grid, testing will be more difficult here. See https://github.com/pyvista/pyvista/issues/4477