[Paraview] pvsc server config file string substitution syntax (paraview 3.2.3)

2008-10-15 Thread Thomas Kaempfer
I am trying to port a windows pvsc server configuration file to linux and run into trouble when defining an argument value that contains several variables: I first define variables using: and want to construct the execution-command as:

[Paraview] How to lunch a python script at paraview client start ?

2008-10-15 Thread Guy HUBERT
Hello, I want to use paraview client/server mode and on the client side, I execute a python script which drives paraview server and paraview client visualization. Is it possible to give the name of the python script as an argument of the paraview command line, rather than opening python shell a

Re: [Paraview] How to lunch a python script at paraview client start ?

2008-10-15 Thread Berk Geveci
Unfortunately not. It should be relatively easy to add. Can you file a feature request at http://paraview.org/Bug -berk On Wed, Oct 15, 2008 at 10:54 AM, Guy HUBERT <[EMAIL PROTECTED]> wrote: > Hello, > > I want to use paraview client/server mode and on the client side, I execute a > python scri

[Paraview] Filter driven from two inputs

2008-10-15 Thread Gregory D Abram
Is there a way to drive a filter from two inputs? I'd like to derive a planar equation from one filter and use it to specify a cut plane slicing a the result from a different filter. Any pointers? Greg ___ ParaView mailing list ParaView@paraview.org h

Re: [Paraview] problems with Xdmf-file

2008-10-15 Thread Jerry Clarke
Natalie, It might be that : 1. Your dimensions should be "1 140 350" (KJI) not "350 140 1" dimensions are listed with the slowest changing dimension first. We will be adding a flag to the XML to allow for this later. 2. If you are using GeometryType="XYZ" then the

Re: [Paraview] Filter driven from two inputs

2008-10-15 Thread Robert Maynard
You can set the number of inputs to a filter in the constructor. Like this: this->SetNumberOfInputPorts ( 2 ); Than in the RequestData you will have to do something like this: vtkInformation *inInfo = inputVector[0]->GetInformationObject ( 0 );   vtkInformation *sourceInfo = inputVector[1]->

[Paraview] reducing load time?

2008-10-15 Thread John Doe
Hi, I have a 220 MB vtu file that is being loaded and it is taking at least 15 min to load the data. Is there any option to reduce the amount of time paraview would take to load the data. Or is there some way I should be formatting my data. The vtu file is in the ASCII XML VTK format. Thanks,

Re: [Paraview] reducing load time?

2008-10-15 Thread John Doe
Yes it did. I don't understand why an option like this would have an effect, but it loaded significantly faster. The CellDataToPointData filter ran incredibly fast as well. What does this option mean for loading files? Thanks, Juan On Wed, Oct 15, 2008 at 2:49 PM, Hom Nath Gharti <[EMAIL PROT

Re: [Paraview] reducing load time?

2008-10-15 Thread John Doe
Whoops. It didn't really help. I had loaded a much smaller dataset by accident. The large dataset still has problems. Regards, Juan On Wed, Oct 15, 2008 at 3:08 PM, John Doe <[EMAIL PROTECTED]> wrote: > Yes it did. I don't understand why an option like this would have an > effect, but it loa

Re: [Paraview] reducing load time?

2008-10-15 Thread Berk Geveci
ASCII XML is very slow to load because it uses the XML parser. For large data, you should switch to a binary format. XML binary legacy VTK Exodus Xdmf are a few choices. To see the difference in load time, save the data out as a binary vtu or vtk file and load it back in. -berk On Wed, Oct 15,

Re: [Paraview] reducing load time?

2008-10-15 Thread John Doe
Hello, Thanks for the suggestion. I assume that for double precision I am doing a base64 encoding for every number in the list? Is compression worthwhile for floating point data? Are there free compression libraries out there? Juan On Wed, Oct 15, 2008 at 3:26 PM, Berk Geveci <[EMAIL PROTECTE

Re: [Paraview] reducing load time?

2008-10-15 Thread Dominik Szczerba
On Wednesday 15 October 2008 10:48:13 pm John Doe wrote: > Hello, > > Thanks for the suggestion. I assume that for double precision I am > doing a base64 encoding for every number in the list? Is compression situation is similar as with compressing images: depends. > worthwhile for floating poi

Re: [Paraview] reducing load time?

2008-10-15 Thread Michael Jackson
Use Binary for a file that large. When you use XML you have the following overhead: XML Parser. Decompress the data Decode the Base 64 into something readable If you save it as a binary file you have the following overhead. Read the data directly into a memory location. Possibly byte swap the

Re: [Paraview] reducing load time?

2008-10-15 Thread Renato N. Elias
John Doe wrote: Hello, Thanks for the suggestion. I assume that for double precision I am doing a base64 encoding for every number in the list? Is compression worthwhile for floating point data? Are there free compression libraries out there? There's a "Kitware System Library" (KWSYS) in

Re: [Paraview] reducing load time?

2008-10-15 Thread Berk Geveci
There is no requirement for encoding or compression in the XML format. It is an option. You can have appended binary data that is pure raw. I do not use compression or encoding in my files. -berk On Wed, Oct 15, 2008 at 4:48 PM, John Doe <[EMAIL PROTECTED]> wrote: > Hello, > > Thanks for the sugg

Re: [Paraview] reducing load time?

2008-10-15 Thread Berk Geveci
By the way, if you are willing to link against the VTK libraries, VTK has a C/Fortran interface to write XML files. -berk On Wed, Oct 15, 2008 at 4:48 PM, John Doe <[EMAIL PROTECTED]> wrote: > Hello, > > Thanks for the suggestion. I assume that for double precision I am > doing a base64 encoding

Re: [Paraview] reducing load time?

2008-10-15 Thread John Doe
I have a vector of N points. So the number of doubles in 3*N. A double is 8 long. Base 64 produces 4/3 the number of original bytes. As expected my base64 string is 3*N*8 * (4/3) So for 1417 points, I should expect a string 45344 characters long. Paraview claims my string is too short: ERROR:

Re: [Paraview] python

2008-10-15 Thread David Fuentes
Hello, How do you connect to the paraview gui from an external python shell? when I type servermanager.Connect() my active connection is always builtin:5 The default connection when running the python shell from the paraview gui is always builtin::0 Also, Is there a way to search the l