On Tue, Aug 18, 2009 at 07:19:12PM -0400, Jerzy Jalocha N wrote:
> Excellent! That works perfectly here, with standard nested Python
> lists and Mayavi 3.1.0.
> I can also save to VTI from within Maya VI, now, although, it's an
> encoded format, so I can't compare it with my version.
> From a workflow point of view, I'd still prefer to create output to an
> intermediate (portable) file before going to Maya VI, but since I'm
> just starting to explore the software, it's OK for now.
I don't know if it is in 3.1.0, but in recent versions of Mayavi, you can
do:
src = mlab.pipeline.array2d_source(data, figure=False)
src.save_output('foo.vtk')
to save the dataset that you created.
> Maybe it's a bug in Maya VI? Now it complains about a missing
> 'WholeExtent' attribute in the 'ImageData' element, even if it's
> obviously there. The whole VTK import seems to be rather flaky, as it
> didn't complain at all when inadvertently I fed it crap.
Could you give me a minimal example to reproduce the problem (code
please, so that I can run it). It is quite hard to track down what that
might be.
Cheers,
Gaƫl
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users