Re: [Paraview] Python - load state just like when using the GUI

2011-08-28 Thread Marco Nawijn
Hello Tim, I warn you upfront, I am no expert in Paraview/VTK ;). Would it be an option to do it in reverse. First read the state file as an XML file (so through the Paraview Python interface). Update the XML tree (I use lxml and XPATH for this) and than send it to Paraview? To be honest, I don't

[Paraview] How to associate a vtkTextActor to a point in the pipeline

2011-08-31 Thread Marco Nawijn
Dear All, I have a short question. Is it possible to create (in Python) a vtkTextActor and associate this to a grid point in the Paraview pipeline? If so, can someone outline the steps that I need to take? I know how to obtain the points in the pipeline and how to work with the vtkTextActor class.

Re: [Paraview] Scaling up 3-D area in screenshots

2011-09-26 Thread Marco Nawijn
Hi, One way zooming is the following: >> cam = GetActiveCamera() >> cam.GetPosition(). # Returns the current camera position >> cam.SetPosition(xpos, ypos,zpos) >> Render() There are many other usefull properties for cameras. You can easily experiment in the python shell by generating the "

[Paraview] Simple distance measurement between points

2011-10-26 Thread Marco Nawijn
Dear All, I have a very simple question. I have a regular need to measure the distance between points in a grid. Is this possible? If not, would it make a chance if I add to the feature request list? Kind regards, Marco P.S. I would be happy to try to implement this myself, but I would need som

Re: [Paraview] Simple distance measurement between points

2011-10-27 Thread Marco Nawijn
; > Felipe > On 26/10/2011 22:17, Marco Nawijn wrote: >> >> Dear All, >> >> I have a very simple question. I have a regular need to measure the >> distance between points in a grid. Is this possible? >> If not, would it make a chance if I add to the feature requ

Re: [Paraview] How to find the nearest quad element?

2015-08-24 Thread Marco Nawijn
What about the following: Generate two additional datasets, one containing (an approximate of) the center of the hex elements, the second the center of the quads. Then create a vtkKdTreePointLocator object based on the center points of the quad elements. Than loop over the centers of the hex eleme

Re: [Paraview] [EXT] Re: How to find the nearest quad element?

2015-08-25 Thread Marco Nawijn
ll try to dig into it. > > > > Thanks again > > > > Dennis > > > > *From:* Marco Nawijn [mailto:naw...@gmail.com] > *Sent:* Monday, August 24, 2015 10:28 AM > *To:* Dennis Conklin > *Cc:* Paraview (paraview@paraview.org) > *Subject:* [EXT] Re: [Para

Re: [Paraview] [EXT] Re: How to find the nearest quad element?

2015-08-25 Thread Marco Nawijn
h > > > > Dennis > > > > *From:* Marco Nawijn [mailto:naw...@gmail.com] > *Sent:* Tuesday, August 25, 2015 11:21 AM > *To:* Dennis Conklin > *Cc:* Paraview (paraview@paraview.org) > *Subject:* Re: [EXT] Re: [Paraview] How to find the nearest quad element? > > &

Re: [Paraview] HPCWire Reader's Choice Awards. Please vote for VTK!

2015-09-11 Thread Marco Nawijn
Done! Good luck, I keep my fingers crossed for you! Marco On Fri, Sep 11, 2015 at 4:51 PM, Berk Geveci wrote: > Hi folks, > > VTK and ParaView have been nominated for HPCWire Reader's Choice Awards in > the category of visualization: > > http://www.hpcwire.com/2015-hpcwire-readers-choice-awar

Re: [Paraview] Paraview and Python related question

2015-09-23 Thread Marco Nawijn
Hi, I think you should *add* the Paraview path to the environment variable. Now you overwrite it. So the typical syntax is (bash): export avar=adir:$avar (Send from my phone, so I hope the formatting is reasonable). Marco Op 23 sep. 2015 01:16 schreef "Amit Goel" : > There is this weird behavi

Re: [Paraview] Anyone know of a reader for SAT (Saved As Text) files, which are Spatial (ACIS) geometry format

2016-09-15 Thread Marco Nawijn
Hi Dennis, I doubt there will be a native Paraview/VTK reader voor SAT. If you want a geometric representation of your CAD model in Paraview, for example to create an overlay of your simulation data over the geometry, I think your best bet is to create an STL file. I have had success with this whe

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] Visualize quadratic multi cell type in a model

2013-07-30 Thread Marco Nawijn
I was just wondering if there is a reason why the XDMF celltype codes are not the same as the ones for VTK? For example in VTK (through the python interface) I get for the quadratic triangle cell type the following: >>> from vtk import * >>> t = vtkQuadraticTriangle() >>> t.GetNumberOfPoints() 6L

Re: [Paraview] Blog: Using the Color Map Editor panel in ParaView 4.1

2013-11-20 Thread Marco Nawijn
Hello Utkarsh, Nice blog! Although I have been using Paraview for a while now, it is still very interesting to read. I am looking forward to a follow-up. In particular, I am looking forward to the annotation (custom labels) part. This is highly usefull for the work that I do. Regards, Marco O

Re: [Paraview] Blog: Using the Color Map Editor panel in ParaView 4.1

2013-11-25 Thread Marco Nawijn
Hi Utkarsh, Thanks a lot for these nice and instructive blog posts. This is a very useful capability for me. As a side note, an additional nice feature would be, to create an exploded view in Paraview based on the values corresponding to the categorical color maps. Something like the shrink filte

Re: [Paraview] Blog: matplotlib View coming in ParaView 4.1

2013-12-17 Thread Marco Nawijn
Dear Cory, I am seriously impressed! I cannot wait to check it out and play around with it. Now I have only two wishes left :). For those who are interested: 1. I would like to be able to dynamically update (e.g. add timestep) Paraview without blocking the user interface. Use-case for me

Re: [Paraview] Blog: matplotlib View coming in ParaView 4.1

2013-12-17 Thread Marco Nawijn
gt; > Regards, > Andy > > > On Tue, Dec 17, 2013 at 10:39 AM, Marco Nawijn wrote: > >> Dear Cory, >> >> I am seriously impressed! I cannot wait to check it out and play around >> with it. >> >> Now I have only two wishes left :). For those who

Re: [Paraview] Is Paraview the right program?

2014-03-25 Thread Marco Nawijn
Hello Florian, Yes! Paraview is definitely a good choice. I would also recommend to use VTK for managing some of the FEM related datastructures. In particular, I would recommend to use one or more of the grid/cell classes. This also provides you automatically with different export formats (see for

Re: [Paraview] Structured Grid: strange view of surface+edges

2014-10-31 Thread Marco Nawijn
Hi Michael, Just for your information. I tried the file with Paraview 4.2.0 on 64 bit linux and see no such artifacts. So the file itself seems to be fine. Regards, Marco On Fri, Oct 31, 2014 at 6:59 AM, Michael Grabietz < michael.grabi...@img-online.de> wrote: > Hello, > > I have a structure

Re: [Paraview] Load series of VTK files

2015-03-06 Thread Marco Nawijn
On Fri, Mar 6, 2015 at 3:06 PM, wrote: > Well, if you don't want to rename the data files then you could use a PVD > wrapper file: > http://www.paraview.org/Wiki/ParaView/Data_formats > > Never created one myself, but you could write out one from paraview and > modify it. > > But maybe somebody e