Re: [Paraview] new memory inspector panel documentation
Burlen The inspector is great and I've been using it extensively to monitor some of the big jobs I've run recently. It really helps knowing how much memory you've actually used on each node - and more importantly, how close you are to getting a job killed. Thanks for taking the time to contribute it. JB -Original Message- From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org] On Behalf Of burlen Sent: 01 December 2012 01:16 To: paraview@paraview.org Subject: [Paraview] new memory inspector panel documentation Documentation for the new memory inspector panel can be found here: http://paraview.org/Wiki/ParaView/Memory_Inspector_Panel The new panel reports per-process usage and provides some additional debugging tools. It should be available in the 3.98 release. Burlen ___ 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
Re: [Paraview] (no subject)
Here is the script that you should run from paraview.simple import * data = XMLPolyDataReader( FileName=['/.../file.vtp'] ) smooth = Smooth(data) smooth.NumberofIterations = 200 writer = CreateWriter(foo.ply, smooth) writer.FileType = 'Ascii' writer.UpdatePipeline() On Fri, Nov 30, 2012 at 3:10 PM, Timothy Cale drtsc.p...@gmail.com wrote: Sebastien: The data file I attached to the previous version of this update note was too large. I am resending the note with that file removed. Tim -- Forwarded message -- From: Timothy Cale drtsc.p...@gmail.com Date: Fri, Nov 30, 2012 at 1:03 PM Subject: Re: [Paraview] (no subject) To: Sebastien Jourdain sebastien.jourd...@kitware.com Cc: paraview@paraview.org paraview@paraview.org Update: I am able to write a ply file using CreateWriter (see attached first_stab.py and nanovtp files). But the ply file is in binary. I looked around for more than an hour to find out how to write the file in ascii - to no avail. Any hints? Aside: When I put in 0 (for ascii) as a third arg. to CreateWriter, pvpython complained about having more than 2 arguments. I note that in the paraview users guide, CreateWriter has several arguments in some cases. help(CreateWriter) indicates that more than 2 arguments can be used: help(CreateWriter) Help on function CreateWriter in module paraview.simple: CreateWriter(filename, proxy=None, **extraArgs) Creates a writer that can write the data produced by the source proxy in the given file format (identified by the extension). If no source is provided, then the active source is used. This doesn't actually write the data, it simply creates the writer and returns it. Regards, Tim On Fri, Nov 30, 2012 at 10:15 AM, Timothy Cale drtsc.p...@gmail.comwrote: Sebastien: Good question: My goal is to have a script which smooths results between simulation steps (fortran codes). I use paraview to view results, and the smoothing filter in paraview seems to do what I want. I want to start with a Trace-generated python script, and edit it to write the vertices and element info to a file (.ply would be nice) that the next code can read. So, fortunately for me (in some sense), I decided to upgrade my ubuntu OS to 12.10. This has paraview 3.14.1-6build1 on its software list (aptitude). This version corrected a bug (with pvpython) in the version of paraview 3.14 that I was using. (I also spent a day trying to get/install other versions. That was not very successful.) Now if I import the trace generated py file, it pops up (and stays). Not a very good image, but it is a start! Being new to python and paraview, this is quite a step. Any suggestions as to how to write vertex/node info would be appreciated. Thanks, Tim On Thu, Nov 29, 2012 at 7:41 PM, Sebastien Jourdain sebastien.jourd...@kitware.com wrote: I don't know ? what your script is supposed to do ? Render an image and quit ? On Thu, Nov 29, 2012 at 1:19 PM, Timothy Cale drtsc.p...@gmail.comwrote: I am using paraview 3.14 (64 bit, ubuntu 12.04 vm on a MBP). I am trying to run pvpython to view .py files generated using Trace: 'which' pvpython' yields: /usr/bin/pvpython 'pvpython' yields: Error converting executable file /usr/bin/../lib/paraview/pvpython to real path: No such file or directory So, /usr/bin/python seems to be looking for /usr/lib/paraview/pvpython Which is indeed not there. I uninstalled (purged) and installed 3.14 again. Same thing. BTW: I did see the notes regarding 3.14.1-2 from ~6 months ago, but cannot tell which 3.14 binary installer is on the Paraview download page. Nevertheless, I downloaded the 3.14 tar-ball. When I run a .py script generated using trace, an image pops up for a second, then disappears. BTW: The same thing happens with 3.98, at least on a companion machine. What am I missing? Thanks, Tim ___ 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
Re: [Paraview] How to install into /usr/lib64 with 3.98.0 RC3?
Glad we find the solution. On Fri, Nov 30, 2012 at 4:03 PM, Orion Poplawski or...@cora.nwra.comwrote: On 11/29/2012 07:27 PM, Sebastien Jourdain wrote: That should work but you can also try with VTK_INSTALL_LIB_DIR. Looks like they are replaced with: -DVTK_INSTALL_INCLUDE_DIR -DVTK_INSTALL_ARCHIVE_DIR -DVTK_INSTALL_LIBRARY_DIR which seems to work. So where those library being copied then ? Thanks, Seb On Wed, Nov 28, 2012 at 5:35 PM, Orion Poplawski or...@cora.nwra.com mailto:or...@cora.nwra.com wrote: In the past I've made paraview install libraries into /usr/lib64/paraview with -DPV_INSTALL_LIB_DIR:PATH=__**lib64/paraview, but this appears to no longer work. How can I do this now? -- Orion Poplawski Technical Manager 303-415-9701 x222 tel:303-415-9701%20x222 NWRA, Boulder Office FAX: 303-415-9702 tel: 303-415-9702 3380 Mitchell Lane or...@nwra.com mailto:or...@nwra.com Boulder, CO 80301 http://www.nwra.com __**___ Powered by www.kitware.com http://www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/__**opensource/opensource.htmlhttp://www.kitware.com/__opensource/opensource.html http://www.kitware.com/**opensource/opensource.htmlhttp://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/__**ParaViewhttp://paraview.org/Wiki/__ParaView http://paraview.org/Wiki/**ParaView http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/__**mailman/listinfo/paraviewhttp://www.paraview.org/__mailman/listinfo/paraview http://www.paraview.org/**mailman/listinfo/paraviewhttp://www.paraview.org/mailman/listinfo/paraview -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA, Boulder Office FAX: 303-415-9702 3380 Mitchell Lane or...@nwra.com Boulder, CO 80301 http://www.nwra.com ___ 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
Re: [Paraview] (no subject)
Sebastien: Thank you! That indeed what I was looking for. Is there a place where one can find out about (look up) such things? I spent an hour or so yesterday trying to guess writer.FileType='Ascii'. My apologies for not including a subject line on my first submission, and for any confusion due to trying to send a file that is too large. New to the mailing list. Thanks again! Regards, Tim On Sat, Dec 1, 2012 at 8:42 AM, Sebastien Jourdain sebastien.jourd...@kitware.com wrote: Here is the script that you should run from paraview.simple import * data = XMLPolyDataReader( FileName=['/.../file.vtp'] ) smooth = Smooth(data) smooth.NumberofIterations = 200 writer = CreateWriter(foo.ply, smooth) writer.FileType = 'Ascii' writer.UpdatePipeline() On Fri, Nov 30, 2012 at 3:10 PM, Timothy Cale drtsc.p...@gmail.comwrote: Sebastien: The data file I attached to the previous version of this update note was too large. I am resending the note with that file removed. Tim -- Forwarded message -- From: Timothy Cale drtsc.p...@gmail.com Date: Fri, Nov 30, 2012 at 1:03 PM Subject: Re: [Paraview] (no subject) To: Sebastien Jourdain sebastien.jourd...@kitware.com Cc: paraview@paraview.org paraview@paraview.org Update: I am able to write a ply file using CreateWriter (see attached first_stab.py and nanovtp files). But the ply file is in binary. I looked around for more than an hour to find out how to write the file in ascii - to no avail. Any hints? Aside: When I put in 0 (for ascii) as a third arg. to CreateWriter, pvpython complained about having more than 2 arguments. I note that in the paraview users guide, CreateWriter has several arguments in some cases. help(CreateWriter) indicates that more than 2 arguments can be used: help(CreateWriter) Help on function CreateWriter in module paraview.simple: CreateWriter(filename, proxy=None, **extraArgs) Creates a writer that can write the data produced by the source proxy in the given file format (identified by the extension). If no source is provided, then the active source is used. This doesn't actually write the data, it simply creates the writer and returns it. Regards, Tim On Fri, Nov 30, 2012 at 10:15 AM, Timothy Cale drtsc.p...@gmail.comwrote: Sebastien: Good question: My goal is to have a script which smooths results between simulation steps (fortran codes). I use paraview to view results, and the smoothing filter in paraview seems to do what I want. I want to start with a Trace-generated python script, and edit it to write the vertices and element info to a file (.ply would be nice) that the next code can read. So, fortunately for me (in some sense), I decided to upgrade my ubuntu OS to 12.10. This has paraview 3.14.1-6build1 on its software list (aptitude). This version corrected a bug (with pvpython) in the version of paraview 3.14 that I was using. (I also spent a day trying to get/install other versions. That was not very successful.) Now if I import the trace generated py file, it pops up (and stays). Not a very good image, but it is a start! Being new to python and paraview, this is quite a step. Any suggestions as to how to write vertex/node info would be appreciated. Thanks, Tim On Thu, Nov 29, 2012 at 7:41 PM, Sebastien Jourdain sebastien.jourd...@kitware.com wrote: I don't know ? what your script is supposed to do ? Render an image and quit ? On Thu, Nov 29, 2012 at 1:19 PM, Timothy Cale drtsc.p...@gmail.comwrote: I am using paraview 3.14 (64 bit, ubuntu 12.04 vm on a MBP). I am trying to run pvpython to view .py files generated using Trace: 'which' pvpython' yields: /usr/bin/pvpython 'pvpython' yields: Error converting executable file /usr/bin/../lib/paraview/pvpython to real path: No such file or directory So, /usr/bin/python seems to be looking for /usr/lib/paraview/pvpython Which is indeed not there. I uninstalled (purged) and installed 3.14 again. Same thing. BTW: I did see the notes regarding 3.14.1-2 from ~6 months ago, but cannot tell which 3.14 binary installer is on the Paraview download page. Nevertheless, I downloaded the 3.14 tar-ball. When I run a .py script generated using trace, an image pops up for a second, then disappears. BTW: The same thing happens with 3.98, at least on a companion machine. What am I missing? Thanks, Tim ___ 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
Re: [Paraview] new memory inspector panel documentation
Hi John, Thanks! That's great to know, very glad to hear you've found it useful. Burlen On 12/01/2012 03:56 AM, Biddiscombe, John A. wrote: Burlen The inspector is great and I've been using it extensively to monitor some of the big jobs I've run recently. It really helps knowing how much memory you've actually used on each node - and more importantly, how close you are to getting a job killed. Thanks for taking the time to contribute it. JB -Original Message- From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org] On Behalf Of burlen Sent: 01 December 2012 01:16 To: paraview@paraview.org Subject: [Paraview] new memory inspector panel documentation Documentation for the new memory inspector panel can be found here: http://paraview.org/Wiki/ParaView/Memory_Inspector_Panel The new panel reports per-process usage and provides some additional debugging tools. It should be available in the 3.98 release. Burlen ___ 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
Re: [Paraview] (no subject)
Sebastien: As a follow up: Usingwriter.FileType = 'Ascii' did work to complete the script generated by Trace. (first_stab.py) On the other hand, the script you sent did not work, as sent. By comparing the two scripts, and removing/adding back lines of code, the only line I needed to add to your (stand-alone, rather than Trace-generated) script is: DataRepresentation3 = Show() after smoothing. With that line, the slightly modified version of the script you sent is: from paraview.simple import * nanocone_pvd_1_vtp = XMLPolyDataReader( FileName=['/home/tscale/pv_sims/results/nanocone_pvd_1.vtp'] ) Smooth1 = Smooth() Smooth1.NumberofIterations = 200 DataRepresentation3 = Show() writer = CreateWriter(foo2.ply,Smooth1) writer.FileType='Ascii' writer.UpdatePipeline() del writer (Note that I changed the name of the imported data in your script, and added del writer at the end.) I have no clue as to what this line does, but if it is not there, the following message (among a lot of other output) appears: vtkSMWriterFactory (0xc89c10): No matching writer found for extension: ply Thanks again, Tim On Sat, Dec 1, 2012 at 8:42 AM, Sebastien Jourdain sebastien.jourd...@kitware.com wrote: Here is the script that you should run from paraview.simple import * data = XMLPolyDataReader( FileName=['/.../file.vtp'] ) smooth = Smooth(data) smooth.NumberofIterations = 200 writer = CreateWriter(foo.ply, smooth) writer.FileType = 'Ascii' writer.UpdatePipeline() On Fri, Nov 30, 2012 at 3:10 PM, Timothy Cale drtsc.p...@gmail.comwrote: Sebastien: The data file I attached to the previous version of this update note was too large. I am resending the note with that file removed. Tim -- Forwarded message -- From: Timothy Cale drtsc.p...@gmail.com Date: Fri, Nov 30, 2012 at 1:03 PM Subject: Re: [Paraview] (no subject) To: Sebastien Jourdain sebastien.jourd...@kitware.com Cc: paraview@paraview.org paraview@paraview.org Update: I am able to write a ply file using CreateWriter (see attached first_stab.py and nanovtp files). But the ply file is in binary. I looked around for more than an hour to find out how to write the file in ascii - to no avail. Any hints? Aside: When I put in 0 (for ascii) as a third arg. to CreateWriter, pvpython complained about having more than 2 arguments. I note that in the paraview users guide, CreateWriter has several arguments in some cases. help(CreateWriter) indicates that more than 2 arguments can be used: help(CreateWriter) Help on function CreateWriter in module paraview.simple: CreateWriter(filename, proxy=None, **extraArgs) Creates a writer that can write the data produced by the source proxy in the given file format (identified by the extension). If no source is provided, then the active source is used. This doesn't actually write the data, it simply creates the writer and returns it. Regards, Tim On Fri, Nov 30, 2012 at 10:15 AM, Timothy Cale drtsc.p...@gmail.comwrote: Sebastien: Good question: My goal is to have a script which smooths results between simulation steps (fortran codes). I use paraview to view results, and the smoothing filter in paraview seems to do what I want. I want to start with a Trace-generated python script, and edit it to write the vertices and element info to a file (.ply would be nice) that the next code can read. So, fortunately for me (in some sense), I decided to upgrade my ubuntu OS to 12.10. This has paraview 3.14.1-6build1 on its software list (aptitude). This version corrected a bug (with pvpython) in the version of paraview 3.14 that I was using. (I also spent a day trying to get/install other versions. That was not very successful.) Now if I import the trace generated py file, it pops up (and stays). Not a very good image, but it is a start! Being new to python and paraview, this is quite a step. Any suggestions as to how to write vertex/node info would be appreciated. Thanks, Tim On Thu, Nov 29, 2012 at 7:41 PM, Sebastien Jourdain sebastien.jourd...@kitware.com wrote: I don't know ? what your script is supposed to do ? Render an image and quit ? On Thu, Nov 29, 2012 at 1:19 PM, Timothy Cale drtsc.p...@gmail.comwrote: I am using paraview 3.14 (64 bit, ubuntu 12.04 vm on a MBP). I am trying to run pvpython to view .py files generated using Trace: 'which' pvpython' yields: /usr/bin/pvpython 'pvpython' yields: Error converting executable file /usr/bin/../lib/paraview/pvpython to real path: No such file or directory So, /usr/bin/python seems to be looking for /usr/lib/paraview/pvpython Which is indeed not there. I uninstalled (purged) and installed 3.14 again. Same thing. BTW: I did see the notes regarding 3.14.1-2 from ~6 months ago, but cannot tell which 3.14 binary installer is on the Paraview download page. Nevertheless, I downloaded the 3.14 tar-ball. When I run a .py script generated
Re: [Paraview] new memory inspector panel documentation
Just wanted to mentioned that Utkarsh and Sebastien deserve a lot of credit for this too. Their help is always very much appreciated :-) On 12/01/2012 08:59 AM, Burlen Loring wrote: Hi John, Thanks! That's great to know, very glad to hear you've found it useful. Burlen On 12/01/2012 03:56 AM, Biddiscombe, John A. wrote: Burlen The inspector is great and I've been using it extensively to monitor some of the big jobs I've run recently. It really helps knowing how much memory you've actually used on each node - and more importantly, how close you are to getting a job killed. Thanks for taking the time to contribute it. JB -Original Message- From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org] On Behalf Of burlen Sent: 01 December 2012 01:16 To: paraview@paraview.org Subject: [Paraview] new memory inspector panel documentation Documentation for the new memory inspector panel can be found here: http://paraview.org/Wiki/ParaView/Memory_Inspector_Panel The new panel reports per-process usage and provides some additional debugging tools. It should be available in the 3.98 release. Burlen ___ 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
[Paraview] ParticlePathLines Filter
Hello, in Paraview 3.98 the ParticlePathLines Filter is gone away. We use this to show the trajectory of simple particle data (x,y,z), based on ID. Is this intended ? I got it back by copy paste the proxysource from filter.xml in 3.14 (line 6679++) to 3.98. Would it be possible to add back the old ParticlePathlines Filter (with single inputsource and Pathline Particle as output) in 3.98 because I love the webGL scene export in the new Paraview. Thanks, Christian ___ 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
Re: [Paraview] paraview 3.98rc3 configuration error: CheckFortran.cmake missing
This has been fixed and merged into master. Thanks for the info. Andy On Thu, Nov 29, 2012 at 4:34 PM, fbis...@slingshot.co.nz wrote: Thanks Andy, I am not making use of it right now but I am packaging for Gentoo and I will install it for general availability on a cluster down here so I need to know what works what doesn't. Now let's see my build log from last night Francois Quoting Andy Bauer andy.ba...@kitware.com: Hi Francois, Thanks for the information. I added a bug report in case you want to track it at http://paraview.org/Bug/view.**php?id=13693http://paraview.org/Bug/view.php?id=13693. It should be fixed shortly. I'm assuming you're using the coprocessing tools and the fortran interface, otherwise you can turn that off during configuration. Andy On Thu, Nov 29, 2012 at 5:38 AM, Francois Bissey fbis...@slingshot.co.nz **wrote: Hi, so I am trying to configure 3.98rc3 with cmake-2.8.10.1 and I get the following error message in ccmake: CMake Error at CoProcessing/Adaptors/**FortranAdaptors/CMakeLists.** txt:2 (include): include could not find load file: /home/work/fbissey/sandbox/**ParaView/SuperBuild/** CheckFortran.cmake I see that all the content of the superbuild folder is now in a separate tarball. This is fine but should the fortran adaptors depends on something from the superbuild folder? Shouldn't something like CMakeDetermineFortranCompiler.**cmake which comes with cmake be used instead? I also don't remember having this problem in rc1. Francois __**_ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/**opensource/opensource.htmlhttp://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/**ParaView http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/**mailman/listinfo/paraviewhttp://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
Re: [Paraview] (no subject)
You can use the completion in the Python shell of ParaView. Otherwise, you will have to look into the XML file in the source code repository at the following path: src/ParaViewCore/ServerManager/SMApplication/Resources/*.xml to get the list of properties available for each object/proxy that you can build. To figured out writer.FileType, I've used print str(writer.ListProperties()) Seb On Sat, Dec 1, 2012 at 12:51 PM, Timothy Cale drtsc.p...@gmail.com wrote: Sebastien: As a follow up: Usingwriter.FileType = 'Ascii' did work to complete the script generated by Trace. (first_stab.py) On the other hand, the script you sent did not work, as sent. By comparing the two scripts, and removing/adding back lines of code, the only line I needed to add to your (stand-alone, rather than Trace-generated) script is: DataRepresentation3 = Show() after smoothing. With that line, the slightly modified version of the script you sent is: from paraview.simple import * nanocone_pvd_1_vtp = XMLPolyDataReader( FileName=['/home/tscale/pv_sims/results/nanocone_pvd_1.vtp'] ) Smooth1 = Smooth() Smooth1.NumberofIterations = 200 DataRepresentation3 = Show() writer = CreateWriter(foo2.ply,Smooth1) writer.FileType='Ascii' writer.UpdatePipeline() del writer (Note that I changed the name of the imported data in your script, and added del writer at the end.) I have no clue as to what this line does, but if it is not there, the following message (among a lot of other output) appears: vtkSMWriterFactory (0xc89c10): No matching writer found for extension: ply Thanks again, Tim On Sat, Dec 1, 2012 at 8:42 AM, Sebastien Jourdain sebastien.jourd...@kitware.com wrote: Here is the script that you should run from paraview.simple import * data = XMLPolyDataReader( FileName=['/.../file.vtp'] ) smooth = Smooth(data) smooth.NumberofIterations = 200 writer = CreateWriter(foo.ply, smooth) writer.FileType = 'Ascii' writer.UpdatePipeline() On Fri, Nov 30, 2012 at 3:10 PM, Timothy Cale drtsc.p...@gmail.comwrote: Sebastien: The data file I attached to the previous version of this update note was too large. I am resending the note with that file removed. Tim -- Forwarded message -- From: Timothy Cale drtsc.p...@gmail.com Date: Fri, Nov 30, 2012 at 1:03 PM Subject: Re: [Paraview] (no subject) To: Sebastien Jourdain sebastien.jourd...@kitware.com Cc: paraview@paraview.org paraview@paraview.org Update: I am able to write a ply file using CreateWriter (see attached first_stab.py and nanovtp files). But the ply file is in binary. I looked around for more than an hour to find out how to write the file in ascii - to no avail. Any hints? Aside: When I put in 0 (for ascii) as a third arg. to CreateWriter, pvpython complained about having more than 2 arguments. I note that in the paraview users guide, CreateWriter has several arguments in some cases. help(CreateWriter) indicates that more than 2 arguments can be used: help(CreateWriter) Help on function CreateWriter in module paraview.simple: CreateWriter(filename, proxy=None, **extraArgs) Creates a writer that can write the data produced by the source proxy in the given file format (identified by the extension). If no source is provided, then the active source is used. This doesn't actually write the data, it simply creates the writer and returns it. Regards, Tim On Fri, Nov 30, 2012 at 10:15 AM, Timothy Cale drtsc.p...@gmail.comwrote: Sebastien: Good question: My goal is to have a script which smooths results between simulation steps (fortran codes). I use paraview to view results, and the smoothing filter in paraview seems to do what I want. I want to start with a Trace-generated python script, and edit it to write the vertices and element info to a file (.ply would be nice) that the next code can read. So, fortunately for me (in some sense), I decided to upgrade my ubuntu OS to 12.10. This has paraview 3.14.1-6build1 on its software list (aptitude). This version corrected a bug (with pvpython) in the version of paraview 3.14 that I was using. (I also spent a day trying to get/install other versions. That was not very successful.) Now if I import the trace generated py file, it pops up (and stays). Not a very good image, but it is a start! Being new to python and paraview, this is quite a step. Any suggestions as to how to write vertex/node info would be appreciated. Thanks, Tim On Thu, Nov 29, 2012 at 7:41 PM, Sebastien Jourdain sebastien.jourd...@kitware.com wrote: I don't know ? what your script is supposed to do ? Render an image and quit ? On Thu, Nov 29, 2012 at 1:19 PM, Timothy Cale drtsc.p...@gmail.comwrote: I am using paraview 3.14 (64 bit, ubuntu 12.04 vm on a MBP). I am trying to run pvpython to view .py files generated using Trace: 'which' pvpython' yields: /usr/bin/pvpython 'pvpython' yields: Error
Re: [Paraview] new memory inspector panel documentation
Thanks Burlen, I've moved your doc inside the User guide on the wiki. I'll regenerate the PDF of the User Guide for the coming release which will include your contribution. Thanks again, Seb On Sat, Dec 1, 2012 at 1:25 PM, Burlen Loring blor...@lbl.gov wrote: Just wanted to mentioned that Utkarsh and Sebastien deserve a lot of credit for this too. Their help is always very much appreciated :-) On 12/01/2012 08:59 AM, Burlen Loring wrote: Hi John, Thanks! That's great to know, very glad to hear you've found it useful. Burlen On 12/01/2012 03:56 AM, Biddiscombe, John A. wrote: Burlen The inspector is great and I've been using it extensively to monitor some of the big jobs I've run recently. It really helps knowing how much memory you've actually used on each node - and more importantly, how close you are to getting a job killed. Thanks for taking the time to contribute it. JB -Original Message- From: paraview-boun...@paraview.org [mailto:paraview-bounces@** paraview.org paraview-boun...@paraview.org] On Behalf Of burlen Sent: 01 December 2012 01:16 To: paraview@paraview.org Subject: [Paraview] new memory inspector panel documentation Documentation for the new memory inspector panel can be found here: http://paraview.org/Wiki/**ParaView/Memory_Inspector_**Panelhttp://paraview.org/Wiki/ParaView/Memory_Inspector_Panel The new panel reports per-process usage and provides some additional debugging tools. It should be available in the 3.98 release. Burlen __**_ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/** opensource/opensource.htmlhttp://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/**ParaView http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/**mailman/listinfo/paraviewhttp://www.paraview.org/mailman/listinfo/paraview __**_ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/** opensource/opensource.htmlhttp://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/**ParaView http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/**mailman/listinfo/paraviewhttp://www.paraview.org/mailman/listinfo/paraview __**_ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/** opensource/opensource.htmlhttp://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/**ParaView http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/**mailman/listinfo/paraviewhttp://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
[Paraview] OGG support in Paraview 3.98 rc3
Hello all, is it possible to enable OGG-support in the newest version of Paraview? There is a PARAVIEW_ENABLE_FFMPEG option for AVI-files, but I cannot find something similar for OGG-Theora. Thanks, Anton ___ 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
Re: [Paraview] new memory inspector panel documentation
Sebastien, Thanks for putting it in the right place. This morning I've merged the new docs with the old in the user guide to clean it up a bit. I wasn' t sure how important having a consitent look was (eg dialogs/windows in mac style), so I left the old images in the source but commented out in case that is important to you guys. Burlen On 12/01/2012 11:51 AM, Sebastien Jourdain wrote: Thanks Burlen, I've moved your doc inside the User guide on the wiki. I'll regenerate the PDF of the User Guide for the coming release which will include your contribution. Thanks again, Seb On Sat, Dec 1, 2012 at 1:25 PM, Burlen Loring blor...@lbl.gov mailto:blor...@lbl.gov wrote: Just wanted to mentioned that Utkarsh and Sebastien deserve a lot of credit for this too. Their help is always very much appreciated :-) On 12/01/2012 08:59 AM, Burlen Loring wrote: Hi John, Thanks! That's great to know, very glad to hear you've found it useful. Burlen On 12/01/2012 03:56 AM, Biddiscombe, John A. wrote: Burlen The inspector is great and I've been using it extensively to monitor some of the big jobs I've run recently. It really helps knowing how much memory you've actually used on each node - and more importantly, how close you are to getting a job killed. Thanks for taking the time to contribute it. JB -Original Message- From: paraview-boun...@paraview.org mailto:paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org mailto:paraview-boun...@paraview.org] On Behalf Of burlen Sent: 01 December 2012 01:16 To: paraview@paraview.org mailto:paraview@paraview.org Subject: [Paraview] new memory inspector panel documentation Documentation for the new memory inspector panel can be found here: http://paraview.org/Wiki/ParaView/Memory_Inspector_Panel The new panel reports per-process usage and provides some additional debugging tools. It should be available in the 3.98 release. Burlen ___ Powered by www.kitware.com http://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 http://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 http://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
[Paraview] volume representation
Dear developper, Could you show me what vtk functions are used for Volume representation ? It outputs different result from Martin Cube algorithm. Best regards, Oka ___ 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