I think this is a good idea and would be a useful example. I'm not sure how difficult it is to create an account to modify that page but if you want to put together an example I'll make sure it gets added to the wiki.<br>
<br>Andy<br><br><div class="gmail_quote">On Mon, Sep 12, 2011 at 12:11 AM, Brandon, Mark <span dir="ltr"><<a href="mailto:mark.brandon@yale.edu">mark.brandon@yale.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I have been experimenting with the python calculator in Paraview 3.10.1, using the examples at the wiki page <a href="http://www.vtk.org/Wiki/ParaView/Users_Guide/Python_Calculator" target="_blank">http://www.vtk.org/Wiki/ParaView/Users_Guide/Python_Calculator</a>.<br>
In particular, I was trying to figure out how to calculate the difference between two 3D point arrays. The sections on Accessing Data and Comparing Multiple Datasets seem to provide all that is needed to do this task.<br>
However, I found the instructions there to be incomplete. It took me several hours to figure out that one has to highlight in the pipeline those multiple inputs you want to use before selecting the PythonCalculator filter.<br>
In other words, the variables inputs[0], inputs[1], etc refer to the first of the highlighted pipeline entries, the second entry, etc.<br>
It would be really helpful if the wiki included a full worked example, with this information as well.<br>
Best,<br>
Mark<br>
<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>