mayavi extract isosurface data

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

mayavi extract isosurface data

Yohann Morille
Hi !

I display an isosurface with this line

iso = mlab.contour3d(X,Y,Z,data, contours=[0.001])

but I also want to have an access to the surface data displayed (vertices, triangles)
to write it in a text file.

I have found only some information like the number of points:
iso.mlab_source.dataset.number_of_points
but I can not find the data themselves.

If you have an idea ...
Thanks !

Y.


_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev