pymeshfix.MeshFix.load_arrays#

MeshFix.load_arrays(v, f)#

Loads triangular mesh from vertex and face numpy arrays.

Both vertex and face arrays should be 2D arrays with each vertex containing XYZ data and each face containing three points.

Parameters:
  • v (np.ndarray) – n x 3 vertex array.

  • f (np.ndarray) – n x 3 face array.