This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/env python3 | |
| # Convert vtkUnstructuredGrid VTK file to Wavefront OBJ file or STL file | |
| import sys | |
| import os | |
| import vtk | |
| if len(sys.argv) != 3: | |
| print('Usage: ', sys.argv[0], 'in.vtk out.obj') | |
| sys.exit() |
OlderNewer