[Paraview] Segmentation fault; core dumped

2014-02-04 Thread Paul, Immanuvel
Hi, I am new to paraview.. I have VTK6.0 in my Linux machine. Paraview was working well till yesterday. Even I have used 'plot over a line' option many times earlier. But, when I tried to plot over a line yesterday, it crashed. The error showed in my terminal was : Segmentation Fault, Core

[Paraview] Segmentation fault; core dumped

2014-02-04 Thread Paul, Immanuvel
Hi, I am new to paraview.. I have VTK6.0 in my Linux machine. Paraview was working well till yesterday. Even I have used 'plot over a line' option many times earlier. But, when I tried to plot over a line yesterday, it crashed. The error showed in my terminal was : Segmentation Fault, Core

Re: [Paraview] ParaView python in a generic python

2014-02-04 Thread Andy Bauer
Hi Alan, Are they working from a version of ParaView that used the installers? That's what I'm assuming for my next comments. For Mac I think they need to use DYLD_LIBRARY_PATH instead of LD_LIBRARY_PATH. I tried going through to do this myself and wasn't able to completely do it but was getting

[Paraview] Saving Programmable Filter as a PNG image

2014-02-04 Thread Magician
Hi all, I want to save vtkImageData as a PNG image. The vtkImageData is generated by Programmable Filter. My PV version is 4.1.0. I have a small CSV data as below: 1,0.5,0 0.5,1,0.5 0,0.5,1 I opened the data and applied the Programmable Filter as below: #Output Data Set Type: vtkImageData

Re: [Paraview] no data found using find data

2014-02-04 Thread Paul Edwards
I don't think find data works for table data. It should work if you use the table to points filter. Regards, Paul On 4 February 2014 14:43, Jakubczyk, Lukas jakubc...@tfh-bochum.de wrote: Hi, I'm new here...At the beginning I had a xls-file. To get it in in paraview, I made the

Re: [Paraview] ParaView python in a generic python

2014-02-04 Thread Sebastien Jourdain
Hi Alan, here is the way I do it when I code stuff in Sublime Text and directly execute code within the editor. import sys pv_path = '/Users/seb/work/code/ParaView/build-ninja' sys.path.append('%s/lib' % pv_path) sys.path.append('%s/lib/site-packages' % pv_path) from paraview.simple import *

Re: [Paraview] [EXTERNAL] Segmentation fault; core dumped

2014-02-04 Thread Scott, W Alan
Paul, Try removing the state configuration files. I have seen this happen when they become corrupt. These file's locations are documented here: http://www.paraview.org/Wiki/ParaView_Settings_Files. Just delete all of these files - ParaView will automatically generate new ones. Alan From:

Re: [Paraview] [EXTERNAL] Re: ParaView python in a generic python

2014-02-04 Thread Scott, W Alan
Thanks - that is exactly what I was looking for! Alan From: Sebastien Jourdain [mailto:sebastien.jourd...@kitware.com] Sent: Tuesday, February 04, 2014 9:58 AM To: Andy Bauer Cc: Scott, W Alan; paraview@paraview.org Subject: [EXTERNAL] Re: [Paraview] ParaView python in a generic python Hi Alan,

Re: [Paraview] Segmentation fault; core dumped

2014-02-04 Thread Utkarsh Ayachit
Paul, Is this a build from source or are you using binaries from paraview.org? Utkarsh On Tue, Feb 4, 2014 at 6:51 AM, Paul, Immanuvel p.immanu...@imperial.ac.uk wrote: Hi, I am new to paraview.. I have VTK6.0 in my Linux machine. Paraview was working well till yesterday. Even I have used

Re: [Paraview] no data found using find data

2014-02-04 Thread Utkarsh Ayachit
Ah! That's a good point. It should be easy to support. I'll add a feature request (http://paraview.org/Bug/view.php?id=14556). Utkarsh On Tue, Feb 4, 2014 at 11:24 AM, Paul Edwards paul.m.edwa...@gmail.com wrote: I don't think find data works for table data. It should work if you use the

Re: [Paraview] Saving Programmable Filter as a PNG image

2014-02-04 Thread Utkarsh Ayachit
In vtkImageData, the scalars are associated with points, not cell. Add the unsigned char array to the PointData, not CellData. Also note that you'll need to update your whole extent, image dimensions etc. since now you have 3x3 points and not 3x3 cells (==4x4 points). Utkarsh On Tue, Feb 4, 2014

Re: [Paraview] Get Values of CSV sources with Programmable Filter

2014-02-04 Thread Utkarsh Ayachit
Here's some text that describes how to go back and forth between NumPy and VTK arrays :http://www.paraview.org/Wiki/ParaView/Users_Guide/Python_Programmable_Filter#Mixing_VTK_and_NumPy_APIs Utkarsh On Fri, Jan 31, 2014 at 10:30 PM, Magician f_magic...@mac.com wrote: Hi all, I'm using PV

Re: [Paraview] Building a programmable source based on existing sources

2014-02-04 Thread Utkarsh Ayachit
You can create a vtkArrowSource in the ProgrammableSource as follows: from vtk.vtkFiltersSources import vtkArrowSource Basically, you need to determine the VTK-Module in which that class is provided and then import that module. (if you're using versions less than 4.1, you may have to change the

Re: [Paraview] Vector with more than 3 components?

2014-02-04 Thread Utkarsh Ayachit
Christoph, You shouldn't mark that array as vectors, nor as scalars. It's totally acceptable to have point-data arrays that are not marked as scalars/vectors e.g. in the vtu file attached to the bug report, I can simply change PointData Vectors=u to PointData and everything works as expected

Re: [Paraview] Texture mapping from pvpython

2014-02-04 Thread Utkarsh Ayachit
Here's a sample script: from paraview.simple import * s = Sphere() t = TextureMaptoSphere() r = Show() texture = servermanager.rendering.ImageTexture() texture.FileName = /tmp/earth_texture.png r.Texture = texture Render() Utkarsh On Thu, Jan 30, 2014 at 10:37 PM, Richard Townsend

Re: [Paraview] Comparing results computed with 2 different meshes

2014-02-04 Thread Evan Kao
No, that appears to not be the case in a quick test I ran. They appear to be ordered in the order in which they appear in the pipeline browser.. Unfortunately, it doesn't seem like it follows that order either (in a quick test I did using Python Calculator). Perhaps it's random? I also

Re: [Paraview] Fwd: Generate Programmable Sources with Timesteps

2014-02-04 Thread Utkarsh Ayachit
Magician, I've updated the Wiki. The API has changed since ParaView 4.0. It's no longer DATA_TIME_STEPS/UPDATE_TIME_STEPS, it has been replaced by DATA_TIME_STEP/UPDATE_TIME_STEP. Utkarsh On Thu, Nov 28, 2013 at 4:59 PM, Magician f_magic...@mac.com wrote: Any ideas? I'd like to generate

Re: [Paraview] How to compute functions for all particles and plot as function of time

2014-02-04 Thread Berk Geveci
No problem. On Mon, Feb 3, 2014 at 6:16 PM, William Oquendo woque...@gmail.com wrote: Hi Berk, this is just awesome. Thanks a lot. On Mon, Feb 3, 2014 at 10:06 AM, Berk Geveci berk.gev...@kitware.com wrote: Here is a way of doing this. Apply a Programmable Filter with a script like this:

[Paraview] immersive paraview for windows

2014-02-04 Thread Hannes Hofmann
Dear all, I was experiencing problems compiling immersive paraview on windows (it's working on linux) when I tried it last summer. Before starting to work on it again I am looking for an easy solution. Does anyone already have a version of Paraview (for windows) compiled with the VRPlugin, VRPN

Re: [Paraview] immersive paraview for windows

2014-02-04 Thread Aashish Chaudhary
Hi Hannes, We have some folks (collaborators) testing / building it on Windows. What kind of issues you are running into? We have a document that I can share with you on how to build it on Windows. Let us know. - Aashish On Tue, Feb 4, 2014 at 5:01 PM, Hannes Hofmann han...@ualberta.ca

[Paraview] PV4.1.0 bug in GUI for Contour filter

2014-02-04 Thread Insley, Joseph A.
Hi, I just ran across what looks to be a bug in the GUI of the Contour filter. When the contour filter is created for a data object, by default the isosurface value is populated with the median value. The PV4.1.0 GUI has a + and - for adding/deleting isofurface values. I accidentally

Re: [Paraview] PV4.1.0 bug in GUI for Contour filter

2014-02-04 Thread Utkarsh Ayachit
Sounds like a bug. I'll take a look. On Tue, Feb 4, 2014 at 5:34 PM, Insley, Joseph A. ins...@anl.gov wrote: Hi, I just ran across what looks to be a bug in the GUI of the Contour filter. When the contour filter is created for a data object, by default the isosurface value is populated with