[Paraview] injecting objects from python

2012-06-19 Thread Gertjan van Zwieten
Hi all, I am new to this list, and I fear that my question is of the kind that comes back every once in a while - though I have not managed to find it. I am hoping that somebody can give me a quick "yes, this is possible" or "no, this is not possible" here. I am currently using paraview for my vi

Re: [Paraview] injecting objects from python

2012-06-19 Thread Hal Canary
On 06/19/2012 06:10 AM, Gertjan van Zwieten wrote: [...] So my question is simply if it is possible to inject objects from python into an already running or separately spawned paraview instance? If so, any pointers in that direction (an example script?) would of course be enormously helpful. I

[Paraview] Not sure if I'm misunderstanding tetrahedralization

2012-06-19 Thread Gregory Lewis-Paley
Hey again, Using a bunch of points from a csv, I'm trying to generate an image that's like a Delaunay Triangulation but also includes the interior links, much like what I picture a tetrahedralization would look like. Problem is, the tetrahedralization doesn't seem to work on plain points. Am

Re: [Paraview] injecting objects from python

2012-06-19 Thread Gertjan van Zwieten
Hi Hal, thanks for your quick reply and the example code. That's very helpful. I do have these remaining questions that perhaps you could help me with: - In your experience, is a programmable source a suitable place to call a potentially long running finite element code? - Is it possible

Re: [Paraview] injecting objects from python

2012-06-19 Thread Hal Canary
On 06/19/2012 07:24 AM, Gertjan van Zwieten wrote: Hi Hal, thanks for your quick reply and the example code. That's very helpful. I do have these remaining questions that perhaps you could help me with: * In your experience, is a programmable source a suitable place to call a potentially l

Re: [Paraview] Not sure if I'm misunderstanding tetrahedralization

2012-06-19 Thread David E DeMarle
Tetrahedralize reduces input cells to simplices. Voxels to tets, quads to tris, points are already simplices so it won't change your point cloud at all. I think what you want instead is: Delauney 3D -> Extract Edges. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 1

Re: [Paraview] injecting objects from python

2012-06-19 Thread David E DeMarle
On Tue, Jun 19, 2012 at 7:24 AM, Gertjan van Zwieten wrote: > Hi Hal, thanks for your quick reply and the example code. That's very > helpful. I do have these remaining questions that perhaps you could help me > with: > > In your experience, is a programmable source a suitable place to call a > po

Re: [Paraview] how-to use vtkCleanUnstructuredGrid?

2012-06-19 Thread David E DeMarle
The filter is in: ParaViewCore/VTKExtensions/vtkCleanUnstructuredGrid.cxx You might 1) access it from paraview's vtkpython making sure VTKExtensions is wrapped 2) copy the code into your copy of VTK and recompile to use it there. 3) get creative with your paths and access it somehow in a side by s

[Paraview] VTK Particles format for Paraview

2012-06-19 Thread Nicholas Yue
Hi, I noticed that there is a *.particles format for VTK. However, looking through the VTK documentation, I have not found example code of how that format can be written out. I have pretty standard particle data with the following x y z vx vy vz temperature mass Could so

Re: [Paraview] injecting objects from python

2012-06-19 Thread Gertjan van Zwieten
Ok, it seems that the programmable source is not my ideal solution but it may serve, I will try playing around with it. The coprocessing library looks closer to what I had in mind, thanks for the suggestion! I will check it out. If I make progress I will report back here on my experiences. On Tue,

[Paraview] Paraview + VMTK

2012-06-19 Thread Eduardo - LNCC
Hi, I am trying to include VMTK lib into the ParaView but I have not success. Anyone know what should I do? Or where should I begin? I have included and compiled the ITK 3.20 that is dependency for VMTK but still I have not success with VMTK. Atenciosamente, Eduardo Camargo, M.Sc. Analista d

Re: [Paraview] [EXTERNAL] Paraview crash issues!

2012-06-19 Thread Imam, Senay T
HI Alan, and Paraview developers, It didn't help. I still have these two errors, And how can i fix them? ERROR: In /build/buildd/paraview-3.10.1/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 404 vtkXOpenGLRenderWindow (0x1bbd180): Could not find a decent visual ERROR: In /build/buildd/parav

Re: [Paraview] VTK Particles format for Paraview

2012-06-19 Thread David E DeMarle
I don't think there is a vtk writer class for that format. Looking at the code for vtkParticlesReader makes me think you can just fopen, fwrite and fclose from a c program for example to create a binary .particles file. For ascii I'ld recommend using the standard csv reader instead of this one. D

Re: [Paraview] [EXTERNAL] Paraview crash issues!

2012-06-19 Thread Imam, Senay T
HI Alan and Paraview developers, To clarify my issues clearly, I am not running Paraview from a remote computer, I am trying to run it from my laptop. And my issue is it crashes every time I try to open it. The Error messages are enclosed below. ERROR: In /build/buildd/paraview-3.10.1/VTK/Ren

Re: [Paraview] [EXTERNAL] Paraview crash issues!

2012-06-19 Thread David E DeMarle
The error tells me that ParaView thinks you are missing one of the gl related runtime packages on your system. What linux distribution are you using? What does glxinfo return on the command line? My wild guess is that you need libgl1-mesa-glx, but that is just a guess t this point. David E DeMar

Re: [Paraview] VTK Writer

2012-06-19 Thread Sebastien Jourdain
I've just push a fixed in next. You can follow the bug here: http://www.paraview.org/Bug/view.php?id=13250 Thanks for reporting issues, Seb On Tue, May 29, 2012 at 8:46 AM, Sebastien Jourdain wrote: > Hum, the GUI XML should be fine. Did you try to add those hint in the > XML itself to see if

[Paraview] tweaking images from coprocessing views

2012-06-19 Thread Vanmoer, Mark W
Hi, I'm using ParaView 3.14.1 Coprocessing with OSMesa. I'm outputing views. Is there a way to set the image size? I always get 400x400 images. I tried setting Lock View Size Custom before exporting the coprocessor python script, but that doesn't seem to do anything. Also, the color legend alw

Re: [Paraview] [EXTERNAL] Paraview crash issues!

2012-06-19 Thread Marco Nawijn
Hi All, This error sounds familiar to me. It happened to me with the combination of NVIDIA propietary drivers and the Fedora package manager (yum in my case). What happened is that after a package update the symlinks for the opengl libraries were linked to the wrong files. So although I thought I

Re: [Paraview] tweaking images from coprocessing views

2012-06-19 Thread Andy Bauer
Hi Mark, What version of ParaView are you using? In 3.14.1 you can set the magnification factor when outputting views but this is still an integer number though so it may not be exactly what you're looking for. Working with the repo head I'm not getting the white rectangle around the color legend.

Re: [Paraview] [EXTERNAL] Paraview crash issues!

2012-06-19 Thread Imam, Senay T
Thank you DeMarle and Alan. I appreciate your help. DeMarle. My linux distribution is Ubuntu 11.10. And glxinfo returned: X Error of failed request: BadRequest (invalid request code or no such operation) Major opcode of failed request: 155 (GLX) Minor opcode of failed request: 19 (X_GLX

Re: [Paraview] tweaking images from coprocessing views

2012-06-19 Thread Andy Bauer
Hi Mark, I missed it before but with some help I found out that you can set the view size in your script as "a2DRenderView1.ViewSize = [ x, y]" where x and y are the number of pixels in those directions. Setting ViewSize is a bit funky in that it works from pvpython and pvbatch but not for the GUI

[Paraview] TimestepValues

2012-06-19 Thread Justin Rodriguez
Hi Everyone, I am trying to get the TimestepValues from the SLACDataReader to eventually get the time range/temporal bounds of the data. My code is below but everything I have tried has given an empty array for TimestepValues. Is there something I need to do first before TimestepValues is update