<div dir="ltr">Try the Cell Centers filter.  Out.vtu --&gt; Cell Centers --&gt; Glyph.<br><br>Pat<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 16, 2013 at 10:10 PM,  <span dir="ltr">&lt;<a href="mailto:pieter@redpanda.nl" target="_blank">pieter@redpanda.nl</a>&gt;</span> wrote:<br>

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