[Paraview] Handling visualization of absent data in paraview

2010-06-06 Thread M. Nawijn
Dear all, Lately I have been facing a problem building a visualization where part of the point or cell data is missing. An example might clarify the situation. Suppose I would like to visualize a result (e.g. stress/strain) of a composite layered material. Since in general, the number of layers wi

[Paraview] Dynamically add files to Paraview reader

2010-03-10 Thread M. Nawijn
Hello, I use Paraview to visualize optical measurement data during buckling experiments we perform at our institute. Normally I do the visualization after the test, however, I would like to extend our capabilities and monitor the results during the test. I have some experience in Python scripting

Re: [Paraview] Support for text visualization in Paraview

2009-12-04 Thread M. Nawijn
only, > you will have to add a vtkStringArray to your output, SetValue("") on > the points or cells where you don't want to display anything, > and SetValue("a label") on the points where you want to display your labels. > > Good luck, > > Nehme > &g

[Paraview] Support for text visualization in Paraview

2009-12-03 Thread M. Nawijn
Hello, To support correlation between physical test data and simulation data, I import both test data (strain gauge measurement data) and simulation data (finite element structural analysis data) into Paraview. Currently we face the challenge that we need to keep track of approximately 700 strain

[Paraview] Suppress X display while saving images from Python script

2009-07-24 Thread M. Nawijn
I don't know if I am double posting, if so I apologize. (I posted this question this afternoon, but somehow it does not show up on the mailinglist. Hello, I have Python script that generates PNG images from a Paraview session. This in essence works very well. The one problem that I have is that a

[Paraview] Suppress X display while saving images from Python script

2009-07-24 Thread M. Nawijn
Hello, I have Python script that generates PNG images from a Paraview session. This in essence works very well. The one problem that I have is that an OpenGL window is created whenever I save the image. When you do this in a loop, it becomes a little annoying, since the window (at least on my Fedo

[Paraview] Saving VRML/X3D file from python

2009-07-23 Thread M. Nawijn
Hello, I would like to export a Paraview view to VRML/X3D. It works fine trough the GUI, however I would like to know if it is possible to do it from a Python interpreter. I tried to use the new trace option in the python console launched from withing Paraview, but it does not show anything. Does

Re: [Paraview] Text source font coloring in interpreter

2009-07-17 Thread M. Nawijn
code you are looking for. > The trace output can be a little verbose sometimes, but it can give > you something to start from. > > Pat > > On Fri, Jul 17, 2009 at 3:09 PM, M. Nawijn wrote: >> Thanks! It works. I start getting the idea... >> >> Marco &g

Re: [Paraview] Text source font coloring in interpreter

2009-07-17 Thread M. Nawijn
properties which > includes "Color", "FontFamily" etc > > Utkarsh > > > > On Fri, Jul 17, 2009 at 2:54 PM, M. Nawijn wrote: >> Hello, >> >> In the standalone Python interpreter I created a text source like this: >> >>>> fro

[Paraview] Text source font coloring in interpreter

2009-07-17 Thread M. Nawijn
Hello, In the standalone Python interpreter I created a text source like this: >> from paraview.simple import Text >> text = Text() >> text.Text = "Hello" Next I would like to change the font/text color, since by default the text is in white as is the background of my visualization. However, I c

Re: [Paraview] Insert text source into view in a script

2009-07-16 Thread M. Nawijn
Just for confirmation. I updated, recompiled and it works like a charm! Thanks again, Marco On Thu, Jul 16, 2009 at 8:31 PM, M. Nawijn wrote: > Thanks a lot! I will recompile and try it. > > Marco > > On Thu, Jul 16, 2009 at 6:07 PM, pat marion wrote: >> I committed a fix

Re: [Paraview] Insert text source into view in a script

2009-07-16 Thread M. Nawijn
except: isRep = False > +    if isRep: return rep > return None > >  def CreateRepresentation(aProxy, view, **extraArgs): > > > > Pat > > On Thu, Jul 16, 2009 at 10:34 AM, Utkarsh Ayachit > wrote: >> >> Marco, >> >> Looks li

Re: [Paraview] Insert text source into view in a script

2009-07-16 Thread M. Nawijn
s/VTKPythonWrapping/paraview/servermanager.py", line 357, in __getattr__ return getattr(self.SMProxy, name) AttributeError: Input Kind regards, Marco On Wed, Jul 15, 2009 at 10:33 PM, M. Nawijn wrote: > The script works. Somehow it seems like it does not work in > combination with my read

Re: [Paraview] Insert text source into view in a script

2009-07-15 Thread M. Nawijn
> > Just do: > load = 100.0 > # Don't know how to get this into the view > text = Text() > text.Text = "Load %6.3f" % load > Show() > > Utkarsh > > On Wed, Jul 15, 2009 at 4:01 PM, M. Nawijn wrote: >> Hello, >> >> I am a newbie

[Paraview] Insert text source into view in a script

2009-07-15 Thread M. Nawijn
Hello, I am a newbie in Paraview Python scripting, so I apologize upfront if this is a trivial question. I am processing a set of datafiles obtained from an optical measurement system. I so far succeeded in loading the data file, adding a color legend and storing the resulting view in a image fil

[Paraview] How to visualize multipart/multiblock models

2008-12-18 Thread M. Nawijn
Hello, I am trying to find a way to subdivide a structural analysis model in several parts in such a way that I can post-process the results in Paraview. The primary objective for me is to be able to hide and show different parts of the structure. The model itself is not too large (say 50.000 cell

[Paraview] How to visualize multipart/multiblock models

2008-12-17 Thread M. Nawijn
Hello, I am trying to find a way to subdivide a structural analysis model in several parts in such a way that I can post-process the results in Paraview. The primary objective for me is to be able to hide and show different parts of the structure. The model itself is not too large (say 50.000 cell