Re: [Paraview] Vis template by changing reader file names?

2008-08-25 Thread Jean Favre
On 25, Aug 2008 09:22 PM, Eric E. Monson <[EMAIL PROTECTED]> wrote: > (I also tried to change a source file name >from the Python shell within ParaView, but at least with an Xdmf file, >that always crashes ParaView when I'm driving...) Hello Eric   Oh yes, what you describe appears to be a typica

[Paraview] Xdmf wrappers for our HDF5

2008-08-26 Thread Jean Favre
Eric E. Monson wrote: We use the Xdmf wrappers for our HDF5 for now. I am still encounteering major difficulties with Xdmf (cvs version of yesterday). Speed and Memory. When reading in parallel for example, the Xdmf reader attemps to allocate memory for the WHOLE grid on every node (independe

Re: [Paraview] Mesa/Offscreen Rendering

2008-08-26 Thread Jean Favre
On 26, Aug 2008 09:58 PM, Rick Angelini(CISD/CIV) <[EMAIL PROTECTED]> wrote:   >When I fire up pvserver and connect back to the client, and load up >some >geometry (max'd out sphere, for instance), I get a number of X-windows >errors on the server side, like it's trying to connect back to my >displ

[Paraview] paraview 3.4 segmentation fault

2008-11-13 Thread Jean Favre
I have got a problem with very large data, bounding box is [0, 0, 0] [ 15e18, 15e18, 15e18] The Clip and Cutter filters (when created via the GUI) cause a seg fault. ParaView itself is capable of cutting the data with the following Python script /cut.Input = reader cut.Input = servermanager.Out

Re: [Paraview] Display number of cells over time

2008-11-14 Thread Jean Favre
Matthias Moeller wrote: > Hi all, > > I've got a time series of unstructured grid files. Besides the > visualization of a scalar variable I would like to display some > statistical data. In particular, I would like to display the number of > elements over time (animation). I have tried via the Pyt

Re: [Paraview] streamlines

2008-12-01 Thread Jean Favre
Giovanni Delibra wrote: > Hello everybody > I have some problems in understanding how to plot streamtraces > My problem is that whatever the seed type I use they seem to "die out" > just a few distance from the seed > > any suggestions? > don't use a line for seeds, but use a random sub-sample of

Re: [Paraview] FILE > OPEN plugin

2009-01-08 Thread Jean Favre
On 08, Jan 2009 01:33 PM, mirko heuegger wrote: >you mean, using the _same_ paraView state-file, but different >'data'-files? >if so, this is not really possible. There is a solution, using the Python Shell. 1) load your existing state file 2) identify the name of your data object in the pipeli

Re: [Paraview] opening ensight file from python

2009-01-15 Thread Jean Favre
Ricardo Reis wrote: > > Hi all > > I've been searching around and can't find it. How can I open an > ensight *.case file from python? > Have you tried this: reader = servermanager.sources.ensight(CaseFileName = "crash.case") and the help: dir(reader) __

Re: [Paraview] 3.4.0 compilation broken due to xdfm / old hdf5

2009-01-21 Thread Jean Favre
Berk Geveci wrote: > I fixed the cvs head so that it compiles with 4.3 after ParaView 3.4 > release. I am wondering if the issue Dominik is running into is still > there on cvs head though. If hdf5 was pulling in some headers, and now > it doesn't, some things may still be broken. I have a clean

Re: [Paraview] Python command to rescale data range

2009-01-23 Thread Jean Favre
Charles-André wrote: > I would need your lights on a small but annoying problem that I have > with Paraview 3.4.0. I use a python script to load and display a > preformatted state. It all works fine except that the color scale > doesn't automatically rescale to fit data range, even though the > cor

[Paraview] python programmable source not parallel?

2009-02-10 Thread Jean Favre
I have a python programmable source which mimics an already working C++ Reader. The Reader works in parallel and correctly gets the Update Extent assigning to each proc, a different sub-region of the whole. The Python prog. source works fine in serial mode. When run in parallel, *all* procs recei

Re: [Paraview] python programmable source not parallel?

2009-02-10 Thread Jean Favre
Berk Geveci wrote: > This is a "feature" rather than a bug. The programmable source sets > the extent translator to be a vtkOnePieceExtentTranslator. To override > this behavior, add the following to your RequestInformations script: > The thought never crossed my mind this could be a bug, but it

Re: [Paraview] particle tracking

2009-02-12 Thread Jean Favre
Berk Geveci wrote: > To animate particles in a > steady-state flow field, I'd think that you would generate streamlines > and then somehow animate particles along those. this is exactly the technique I use. Generate streamlines. Then iso-contour the streamline object with the scalar field "Integra

[Paraview] HyperOctree

2009-02-16 Thread Jean Favre
I wonder if it is my own built (Linux box), or if something else is broken. I cannot do anything useful with the Octree Fractal source. I get crashes for most every action I try: selection of cells, or points, via the render window, or inside a Spreadsheet view. Octree Depth Scalars or Octree Dept

Re: [Paraview] vtkCompositeDataSet - memory ?

2009-02-23 Thread Jean Favre
Andy Bauer wrote: > ...They should also have the same vtkPointData as a result so that > data is not duplicated. > In my own experience, it is often the case that different Data arrays can be defined on the 3D blocks and on the 2D boundary surfaces. I just wanted to point out that ParaView is smar

[Paraview] change of syntax

2009-03-02 Thread Jean Favre
The following python code works fine in pv3.4 rep = servermanager.CreateRepresentation(solid, view) rep.ColorArrayName = 'Temperature' but gives me an error with the cvs version    rep.ColorArrayName = 'Temperature'  File "/local/apps/ParaView3Build/Utilities/VTKPythonWrapping/paraview/serverma

Re: [Paraview] Glyph scaling and orienting/programmable filter?

2009-03-03 Thread Jean Favre
Pawel Krupinski wrote: > *So I was thinking: I need to scale spheres anisotropically to get > ellipsoids so I really need to do it by scaling with vector components > of the scales/axes_length vector. > * ** **What you describe seems to be exactly what the vtkTensorGlyph does. See details here ht

Re: [Paraview] Parallel Paraview

2009-03-05 Thread Jean Favre
Natalie Happenhofer wrote: > Ok, thanks a lot, I believe I understand.. > > But that brings me to another question: > I´m running paraview on 8 nodes, and my data is sliced into 8 pieces, > which I can see when it´s rendering or with the ProcessId-Filter. In > my case, its a cuboid and it´s divided

[Paraview] setting filename in python on ImageTexture

2009-03-23 Thread Jean Favre
CVS users, how does one set the FileName of a tex = servermanager.rendering.ImageTexture(SourceProcess=16) tex.FileName="/tmp/foobar.jpg" ? I am getting an error while setting the FileName. The code used to work under 3.4 thanks for any hint Jean-- Swiss National Supercomputing Center ___

[Paraview] pvpython, pvbatch error loading module?

2009-03-26 Thread Jean Favre
CVS users, I have PV cvs compiled in full (i.e. PARAVIEW_BUILD_QT_GUI = ON) on one cluster. No problem anywhere. if I do another compilation (same cluster, same tools, same compiler) but with PARAVIEW_BUILD_QT_GUI = OFF, I get these errors. Is the "representations" stuff somehow missing if we com

Re: [Paraview] Multiple views with different timesteps

2009-03-26 Thread Jean Favre
>> Is there anyway to plot different time steps when using multiple views? >> >> What about using the Comparative View setup. You can plot a different time-step for each view. Jean ___ Powered by www.kitware.com Visit other Kitware open-source pr

Re: [Paraview] vtkXMLPRectilinearGridWriter

2009-03-27 Thread Jean Favre
Rakesh Hammond wrote: > Hi > > I have a vtkRectilinearGrid - I would like to use the > vtkXMLPRectilinearGridWriter to write the output of data into several > pieces. In order to do this, I do the following > > writer->SetInput(grid); > writer->SetNumberOfPieces(5); > writer->Write(); > > What thi

Re: [Paraview] extract surface of multiblock mesh

2009-03-30 Thread Jean Favre
Chris Kees wrote: > So far I've tried MergeBlocks->ExtractSurface->FeatureEdges->Clip and > various permutations that I've seen in previous posts and the wiki, > but I always end up with the surfaces on the interior of the tank as > if it still sees each subdomain as a closed surface. In fact, it

Re: [Paraview] Multi-block(zone) data: which is best file format for Paraview?

2009-04-02 Thread Jean Favre
sza...@infinito.it wrote: > > Hi all, > > for a structured, multiblock CFD data which is the best Paraview-readable > file format? the solution is to write a wrapper which is a collection of grids. Each item in the collection can itself be a collection of sub-grids. So it is fully hierarchical. h

Re: [Paraview] Convert file types with python

2009-04-24 Thread Jean Favre
On 24, Apr 2009 07:04 PM, David Doria wrote: >I want to open some .ply files and save them as .vtp files in a python >script. > >For reading vtp's, I've used >reader = >servermanager.sources.XMLPolyDataReader(FileName=ModelFilename) > >I saw there was a vtkPly class, so I tried >reader = server

[Paraview] pvbatch too verbatim?

2009-04-30 Thread Jean Favre
Hi folks when running pvbatch on time-dependent data and on many processors, the output becomes very verbatim since every proc writes messages similar to vtkCutter : [...] x 100 million times I end up with files of millions of lines which I do not read. I just look at the movies... Is t

Re: [Paraview] python programmable filter

2009-05-09 Thread Jean Favre
On 10, May 2009 03:38 AM, Nehme Bilal wrote: >Hi, >I am using vtkKdTree in a python programmable filter. I >would like to use: >void vtkKdTree::FindPointsWithinRadius(double R, >const double x[3], >vtkIdList* result) the method is not available. It is enclosed into a //BTX //ETX in the source

Re: [Paraview] using with python to use filter NO work only on 3.5 (I think a bug)

2009-05-19 Thread Jean Favre
On 19, May 2009 12:13 PM, BOUSSOIR Jonathan 167706 wrote: >Hi all, > >I am using Linux and Paraview 3.4 or 3.5. I have one question when I >use a filter on Paraview 3.5 I have a error. >I laught python script with pvpython (or ipython) and paraview 3.4 my >script is running but with paraview 3.5

Re: [Paraview] multiblock and volume render

2009-06-23 Thread Jean Favre
>>On Mon, Jun 22, 2009 at 4:51 PM, Bam Ting >>wrote: >> >>>I wrote a parallel reader using multiblock dataset. How do I do a >>>volume >>>rendering? It turns out that I had to program my own filter last week, to re-assemble multiple grids (each of them vtkUniformGrid), into one big vtkImageData,

[Paraview] VALUES or THRESHOLDS selections

2009-07-02 Thread Jean Favre
I have a filter doing cell selection from an array of material ids. The usage pattern is to select a single material id, i.e. a single number. To debug and check my filter's output, I ran the same with the Selection Inspector. However, ParaView only enables THRESHOLDS selection in the Selection In

Re: [Paraview] periodic data in ParaView

2009-07-10 Thread Jean Favre
On 09, Jul 2009 03:45 PM, Berk Geveci wrote: >I am afraid there is no direct way. What you can do however, at the >cost of more memory, is to use the tranform filter to create a copy >(or more) of your dataset that is shifted and then group the result >with the Group filter.   I have a similar ch

[Paraview] syntax error in smtrace.py

2009-08-19 Thread Jean Favre
python gives me the following syntax error on all the systems I have with python version less than 2.5, and python tracing is thus not working on these systems. Compiling /workspace/jfavre/ParaView3Build/Utilities/VTKPythonWrapping/paraview/smtrace.py ...  File "/workspace/jfavre/ParaView3Build/U

Re: [Paraview] HDF5 data format

2009-10-14 Thread Jean Favre
On 14, Oct 2009 11:49 PM, psli wrote: >Hi, > > > >I hear about paraview from the HDF5 website software list that paraview >can >handle HDF5 data. I installed a windows version of paraview but it >doesn't >recognize HDF5 data. Is it a mistake at HDF5 website that paraview is >not >supposed to ha