<div dir="ltr">ParaView does a weird thing, in the "Color By" drop down menu, it show an array named "cellNormals" but this array doesn't actually exist on the data object, and it doesn't appear in the information tab. So, as Berk said, you should apply the Generate Surface Normals filter, and make sure you check the "Compute Cell Normals" check box. Then you can use the "Cell Centers" to generate point data at the cell centers. Then you can use the Glyph filter to draw the arrows for the cell normals.<br>
<br>Pat<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 16, 2013 at 10:03 AM, Berk Geveci <span dir="ltr"><<a href="mailto:berk.geveci@kitware.com" target="_blank">berk.geveci@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Does the file actually contain normals? I am guessing not. In that case, do:<div><br></div><div>Extract Surface</div>
<div>Generate Surface Normals</div><div>Glyph</div><div><br></div>
<div>If you had a vtp file (polydata) instead of vtu (unstructured grid), you wouldn't need to Extract Surface.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-berk</div></font></span></div><div class="HOEnZb">
<div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Apr 15, 2013 at 7:27 PM, Pieter Barendrecht <span dir="ltr"><<a href="mailto:pieter@redpanda.nl" target="_blank">pieter@redpanda.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
I have just imported a 3D parametric surface in Paraview (from a .VTU file generated by a Python script), and I'm wondering how to display the cellNormals as actual vectors. Since a cellNormal has an X, Y and Z component, it should be possible to use these three scalar values to create a vector, pointing from the corresponding cell.<br>
<br>
I know I can create a vector field with the Glyph function, but I'm not sure how to continue from there. I cannot select any Scalars or Vectors from the two dropdown menus/lists (they are enabled but there is nothing to select).<br>
<br>
Any ideas on how to proceed would be very welcome!<br>
<br>
Best,<br>
Pieter<br>
<br>
PS: I'm using Paraview 3.98.1 on a Linux machine.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>