[Paraview] Paraview crashes when reading binary VTK file

2012-07-26 Thread Petr Krysl
Hello, Paraview crashes when reading a binary VTK file. I am writing out that file using the Matlab function below. When written out in ASCII the file is read and interpreted correctly; when written out in binary paraview just crashes without giving any details as to where and why it crashed. I

Re: [Paraview] Data saving in vtr format and compression

2012-07-26 Thread Berk Geveci
If you have an ascii file that only have a few digits in the numbers (~7 significant digits), you are better off using single precision (float array) which is 4 bytes. On Thu, Jul 26, 2012 at 11:11 AM, David E DeMarle wrote: > On Thu, Jul 26, 2012 at 5:42 AM, Zenker, Dr. Matthias > wrote: > > Hi

Re: [Paraview] Data saving in vtr format and compression

2012-07-26 Thread David E DeMarle
On Thu, Jul 26, 2012 at 5:42 AM, Zenker, Dr. Matthias wrote: > Hi, > > I need to convert legacy vtk files to vtr files. The vtk files are in ASCII > format and approx. 17 MB large. When I use binary or ASCII as data mode, I > get a file size of approx. 28 MB. When I use appended data mode without

Re: [Paraview] SurfaceLIC and python interface

2012-07-26 Thread Sebastien Jourdain
Hi Frank, normally loading that specific plugin on the server should be enough as it doesn't have any custom Qt-GUI component in it. Seb On Thu, Jul 26, 2012 at 9:57 AM, Albina, Frank wrote: > Hi Sebastien! > > Thank you very much for the invaluable information. I had found on the > internet t

Re: [Paraview] SurfaceLIC and python interface

2012-07-26 Thread Albina, Frank
Hi Sebastien! Thank you very much for the invaluable information. I had found on the internet the following PV bug: http://www.paraview.org/Bug/print_bug_page.php?bug_id=12360, which shows that you have to load the plugin for both server and client when running pvbatch. I had to find the hard

Re: [Paraview] SurfaceLIC and python interface

2012-07-26 Thread Sebastien Jourdain
Hi Frank, I think you need to use the C++ API as the representation was already wrapped based on another type of representation that was not providing those properties Here is an example on how to set one of your property. DataRepresentation1.SMProxy.GetProperty('LICIntensity').SetElement(0,1.0)

[Paraview] Data saving in vtr format and compression

2012-07-26 Thread Zenker, Dr. Matthias
Hi, I need to convert legacy vtk files to vtr files. The vtk files are in ASCII format and approx. 17 MB large. When I use binary or ASCII as data mode, I get a file size of approx. 28 MB. When I use appended data mode without encoding, it's 20 MB. When I use encoding with ZLib compressor (ther

Re: [Paraview] vtk collection

2012-07-26 Thread Zenker, Dr. Matthias
Hi Karl, thank you for the quick reply. My file format seems to be vtk legacy indeed. I have loaded the files into ParaView and saved them as vtr. Now I can use a pvd file to point to them. Side note: The files get larger when saved in vtr format. What are the best options I can set for the vtr

Re: [Paraview] Clipping data with cube of absolute size

2012-07-26 Thread Karl König
Luca, Apply three subsequent calculators that turn the coords vector by means of the following formulas coords.iHat coords.jHat coords.kHat into three additional data arrays. Then apply the Threshold filter subsequently using the calculated x-, y- and z-coordinate data arrays to clip y

Re: [Paraview] SurfaceLIC and python interface

2012-07-26 Thread Albina, Frank
Hi! Forgot to tell that the PV version is 3.14.1. Cheers, Frank. From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org] On Behalf Of Albina, Frank Sent: Donnerstag, 26. Juli 2012 10:26 To: paraview@paraview.org Subject: [Paraview] SurfaceLIC and python interface Dear All!

Re: [Paraview] vtk collection

2012-07-26 Thread Karl König
Matthias, VTR is the file extension for XML based rectilinear grid files, see e.g. http://markmail.org/message/kewmge6o4ygh2wpr for two example files. If you have to manually specify "Legacy VTK" as input format, chances are you are actually trying to load a VTK file, not VTR. If your file looks

[Paraview] SurfaceLIC and python interface

2012-07-26 Thread Albina, Frank
Dear All! I am trying to run the SurfaceLIC representation under pvbatch. From the python trace tool under the GUI, I could find the following output which helps me setting the LIC intensity and LICStepSize: RenderView1 = GetRenderView() DataRepresentation1 = Show() DataRepresentation1.Represen

[Paraview] vtk collection

2012-07-26 Thread Zenker, Dr. Matthias
Hi, I want to write a VTK xml file for a time collection. So far, I have used the following syntax, as found in this document: This works well for binary vtu files. Now I want to use ASCII vtr files. With the syntax shown above, Paraview (3.12.0-RC2) throws me the following errors: s

[Paraview] Clipping data with cube of absolute size

2012-07-26 Thread Luca Guglielmetti
Hi all, do you know if there is a way to clip data with a cube of specific and *absolute* size? I would like to clip some data-sets of different spatial sizes with a cube of a specific size. For example I would like to clip followings data with a 10x10x10 cube: a) delta-z = 35, delta-y = 10