[vtkusers] XYZ ASCII to VTK
fred
fredmfp at gmail.com
Mon Apr 14 13:00:31 EDT 2008
AL a écrit :
> I am looking to visualize my data (ascii file x,y,z) with MayaVi or
> VisIt. Both use vtk format as input. Does anybody know how to convert my
> ascii xyz file into vtk file readable by MayaVi and/or VisIt.
Maybe...
If you have TVTK installed, and you are able to convert your data in a
numpy array, I have a little python script that does the trick : write a
XML PolyData file from a numpy array, that mayavi2 will read...
--
http://scipy.org/FredericPetit
More information about the vtkusers
mailing list