On Tue, Jan 29, 2013 at 01:47:20PM +0000, Ee Y wrote: > from enthought.tvtk.api import tvtk > r = tvtk.UnstructuredGridReader() > r.file_name = 'file001.vtk' > r.update()
from mayavi import mlab src = mlab.pipeline.open('file001.vtk') flow = mlab.pipeline.streamline(src) mlab.show_pipeline() Then use GUI to set parameters and Co. Hope this helps, Gaƫl ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ MayaVi-users mailing list MayaVi-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mayavi-users