Re: [Paraview] Python VTK readers

2009-12-01 Thread Fred Fred
Date: Mon, 30 Nov 2009 13:01:24 -0500 Subject: Re: [Paraview] Python VTK readers From: utkarsh.ayac...@kitware.com To: stan1...@hotmail.fr CC: paraview@paraview.org - reading legacy VTK files? It's called LegacyVTKReader Ok it works but there is a mistake in this page:

[Paraview] CleanToGrid python version vs interactive version

2009-12-01 Thread Fred Fred
If a apply CleanToGrid to a dataset with several scalar and vector point data, I get an unstructured grid with all the associated variables. But if I apply the same process in Python, only 1 scalar and 1 vector data are sent to the resulting dataset. How to ask CleanToGrid to include all

Re: [Paraview] CleanToGrid python version vs interactive version

2009-12-01 Thread Berk Geveci
I don't think that what you are describing is possible. That filter does not have an option to process fewer than all of the arrays. Can you tell us how to reproduce it? -berk On Tue, Dec 1, 2009 at 6:47 AM, Fred Fred stan1...@hotmail.fr wrote: If a apply CleanToGrid to a dataset with several

Re: [Paraview] Off Screen Rendering

2009-12-01 Thread Paul Melis
Hi Ken, How does Paraview's tiled panel display support fit into this? Am I right in assuming that in that case (without offscreen-rendering) the pvservers send image output to the client, where a composited image is displayed? Or is the client also doing local rendering of geometry sent to

Re: [Paraview] CleanToGrid python version vs interactive version

2009-12-01 Thread Fred Fred
My code: reader = LegacyVTKReader(FileNames=args[0]) filter = CleantoGrid(Input=reader) writer = DataSetWriter(Input=filter, FileName=args[1]) if options.ascii: writer.FileType = 1 writer.UpdatePipeline() First dataset has 2 vector data and 3 scalar data, no warning when reading with

Re: [Paraview] CleanToGrid python version vs interactive version

2009-12-01 Thread Berk Geveci
Can you post an example dataset (or send it to me directly)? -berk On Tue, Dec 1, 2009 at 8:00 AM, Fred Fred stan1...@hotmail.fr wrote: My code: reader = LegacyVTKReader(FileNames=args[0]) filter = CleantoGrid(Input=reader) writer = DataSetWriter(Input=filter, FileName=args[1]) if

Re: [Paraview] 3D vector contour plots from a set of scattered point

2009-12-01 Thread Eric E. Monson
Hey Nima, Be sure to keep your replies on the list so people who know more about this than I do can help out, too. :) Are you sure that the accuracy is not good enough, or do the contours just not look smooth enough? There are, of course, other types of spatial interpolation you could

Re: [Paraview] CleanToGrid python version vs interactive version

2009-12-01 Thread Berk Geveci
Hmm. Strange. Looking at the files you sent, I see that this has something to do with localization. Part of out.vtk looks like: pression 1 8 double 5 5,1 5,2 5,3 5,4 5,5 5,6 5,7 Somehow, when you write it from Python, the writer is using comma rather than period for the decimal. Can you check

Re: [Paraview] can't start pvserver

2009-12-01 Thread Bam Ting
no, for sure from same build checkout yesterday. + look this - bin/paraview bin/pvserver I do a fresh checkout and wipe my old build 2. thx bam On Tue, Dec 1, 2009 at 3:57 AM, Berk Geveci berk.gev...@kitware.com wrote: Are you sure your client and server are of the same version? The error

[Paraview] Python calculator

2009-12-01 Thread Fred Fred
I a trying to compute the velocity magnitude but there are some thing I did not well understand: First, what do the 3 arguments of VectorVariable mean? filter.VectorVariable = ['velocity','velocity', '3'] Second, what is wrong here: filter.Function = 'mag(velocity)'

Re: [Paraview] can't start pvserver

2009-12-01 Thread Berk Geveci
Sorry. You were right. Very interesting, our testing did not catch it because it turned off the feature that broke on purpose. We will fix it ASAP. Thanks for the report. On Tue, Dec 1, 2009 at 11:34 AM, Bam Ting bampingt...@gmail.com wrote: no, for sure from same build checkout yesterday. +

Re: [Paraview] CleanToGrid python version vs interactive version

2009-12-01 Thread Fred Fred
Actually I did not realize this but I already faced this issue in the past, with the interactive PV. This is due to the localization for sure. I am on a french lol Mac and I suppose there is some environment variable somewhere that tells qmake to compile a french version of the software. It

Re: [Paraview] can't start pvserver

2009-12-01 Thread Bam Ting
OK!!! You make my day, that was make me crazy! THX bam On Tue, Dec 1, 2009 at 8:52 AM, Berk Geveci berk.gev...@kitware.com wrote: Sorry. You were right. Very interesting, our testing did not catch it because it turned off the feature that broke on purpose. We will fix it ASAP. Thanks for

[Paraview] Bug?

2009-12-01 Thread Fred Fred
Load this dataset with PV, then clic on the slice tool and look at the show plane option : instead of a plane, a selection cube appears, which is indeed not located at the center of the object. Applying the cutting operation leads to the expected result though, but the show plane option is of

Re: [Paraview] Bug?

2009-12-01 Thread Berk Geveci
It is. I also reported it this morning. On Tue, Dec 1, 2009 at 12:20 PM, Fred Fred stan1...@hotmail.fr wrote: Load this dataset with PV, then clic on the slice tool and look at the show plane option : instead of a plane, a selection cube appears, which is indeed not located at the center of

Re: [Paraview] Python calculator

2009-12-01 Thread Fred Fred
Yes it helps, thx. But what does the 2 first fields mean? For instance I would like to select the name of the vector field from an argument of the python script, should I do this: filter.VectorVariable = [options.name, 'velocity', '0', '1', '2'] or this: filter.VectorVariable = ['velocity',

Re: [Paraview] can't start pvserver

2009-12-01 Thread Utkarsh Ayachit
Bam, This issue has been fixed in CVS. Please try updating. Thanks for reporting it. Utkarsh On Tue, Dec 1, 2009 at 12:00 PM, Bam Ting bampingt...@gmail.com wrote: OK!!! You make my day, that was make me crazy! THX bam On Tue, Dec 1, 2009 at 8:52 AM, Berk Geveci berk.gev...@kitware.com

Re: [Paraview] Recent Xdmf volume rendering

2009-12-01 Thread Utkarsh Ayachit
Possibly related. Any possibility you can share a concrete example/dataset? Utkarsh On Tue, Dec 1, 2009 at 4:49 PM, Dominik Szczerba domi...@itis.ethz.ch wrote: Just on the occasion of transient 3DCoRectMesh datasets being loaded as Image (Uniform Rectilinear - I just noticed that Extract