On 1/31/17 7:22 PM, Daniela wrote:
> Hello,
>
> I have a question about masking in triangular meshes (I also posted this
> question on stack overflow:
> http://stackoverflow.com/questions/41948360/mayavi-mlab-masking-points-in-triangular-mesh
> but received no answers).
>            
> I need to generate an irregular triangular mesh with Mayavi, and mask some of
> the points. If I use the mask option with a normal mesh, I get what I want,
> but I'm currently unable to get the same with an irregular mesh.
> The relevant piece of code I'm using (modified from an example in the
> documentation) is:

Sorry for such a slow response.  Thanks for including the complete code. It
looks like triangular_mesh does not support masking at all.  The documentation
is misleading because it is largely automated documentation.  The mask is not
used for this source type.  We'd either need to add this support or clear up the
documentation!  Sorry about that.

Regards,
Prabhu
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
MayaVi-users mailing list
MayaVi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to