Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 458 Bytes

README.md

File metadata and controls

14 lines (8 loc) · 458 Bytes

Python2Vtk

This repo contains some Python functions that allows us to visualize objects on paraview (.vtk format)

Function 1: WritePython2Vtk: allows us to write a mesh from python to .vtk format.

  ReadVtk2Python:  read .vtk file of a surface generated by WritePython2Vtk.

How to run:

C,F,D,N=ReadVtkPython('Corrected.vtk')# coordinates, faces, data, Normal.

WritePython2Vtk('WriteCorrected.vtk', C, F, N, D, 'Cluster')