Could you tell me how do I initialize triangular mesh based on np array with coordinates of vertices and np array with triangles (it contains triples of indices of vertices from first array)?
Could be done in VTK or any other Python library, the final goal is to do decimation on this mesh.
Thank you.
A solution using
vedo
which is based on vtk:https://github.com/marcomusy/vedo/blob/master/examples/basic/buildmesh.py