[Paraview] Programmable filter - script for mean of two input PointSources

2016-05-23 Thread Thomas Faribault-Ménard
Hi, I'm a beginner in ParaView. I have two Point Source as my inputs. My output is a third point source that has to be located at the mean of the coordinates of my inputs. I would prefer the solution to be in the form of a programmable python filter but I need a little help. Could you point m

Re: [Paraview] Memory leak with Catalyst

2016-05-23 Thread Gallagher, Timothy P
I am using the multiblock format, so I am definitely interested in the solution. Hopefully Utkarsh sees this and can chime in. Thanks! Tim From: Burlen Loring Sent: Monday, May 23, 2016 3:30 PM To: Gallagher, Timothy P; Andy Bauer Cc: paraview@paraview.org S

[Paraview] Thanks ! => RE: [Ext] Re: How to Annotate time steps when using VTK files ?

2016-05-23 Thread Carlos Baumann
Utkarsh, Thanks a lot, this is exactly what I needed ! Regards, Carlos From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com] Sent: Monday, May 23, 2016 2:28 PM To: Carlos Baumann Cc: paraview@paraview.org Subject: [Ext] Re: [Paraview] How to Annotate time steps when using VTK files ? Try

Re: [Paraview] Memory leak with Catalyst

2016-05-23 Thread Burlen Loring
I think there is an api in the multi-block writer to disable writing metadata. Utkarsh knows, he's the one that figured it out. not sure how it applies to your use case. you may not even be using multi-block format... On 05/23/2016 06:57 AM, Gallagher, Timothy P wrote: Interesting -- I'd be

Re: [Paraview] How to Annotate time steps when using VTK files ?

2016-05-23 Thread Utkarsh Ayachit
Try using the "Annotate Global Data" filter instead. You can then choose to use the value from the field data array TIME. On Mon, May 23, 2016 at 2:40 PM, Carlos Baumann wrote: > Hello ParaView ! > > > > I would like to annotate the actual Time using a series of .vtk files, > > However it appear

[Paraview] How to Annotate time steps when using VTK files ?

2016-05-23 Thread Carlos Baumann
Hello ParaView ! I would like to annotate the actual Time using a series of .vtk files, However it appears that with .vtk files ParaView is creating the time from the time step number, not from the T.vtk part of the filename. I also included a "TIME" array with one entry as shown in the snap

Re: [Paraview] X3DExporter false mesh colouring?

2016-05-23 Thread Utkarsh Ayachit
Here's a fix for the same: https://gitlab.kitware.com/vtk/vtk/merge_requests/1517 Utkarsh On Mon, May 23, 2016 at 11:42 AM, Utkarsh Ayachit wrote: > Ah okay. Looks like there's another bug with cell-data coloring and > x3d. I've spotted the bug (I think) and am working on a fix. Not sure > how

Re: [Paraview] Connect ParaViewWeb to Catalyst

2016-05-23 Thread Sebastien Jourdain
Hi Sven, What you did is what I was planning to do. Maybe cleaner, but that's it. So the end integration could be slightly different, but the core will be the same. On a side note, we will never call a "Qt" code from Python. As we are note expecting the GUI to be build for ParaViewWeb. Seb On

Re: [Paraview] Connect ParaViewWeb to Catalyst

2016-05-23 Thread Sven Kramer
Sure, I would share the code. But as I said, I haven't done anything more than wrapping pqCatalystConnectReaction::connect() and hacking several lines in the python rpc server, which are probably not done right. If it helps, I can try to reconstruct all the lines I have modified and clean up the st

Re: [Paraview] X3DExporter false mesh colouring?

2016-05-23 Thread Utkarsh Ayachit
Ah okay. Looks like there's another bug with cell-data coloring and x3d. I've spotted the bug (I think) and am working on a fix. Not sure how this could have worked in VTK example, however. I'll send you a patch shortly. On Mon, May 23, 2016 at 11:15 AM, Grothausmann, Roman Dr. wrote: > Many than

Re: [Paraview] Memory leak with Catalyst

2016-05-23 Thread Gallagher, Timothy P
Interesting -- I'd be willing to try it out if you have more details (commit hashtag, ticket, etc.), even if I have to figure out how to backport it from a newer version. Thanks, Tim From: Burlen Loring Sent: Sunday, May 22, 2016 10:30 PM To: Gallagher, Tim

Re: [Paraview] Custom panel widget

2016-05-23 Thread Utkarsh Ayachit
> Is it possible to create a custom widget for a filter which would allow me to > retrieve the results of its computation? I would like to reproduce the > functionality of the pqDoubleVectorPropertyWidget and populate it with values > computed by the filter. I know how to create and register the

[Paraview] X3DExporter false mesh colouring?

2016-05-23 Thread Grothausmann, Roman Dr.
Dear mailing list members, When I export scenes to X3D then load the mesh into blender or a browser the mesh is colour wrong. The colours are there but apparently assigned to random cells/vertices. This happens with either PV5 or PV4, especially for category colouring. When using e.g. WebGL e

[Paraview] Custom panel widget

2016-05-23 Thread Andrzej Peczak
Hello, Is it possible to create a custom widget for a filter which would allow me to retrieve the results of its computation? I would like to reproduce the functionality of the pqDoubleVectorPropertyWidget and populate it with values computed by the filter. I know how to create and register the

Re: [Paraview] Problems about calculate the difference between two datasets

2016-05-23 Thread Mathieu Westphal
Hello Actually no, it is actually ordered by proxy global id order, wich is basically random from a user point of view. This is not a wanted behavior but ordering using the order of selection would need some refactoring. Regards, Mathieu Westphal On Mon, May 23, 2016 at 8:19 AM, Favre Jean wro