Hi Andy, Thanks for the info! I will check it as soon as I am back at the office. Will let you know if it works for me.
Kind regards, Marco On Tue, Dec 17, 2013 at 7:00 PM, Andy Bauer <andy.ba...@kitware.com> wrote: > Hi Marco, > > I recently added the ability to iterate through time steps in the > programmable filter. It's not a feature which we are widely promoting due > to its complexity though. I've attached a state file and a data file that > should demonstrate it. Note that this has been added recently so it may > only work with the PV4.1 release candidate and later. > > Regards, > Andy > > > On Tue, Dec 17, 2013 at 10:39 AM, Marco Nawijn <naw...@gmail.com> wrote: > >> Dear Cory, >> >> I am seriously impressed! I cannot wait to check it out and play around >> with it. >> >> Now I have only two wishes left :). For those who are interested: >> 1. I would like to be able to dynamically update (e.g. add timestep) >> Paraview without >> blocking the user interface. Use-case for me is to allow immediate >> correlation between >> simulations and physical tests (aerospace certification testing) >> 2. More feature rich annotation of points and cells. Same reason as >> above. I would for example >> >> >> On Tue, Dec 17, 2013 at 4:29 PM, Cory Quammen >> <cory.quam...@kitware.com>wrote: >> >>> Auré Lien, >>> >>> Thanks for the feedback, >>> >>> The Python View could certainly consume output from a >>> ProgrammableFilter. Did you have another way in mind to use matplotlib >>> from within a programmable filter? I don't think anything would stop >>> you from doing so, but to have any matplotlib plots show up in a >>> ParaView window, you would need to have your matplotlib code in the >>> Python View script. >>> >>> You can access the Python View from the Python shell, but it might be >>> a little awkward. You would have to set the script in the Python View >>> as a string, e.g. >>> >>> >>> view =paraview.simple.CreateView("PythonView") >>> >>> view.Script = """ >>> ... def setup_data(view): >>> ... print "setup_data" >>> ... >>> ... def render(view, figure): >>> ... print "render" >>> ... """ >>> >>> You could imagine loading a matplotlib script this way, perhaps. >>> >>> Best, >>> Cory >>> >>> On Tue, Dec 17, 2013 at 10:08 AM, Aurélien Marsan <aur.mar...@gmail.com> >>> wrote: >>> > Wow ! So great ! A very popular python feature that was missing in >>> Paraview. >>> > >>> > Juste one question : will matplotlib also be directly accessible from a >>> > ProgrammableFilter or from the python console ? >>> > >>> > Many thanks, >>> > >>> > A. Marsan >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://www.paraview.org/mailman/listinfo/paraview >>> >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://www.paraview.org/mailman/listinfo/paraview >> >> >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview