pymeshfix.PyTMesh.load_array#

PyTMesh.load_array(v, f)#

Load points from numpy vertices and faces arrays.

The loader automatically reconstructs a manifold triangle connectivity.

Parameters:
  • v (np.ndarray) – Numpy array containing vertices. Sized n x 3

  • f (np.ndarray) – Numpy array containing mesh faces. Sized n x 3

Examples

>>> tin.load_array(v, f)