Re: [Paraview] Extract Cells by Region, glyphs

2017-10-27 Thread Dennis Conklin
Randy, Is it possible you have not switched Masking Glyph Mode to All Points?I've forgotten that a few time myself! Dennis ___ Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [Paraview] Specifying filters from plugins in ParaViewWeb Visualizer proxy file

2017-10-27 Thread louise.davies
Hi Sebastien, I’ve made it so that the plugin autoloads (and I’ve checked that the plugins are autoloading by selecting a reader plugin as autoload as well, and it does indeed allow me to open the associated filetype without me loading the plugin via the command line) and I still have the same

Re: [Paraview] POV Exporter, spheres/geom/colors

2017-10-26 Thread Utkarsh Ayachit
Randy, That's indeed a bug, I've reported the issue and the cause here: https://gitlab.kitware.com/paraview/paraview/issues/17802 Utkarsh On Thu, Oct 26, 2017 at 8:38 PM, Heiland, Randy wrote: > I have a simple 2-point Pgmable Source (below) and render it 1) as 2D >

Re: [Paraview] Script for exporting multiple scenes

2017-10-26 Thread Utkarsh Ayachit
Claudio, Attached is an example script with a demo vtu file used for it. Hope that helps. Utkarsh On Mon, Oct 23, 2017 at 8:55 AM, Ing. Claudio Pascarelli < claudio.pascare...@unisalento.it> wrote: > Hi, > > these are the first times that I'm using Paraview and Python. > > > I would like to

Re: [Paraview] [EXTERNAL] Default colorbar style

2017-10-26 Thread Scott, W Alan
Works for me! Try deleting your configuration files. You may have some old trash in there. https://www.paraview.org/Wiki/ParaView_Settings_Files Then, in the Color Editor, change your color table. Down at the bottom, left, there is a little cute icon that says "save current color map

[Paraview] POV Exporter, spheres/geom/colors

2017-10-26 Thread Heiland, Randy
I have a simple 2-point Pgmable Source (below) and render it 1) as 2D Glyphs/Vertex (with the nice OSPRay, and scaled spheres), and 2) as various 3D/geometric glyphs. Then I Export the scenes as POV files. Only the geometric (non 2D/Vertex) glyphs generate partially-meaningful POV output.

Re: [Paraview] vtkCutter

2017-10-26 Thread Heiland, Randy
Thanks very much, Cory! It did indeed (mostly) work for me. Wow, I continue to be amazed at PV. That was a super simple solution, thanks to the XML plugin option (and vtkContourTriangulator). I say “mostly” because I had some intersecting spheres in my test case and the filter got a bit

[Paraview] Error with plot selection over time

2017-10-26 Thread Jairaj Mathur
Hey all I have unstructured grid vtu/vtk type data. When I select some cells and try "plot selection over time", it gives me error Type mismatch: source: double dest: idtype. This error has never occurred before, when I tried to use this. Thank you all! -- Jairaj Mathur, Mechanical Engineering

Re: [Paraview] [EXTERNAL] Default colorbar style

2017-10-26 Thread Riccardo Rossi
Hey Alan. Yes, I've tried the 5.4.1. on Windows and seems to work fine with scalar variables, but the font size/color are restored to defauls values for vector data. Also, saving settings as default does not apply to colormap size and location which is also very annoying. R From:

Re: [Paraview] [EXTERNAL] Default colorbar style

2017-10-26 Thread Scott, W Alan
I remember some weirdnesses with the colormap for PV 4.*. Kitware has rewritten this code, and it really is working nice. Would it be possible to install the latest version of PV? 5.4.1 is being a reliable workhorse. Alan From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of

[Paraview] Default colorbar style

2017-10-26 Thread Riccardo Rossi
Hi All. I'm using Paraview 4.3.1 64bit on Linux (the system can't digest the 5.4 release for now) and I'm struggling to get the same colorbar style for any variable on any render view and layout, i.e. once for all. As I understand, using "Save current colormap settings as default" in the

Re: [Paraview] Specifying filters from plugins in ParaViewWeb Visualizer proxy file

2017-10-26 Thread Sebastien Jourdain
Another easy approach (not great but easy), is to check that plugin in ParaView Qt ui as auto load and then make sure Visualizer is not started with the "-dr" argument. That way, the plugin will load at start time. On Thu, Oct 26, 2017 at 10:06 AM, wrote: > Hi Scott, >

Re: [Paraview] Specifying filters from plugins in ParaViewWeb Visualizer proxy file

2017-10-26 Thread louise.davies
Hi Scott, Yes, the ui item is there but all that happens is that the logo flickers for like a second then nothing. 1. I have no log output other than the regular output I get via starting the server 2. Running 5.4.1, compiled from source 3. It’s an .mha file, looking at

Re: [Paraview] Tube around a center line

2017-10-26 Thread Sebastien Jourdain
The Tube filter is made for that. On Thu, Oct 26, 2017 at 9:56 AM, Doina Gumeniuc (224252 MAHS) <224...@via.dk > wrote: > Hi all, > > > I have got a tube with various diameters along its height. I have the > coordinates of the points which form the center line and the scalar value > of the

[Paraview] Tube around a center line

2017-10-26 Thread Doina Gumeniuc (224252 MAHS)
Hi all, I have got a tube with various diameters along its height. I have the coordinates of the points which form the center line and the scalar value of the diameters. IS there a way to generate the tube shape arounda centre line using diameter, in a vtk input file without having to show

Re: [Paraview] LiveInsituLink proxy in pvpython client

2017-10-26 Thread Andy Bauer
I inlined some answers below... On Wed, Oct 25, 2017 at 1:42 PM, Kolja Petersen wrote: > Thank you, Andy, > unfortunately your answer has shown me how little I understand about > Catalyst. But maybe it leads in the right direction after some work from my > side. > >

Re: [Paraview] Specifying filters from plugins in ParaViewWeb Visualizer proxy file

2017-10-26 Thread Scott Wittenburg
I see, I read your first email a bit too quickly. So you do see the filter appear in the web ui, but it just doesn't have any effect you can see. A few more questions then: 1) Is there any log output you can share? 2) what version of paraview are you running? 3) what filter or dataset type are

Re: [Paraview] Specifying filters from plugins in ParaViewWeb Visualizer proxy file

2017-10-26 Thread louise.davies
Hi Scott, I am using the default pvw-visualizer.py server file, which does register ParaViewWebStartupPluginLoader before ParaViewWebProxyManager. For clarification, this is what I’m adding to my json file (using the Flying Edges 3D example): In the “filters” section: { "name":

Re: [Paraview] Specifying filters from plugins in ParaViewWeb Visualizer proxy file

2017-10-26 Thread Scott Wittenburg
Hi Louise, Off the top of my head, I would think that what you are doing should work, but maybe Seb can chime in otherwise. In your application server code, do you register the "ParaViewWebStartupPluginLoader" before the "ParaViewWebProxyManager"? Scott On Thu, Oct 26, 2017 at 9:24 AM,

[Paraview] Specifying filters from plugins in ParaViewWeb Visualizer proxy file

2017-10-26 Thread louise.davies
Hello all, I'm specifying some plugins to load with Visualizer, and I want to be able to apply filters from these plugins in Visualizer. I've copied the defaultProxies.json file from the ParaView source code and I

Re: [Paraview] vtkCutter

2017-10-26 Thread Cory Quammen
On Thu, Oct 26, 2017 at 11:15 AM, Heiland, Randy wrote: > Thanks! Before I start down that path, will this handle multiple, disjoint > polylines? E.g., a plane slicing through 2 spheres; I just want to cap the > sliced spheres. > I'm about 95% sure it will. It is fairly robust

Re: [Paraview] vtkCutter

2017-10-26 Thread Heiland, Randy
Thanks! Before I start down that path, will this handle multiple, disjoint polylines? E.g., a plane slicing through 2 spheres; I just want to cap the sliced spheres. > On Oct 26, 2017, at 11:10 AM, Cory Quammen wrote: > > There isn't a filter exposed in ParaView to

Re: [Paraview] vtkCutter

2017-10-26 Thread Cory Quammen
There isn't a filter exposed in ParaView to do this. You could expose vtkContourTriangulator in an XML plugin [1] and apply that to the polyline created by the planar Slice through your polygonal geometry. Cory [1] https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#XML_Only On Thu, Oct 26,

Re: [Paraview] my current State/.pvsm ?

2017-10-26 Thread Heiland, Randy
No worries, Mathieu’s solution works - look at the most recent in File->Recent. Thanks! > On Oct 26, 2017, at 11:06 AM, Utkarsh Ayachit > wrote: > >> Is the current State filename hiding somewhere in the GUI? > > Alas no. There's no notion of current state file

Re: [Paraview] my current State/.pvsm ?

2017-10-26 Thread Utkarsh Ayachit
> Is the current State filename hiding somewhere in the GUI? Alas no. There's no notion of current state file in ParaView and hence no way to know what state file was loaded in the current instance. ___ Powered by www.kitware.com Visit other Kitware

Re: [Paraview] my current State/.pvsm ?

2017-10-26 Thread Mathieu Westphal
Hello It should be visible in the File->Recent Files menu Best, On 26 Oct 2017 4:58 pm, "Heiland, Randy" wrote: > I sometimes have multiple PVs running and don’t remember the names of the > .pvsm State files I've loaded into each. Then I want to Save State and it > pops up the

[Paraview] my current State/.pvsm ?

2017-10-26 Thread Heiland, Randy
I sometimes have multiple PVs running and don’t remember the names of the .pvsm State files I've loaded into each. Then I want to Save State and it pops up the file dialog to have me choose/enter the filename, but I don’t remember :) Is the current State filename hiding somewhere in the GUI?

Re: [Paraview] vtkCutter

2017-10-26 Thread Heiland, Randy
Yes, sorry I wasn’t clear. > On Oct 26, 2017, at 10:33 AM, Cory Quammen wrote: > > I'm not sure what you mean. Are you trying to clip some polygonal geometry > with a plane and want to fill in the hole created with a polygon? > > On Thu, Oct 26, 2017 at 10:24 AM,

Re: [Paraview] vtkCutter

2017-10-26 Thread Cory Quammen
I'm not sure what you mean. Are you trying to clip some polygonal geometry with a plane and want to fill in the hole created with a polygon? On Thu, Oct 26, 2017 at 10:24 AM, Heiland, Randy wrote: > Is there a property that lets me cap the results? > > On Oct 26, 2017, at 10:18

Re: [Paraview] vtkCutter

2017-10-26 Thread Heiland, Randy
Is there a property that lets me cap the results? > On Oct 26, 2017, at 10:18 AM, Cory Quammen wrote: > > Sounds like you want the Slice filter. > > On Thu, Oct 26, 2017 at 10:14 AM, Heiland, Randy > wrote: > I’m not seeing

Re: [Paraview] vtkCutter

2017-10-26 Thread Cory Quammen
Sounds like you want the Slice filter. On Thu, Oct 26, 2017 at 10:14 AM, Heiland, Randy wrote: > I’m not seeing the vtkCutter in the list of filters (well, perhaps the AMR > CutPlane). If not, any advice on how to accomplish it for some polydata? >

[Paraview] vtkCutter

2017-10-26 Thread Heiland, Randy
I’m not seeing the vtkCutter in the list of filters (well, perhaps the AMR CutPlane). If not, any advice on how to accomplish it for some polydata? https://www.paraview.org/Wiki/Python_Programmable_Filter ? Thanks! smime.p7s

Re: [Paraview] OSPRay, scaled spheres

2017-10-26 Thread David E DeMarle
A patch to factor in point size control can be found here: https://gitlab.kitware.com/vtk/vtk/merge_requests/3499 David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Thu, Oct 26, 2017 at 9:04 AM, David E DeMarle

Re: [Paraview] OSPRay, scaled spheres

2017-10-26 Thread David E DeMarle
Looks like: 1) I was wrong, you don't need to scale and bias the input array into 0..1. The transfer function editor widget's piecewise range controls let you specify what the input domain extent. 2) You are correct that there isn't currently a way to get the radii to be > 1.0 when applying the

Re: [Paraview] OSPRay, scaled spheres

2017-10-26 Thread Heiland, Randy
Recapping, hopefully the relevant bits: Pipeline: PgmableSource -> Glyph (only show Glyph) Glyph Properties: Source: 2D Glyph Type: Vertex Active Attrs: Scalars: cell_radius Scaling: Mode: scalar Factor: 1 OSPRay Use Scale Array - yes Scale Array: cell_radius

Re: [Paraview] OSPRay, scaled spheres

2017-10-25 Thread Heiland, Randy
Beauty. Thanks!! (I really need to take time to read the entire PV Guide) > On Oct 25, 2017, at 5:14 PM, David E DeMarle wrote: > > click the gear to show advanced properties, or use search field for glyph > type. > > > > David E DeMarle > Kitware, Inc. > Principal

Re: [Paraview] OSPRay, scaled spheres

2017-10-25 Thread David E DeMarle
click the gear to show advanced properties, or use search field for glyph type. David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Wed, Oct 25, 2017 at 5:11 PM, Heiland, Randy wrote: > You lost me - in the

Re: [Paraview] OSPRay, scaled spheres

2017-10-25 Thread Heiland, Randy
You lost me - in the Glyph Source block,I select Glyph Type = 2D Glyph. Then where is VERTEX? In the Display block, I choose Representation = Points which produces a blobby mess. But a very *smooth* blobby mess :) > On Oct 25, 2017, at 4:46 PM, David E DeMarle wrote:

Re: [Paraview] OSPRay, scaled spheres

2017-10-25 Thread David E DeMarle
That control is only available if the representation type is surface, this could explain why you don't see it on the ProgrammableSource. In the glyph filter, use 2D glyph, VERTEX. David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone:

Re: [Paraview] OSPRay, scaled spheres

2017-10-25 Thread Heiland, Randy
I only see the “OSPRay Use Scale Array” on the Properties for Glyph, not the Props for the ProgrammableSource. Expected? And so, OSPRay is rendering the chunky polygonalized spherical glyphs (Representation = Surface). If I could independently scale the implicit spheres and use OSPRay, I’d

Re: [Paraview] OSPRay, scaled spheres

2017-10-25 Thread David E DeMarle
To change the size based on values: check "OSPRay Use Scale Array" on "Display" section or "Properties" Tab Choose the array name you want to scale by with "OSPRay Scale Array" pulldown. Define your value to radius transfer function via the "OSPRay Scale Function" popup editor. Note 1: the

[Paraview] OSPRay, scaled spheres

2017-10-25 Thread Heiland, Randy
Just want to make sure I’m not missing something. In my Pgmable Source PolyData, I render Points and love the OSPRay-rendered spheres. However, is there any mechanism for (independently) scaling these, i.e., other than the fixed Point Size? Or is the only way to get scalar-value scaled spheres

Re: [Paraview] LiveInsituLink proxy in pvpython client

2017-10-25 Thread Kolja Petersen
Thank you, Andy, unfortunately your answer has shown me how little I understand about Catalyst. But maybe it leads in the right direction after some work from my side. Just to make sure that we are talking about the same thing: My pvpython client is supposed to automate some of the visualization

Re: [Paraview] multiple scalar fields

2017-10-25 Thread David E DeMarle
Give each array a name (vtkDataArray::SetName()) and use AddArray (vtkFieldData:AddArray()) instead of using the atttibutes based API (vtkDataSetAttributes::Set{Scalars/Tensors/Vectors}) ParaView uses named array access almost exclusively anyway. David E DeMarle Kitware, Inc. Principal

[Paraview] multiple scalar fields

2017-10-25 Thread Heiland, Randy
How does one use 2 (or more) scalar fields in a dataset, e.g. one for a colormap, one to scale glyphs? E.g., Pgmable Source: pdo = self.GetPolyDataOutput() num_pts = 2 newPts = vtk.vtkPoints() cell_color_ID = vtk.vtkFloatArray() cell_radius = vtk.vtkFloatArray()

Re: [Paraview] Python Scripting - Acess vtkOpenGL cameras from .pvx files information

2017-10-25 Thread Utkarsh Ayachit
Leo, To handle 90-degree pitch or elevation, do the following: camera.Pitch(90) camera.OrthogonalizeViewUp() Render() Utkarsh On Tue, Oct 24, 2017 at 2:50 PM, Léo Pessanha wrote: > Thanks Utkarsh! > > This change would take a build right? Can't do it right now

Re: [Paraview] LiveInsituLink proxy in pvpython client

2017-10-25 Thread Andy Bauer
Hi Kolja, I can't recall if anyone tried the Catalyst Live connection through pvpython but I don't think anyone has done that yet. The design was meant to go through the GUI. My suggestion would be to start looking at the DoLiveVisualization() method in coprocessing.py. Cheers, Andy On Tue, Oct

Re: [Paraview] superbuild: fontconfig too old to compile (current does)

2017-10-25 Thread Ben Boeckel
On Wed, Oct 25, 2017 at 13:35:51 +0200, Fabian Wein wrote: > thank you! So the current master will have the upgrade within a few days? It's not so simple :( . There's a build failure with older compilers: https://open.cdash.org/viewNotes.php?buildid=5114526 --Ben

Re: [Paraview] Programmable filter VTK/numpy

2017-10-25 Thread Cory Quammen
You should change 'array_name' to 'MetaImage'. Sorry I didn't make it clear that 'array_name' is just a placeholder for whatever name your array has. Cory On Wed, Oct 25, 2017 at 7:46 AM, Edoardo Pasca wrote: > Hallo Cory and all, > > I've spent a few minutes trying to

Re: [Paraview] superbuild: fontconfig too old to compile (current does)

2017-10-25 Thread Ben Boeckel
On Wed, Oct 25, 2017 at 13:35:51 +0200, Fabian Wein wrote: > thank you! So the current master will have the upgrade within a few days? Hopefully. I need to get `gperf` onto the build machine since it is a new build dependency of fontconfig. --Ben ___

Re: [Paraview] Programmable filter VTK/numpy

2017-10-25 Thread Edoardo Pasca
Hallo Cory and all, I've spent a few minutes trying to find out where my script crashes: 1) I load a MetaImage and the scalars are named 'MetaImage' 2) Paraview crashes if I use inData = dsa.WrapDataObject(inputs[0]) B = inData.PointData['array_name'] # best practice is to name the array 3)

Re: [Paraview] superbuild: fontconfig too old to compile (current does)

2017-10-25 Thread Fabian Wein
I've pushed an MR for the common-superbuild here: Ben, thank you! So the current master will have the upgrade within a few days? Cheers, Fabian ___ Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [Paraview] Equally spaced points on a slice (for the streamlines)

2017-10-25 Thread Andrew
Hello, sorry for being late. The slice may be oriented arbitrary, it may be not a flat but cylinder slice e.t.c. But often I need just axis-aligned slices. Thanks for suggestion about sources. 2017-10-23 18:03 GMT+03:00 Utkarsh Ayachit : > Is the slice axis aligned?

[Paraview] paraview 5.4.1 configure error on ppc64le

2017-10-24 Thread Bruce D'Amora
What does this message mean: CMake Error in Wrapping/ClientServer/CMakeLists.txt: Found relative path while evaluating include directories of "vtkPVServerImplementationCoreCS": "NONE/include" I get a lot of them during configure, but only on Ubuntu ppc64le I don't have an issue

Re: [Paraview] superbuild: fontconfig too old to compile (current does)

2017-10-24 Thread Ben Boeckel
On Tue, Oct 24, 2017 at 16:51:09 +0200, Fabian Wein wrote: > fontconfig 2.12.1 does not compile with the error at the end of this > mail. > > Building the current fontconfig 2.12.6 works for me, maybe the version > could be upgraded? I've pushed an MR for the common-superbuild here:

Re: [Paraview] Python Scripting - Acess vtkOpenGL cameras from .pvx files information

2017-10-24 Thread Léo Pessanha
Thanks Utkarsh! This change would take a build right? Can't do it right now =/ My goal is to know what should I do after a cameraInstance.Pitch(90) > and before a Render() > In order not to get the warning Resetting view-up since view plane normal is parallel > I've tried

[Paraview] LiveInsituLink proxy in pvpython client

2017-10-24 Thread Kolja Petersen
Hello, Are there any examples how to receive extracts from Catalyst simulations in a batch pvpython script? My first attempt looks as attached. I connect to a pvserver running on localhost. Then I create a LiveInsituLink proxy, set the insitu port to 2 and initialize the proxy. Finally, I

Re: [Paraview] Remote rendering with pvpython + grab remote image data

2017-10-24 Thread Kolja Petersen
Thank you, Utkarsh, with view.RemoteRenderThreshold = 0, rendering is now done in the right place. Kolja On Mon, Oct 23, 2017 at 7:47 PM, Utkarsh Ayachit < utkarsh.ayac...@kitware.com> wrote: > Koija, > > > But I have still no clue how to make the pvserver render the scene > remotely and only

[Paraview] anyone using vtkHyperOctree?

2017-10-24 Thread David E DeMarle
I would like to deprecate and remove this class. I believe vtkHyperOctree was the forerunner to vtkHyperTreeGrid. David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 ___ Powered by

[Paraview] superbuild: fontconfig too old to compile (current does)

2017-10-24 Thread Fabian Wein
Hello to the list, I have openSUSE tumbleweed with gcc 7.2.1 fontconfig 2.12.1 does not compile with the error at the end of this mail. Building the current fontconfig 2.12.6 works for me, maybe the version could be upgraded? Regards, Fabian Here is the error: Performing build step for

Re: [Paraview] Paraview v5.4.1 using EGL on ppc64le RHEL7.2

2017-10-24 Thread Andy Bauer
Hi, It should do hardware rendering in all cases. If you're connecting the GUI to the EGL pvserver though the rendering can switch from being done on the client vs. being done on the server. You can control where the rendering is being done in your settings under the Render View by setting the

Re: [Paraview] Paraview v5.4.1 using EGL on ppc64le RHEL7.2

2017-10-24 Thread Bruce D'Amora
using 384.61 driver. Does pvserver use software rendering for surface, wireframe, outline, points? Rendering in those modes works, but when I switch to volume rendering it crashes. I wonder if I'm just switching to H/W rendering when I switch to volume mode and it is crashing.

Re: [Paraview] Paraview v5.4.1 using EGL on ppc64le RHEL7.2

2017-10-23 Thread Andy Bauer
Hi, It may be a driver issue. Which NVIDIA driver version are you using? According to https://blog.kitware.com/off-screen-rendering-through-the-native-platform-interface-egl/ you'll need at lest 355.11. Cheers, Andy On Mon, Oct 23, 2017 at 5:25 PM, Bruce D'Amora wrote: > I

[Paraview] Paraview v5.4.1 using EGL on ppc64le RHEL7.2

2017-10-23 Thread Bruce D'Amora
I think there is an issue with volume rendering on Paraview v5.4.1 using EGL on ppc64le RHEL 7.2 and client-server rendering. Any model that I try to volume render results in a segfault. Always seem to get these errors, but only when I try volume rendering. Warning: In

Re: [Paraview] Calculating time-averaged shear stress

2017-10-23 Thread Shuhao Wu
There's the `SaveData` function you can use. Just save via a .vtu extension. I personally also use CompressorType="LZ4" Try doing this in the paraview gui first and then record it into Python. Then you can see how everything is done. Shuhao On 2017-10-23 05:00 PM, Eslami, Parastou wrote:

Re: [Paraview] Calculating time-averaged shear stress

2017-10-23 Thread Eslami, Parastou
Hi Shuhao, Thank you for your response. Yes, I found the TemporalStatistics filter as well. Could you please let me know how I can save it back as a .vtu file? Best Regards, Parastou From: ParaView on behalf of Shuhao Wu

Re: [Paraview] Calculating time-averaged shear stress

2017-10-23 Thread Shuhao Wu
I believe you're looking for the TemporalStatistics filter. Specifically what you want maybe something along the lines of: temporal_statistics = TemporalStatistics(Input=vtk_data) temporal_statistics.ComputeAverage = 1 temporal_statistics.ComputeMinimum = 0

[Paraview] Calculating time-averaged shear stress

2017-10-23 Thread Eslami, Parastou
Hi Everyone, I'm very new to Paraview and python scripting. I have a series of time dependent .vtu files and would like to 1. Read the vtu files for each time step 2. calculate the magnitude of shear stress 3. calculate time-averaged shear stress for all the elements in my geometry

Re: [Paraview] Remote rendering with pvpython + grab remote image data

2017-10-23 Thread Utkarsh Ayachit
Koija, > But I have still no clue how to make the pvserver render the scene remotely > and only transfer the rendered image to the pvpython client instead of all 3D > datasets (which will be huge). By default, ParaView will do remote rendering, if possible when the geometry size exceeds

Re: [Paraview] Equally spaced points on a slice (for the streamlines)

2017-10-23 Thread Utkarsh Ayachit
Is the slice axis aligned? If so, you can use a regular source eg. Wavelet or Mandlebrot to generate the evenly spaced points by setting the extents appropriately. Utkarsh On Mon, Oct 23, 2017 at 2:41 AM, Andrew wrote: > Hello. > I need to distribute points on a slice

Re: [Paraview] Python Scripting - Acess vtkOpenGL cameras from .pvx files information

2017-10-23 Thread Utkarsh Ayachit
Leo, You can't access it in Python since the Python script is not run on the server side. If your goal is to debug what thet camera is set to, you can put cout's to print the camera in `vtkCaveSynchronizedRenderers::HandleStartRender`. That's where the local camera on each rank is "prepped" for

[Paraview] ParaView Release Roadmap

2017-10-23 Thread Utkarsh Ayachit
Folks, We have a change in the ParaView release plan, as follows: *1. ParaView 5.5 October/November 2017 release has been postponed.* We have already had 3 releases this year, hence we have decided to postpone the 5.5 release. The next release will be according to the release plan described

Re: [Paraview] How to run a python script in every interaction

2017-10-23 Thread Utkarsh Ayachit
For camera interaction, you can add an observer to vtkCommand::[InteractionEvent|StartInteractionEvent|EndInteractionEvent] fired by vtkRenderWindowInteractor. e.g. def callback(caller, event): print ("ineraction") from paraview.vtk import vtkCommand view = GetActiveView()

Re: [Paraview] Setting glyph "Scalars" property in a C++ pipeline

2017-10-23 Thread Utkarsh Ayachit
Jimmy, You can use `vtkSMPropertyHelper(glyph, "Scalars").SetInputArrayToProcess(vtkDataObject::POINT, "Diameters")`. Utkarsh On Mon, Oct 23, 2017 at 5:19 AM, A . wrote: > Dear community, > > > I'm having a hard time figuring out how to set the "Scalars" property of

Re: [Paraview] Rescale & axes grid tricks

2017-10-23 Thread Sonya Davydycheva
Cory, This is what I needed. It works. Many thanks, Sonya Davydycheva (713)498-6139 On Mon, Oct 23, 2017 at 7:47 AM, Cory Quammen wrote: > Sonya, > > ParaView 5.2.0 does have a "Rescale" color map feature. It is circled in > red here: > >

[Paraview] How to run a python script in every interaction

2017-10-23 Thread Léo Pessanha
Hi! How can I run a python script in every interaction? By interaction I mean camera movements, hitting apply buttons and etc I don't know if an approach like running the script every N frames is the ideal, but if that's possible it would be a great start too Best regards, Leonardo Pessanha

[Paraview] Python Scripting - Acess vtkOpenGL cameras from .pvx files information

2017-10-23 Thread Léo Pessanha
Hi! I would like to know if there's a way to acess the information/attributes of the cameras there are created trough a .pvx file To acess the attributes in the camera of the active Layout/RenderView I do: 1 - Open Python Shell 2 - camera = GetActiveCamera() 3 - print(camera) And the output

[Paraview] Script for exporting multiple scenes

2017-10-23 Thread Ing. Claudio Pascarelli
Hi, these are the first times that I'm using Paraview and Python. I would like to create a script that: 1 - Read the number and name of properties (variables/contour plot) that I have in my .vtu file (for instance TEMPERATURE and TH_FLUX) 2 - Export every contour plot (Export Scenes) in

Re: [Paraview] Rescale & axes grid tricks

2017-10-23 Thread Cory Quammen
Sonya, ParaView 5.2.0 does have a "Rescale" color map feature. It is circled in red here: [image: Inline image 1] Best regards, Cory On Mon, Oct 23, 2017 at 8:09 AM, Sonya Davydycheva wrote: > Cory, Alan and all ParaView experts, > > I keep playing with two versions of

[Paraview] Rescale & axes grid tricks

2017-10-23 Thread Sonya Davydycheva
Cory, Alan and all ParaView experts, I keep playing with two versions of Paraview following your kind advice, thanks (see below, on Paraview 5.4.1 error message & freeze). The earlier versions freeze sometimes as well, but I found a way to isolate and avoid the bug (I just avoid making full

[Paraview] Setting glyph "Scalars" property in a C++ pipeline

2017-10-23 Thread A .
Dear community, I'm having a hard time figuring out how to set the "Scalars" property of a glyph object with the C++ API. In Python it's as easy as: glyph.Scalars=['POINTS', 'ScaleByThis'] In C++ I would assume something like: vtkSMPropertyHelper(glyph, "Scalars", true).Set("['POINTS',

[Paraview] Equally spaced points on a slice (for the streamlines)

2017-10-23 Thread Andrew
Hello. I need to distribute points on a slice equally to start streamlines from these points. The problem is that the Mask Points filter seems to not to have such option. I tried all combinations of randomizing in this filter but the problem persist. My mesh is unstructured tetra with inflation

Re: [Paraview] Fwd: paraview.simple

2017-10-21 Thread Guillermo
Hi Cory, Sorry for the delayed response. I have been trying to understand and learn to use the gdb, but I could not accomplish the task you mentioned. I am sorry :(. When ever it is possible I will give it another try. Cheers, Guillermo On 26/09/17 14:16, Cory Quammen wrote: Hmm, this

Re: [Paraview] Remote rendering with pvpython + grab remote image data

2017-10-20 Thread Kolja Petersen
I found that simple.WriteImage(...) solves the second part of my problem, which is to grab the image data. But I have still no clue how to make the pvserver render the scene remotely and only transfer the rendered image to the pvpython client instead of all 3D datasets (which will be huge). Any

Re: [Paraview] Programmable filter VTK/numpy

2017-10-20 Thread Cory Quammen
On Thu, Oct 19, 2017 at 11:02 AM, Edoardo Pasca wrote: > Hi Cory, > > thanks for your reply. I'd love to simplify the code like that but there > are 2 issues with that programmable filter > > 1) I miss information on the input and output variables. Where are defined? >

Re: [Paraview] Problem compiling ParaView with NMake

2017-10-20 Thread Ben Boeckel
On Fri, Oct 20, 2017 at 08:40:34 -0400, Cory Quammen wrote: > I strongly recommend using the Ninja generator for building ParaView with > Superbuild on Windows. It will build much faster than if you use other > build generators, and will take care of the particular problem you are > seeing as -j

Re: [Paraview] Is it possible to group vtkImageData objects?

2017-10-20 Thread Cory Quammen
On Fri, Oct 20, 2017 at 10:10 AM, A . wrote: > Thanks for your reply. I can see this work for vtkImageData objects having > the same dimensions. What would you advise when working with vtkImageData > objects of varying dimensions? In that case the attribute data will not

Re: [Paraview] Is it possible to group vtkImageData objects?

2017-10-20 Thread Cory Quammen
Hi Jimmy, Try "Append Attributes". This will yield a single vtkImageData that has several point data arrays, or "attributes". As long as the input vtkImageData have the same dimensions, this filter will do what you like. You can then pick which array you want to view with the Volume

Re: [Paraview] Problem compiling ParaView with NMake

2017-10-20 Thread Cory Quammen
Hi Thomas, I strongly recommend using the Ninja generator for building ParaView with Superbuild on Windows. It will build much faster than if you use other build generators, and will take care of the particular problem you are seeing as -j is a Ninja option that controls the level of build

[Paraview] Problem compiling ParaView with NMake

2017-10-20 Thread Thomas Krug
Hallo everyone, I tried to compile ParaView for Windows 10, using the superbuild of version 5.4.1 and NMake Makefiles as generator. After the execution of nmake, I get the following error: -- NMAKE : fatal error U1065: invalid option 'j' Stop. CMake Error at

[Paraview] Is it possible to group vtkImageData objects?

2017-10-20 Thread A .
Dear community, Is it possible with ParaView to group vtkImageData objects in a single file format? I would like to import a couple of regular grids (i.e. vtkImageData objects) as a single file, rather than as grid_1.pvti, grid_2.pvti, etc... Once imported I would like to simply select which

[Paraview] ParaView VR - issue with new steam vr

2017-10-19 Thread Ken Martin
Be aware if you are using the ParaView VR version with OpenVR support that a recent driver update from steam has introduced some issues causing events to be processed with delays. We should have a fixed version up in a week or so. Thanks Ken -- Ken Martin PhD Distinguished Engineer Kitware

Re: [Paraview] Programmable filter VTK/numpy

2017-10-19 Thread Cory Quammen
Hi Edo, Documentation for the VTK/Numpy adapter can be found here: https://www.paraview.org/ParaView/Doc/Nightly/www/py-doc/paraview.vtk.numpy_interface.html?highlight=numpy_interface#numpy-interface-package You will likely be interested in the dataset_adapter module that provides a convenient

[Paraview] Remote rendering with pvpython + grab remote image data

2017-10-19 Thread Kolja Petersen
Hi there, is it possible to let pvpython render images remotely on a pvserver instead of locally inside the client? If I start a pvserver on a headless machine and run the following script in a pvpython client, a window pops up on the client and shows the cone: from paraview import simple

Re: [Paraview] Accessing particles generated by ParticleTracer

2017-10-19 Thread Mathieu Westphal
Hello Regarding the Programmable Filter, you are right, there is no way to specify it upstream, you would need to keep a list of previously deleted particle that should stay deleted, definitelly not a great solution. Regarding the inheritance, you are right as well, but keep in mind that

Re: [Paraview] [EXTERNAL] D3 filter crash

2017-10-18 Thread Scott, W Alan
Don’t forget that each pvserver can’t tell that it is sharing the memory with siblings. Thus, you care about memory use at the node or computer level. In theory you are correct regarding D3. It rebalances work, and also creates ghost cells around processor boundaries. But, it is an old,

Re: [Paraview] [EXTERNAL] D3 filter crash

2017-10-18 Thread Quentin d'Avout
Hi Alan, The memory inspector turns back about 1% usage per core, so no overload here. Running 12 instances on a 16-core machine. Note: the same case runs fine in serial on the same machine, I’m just trying to speed up the data processing, as well as prove out some scripts I’m building for

Re: [Paraview] [EXTERNAL] D3 filter crash

2017-10-18 Thread Scott, W Alan
Kill it, that’s ridiculous. My guess is that you need more nodes? Before running the D3 filter, try View/ Memory Inspector. If any nodes are over about 60% or 70%, you either need more resource, or less data. I’m curious – why are you running the D3 filter? Alan From: ParaView

Re: [Paraview] [EXT] Re: How to test for empty block in multi-block dataset

2017-10-18 Thread Andy Bauer
Glad to hear it works! A disclaimer -- I don't profess to write good Python code, just mildly functional Python code :) On Wed, Oct 18, 2017 at 2:11 PM, Dennis Conklin wrote: > Andy, > > > > That works! Thanks much! > > > > Now I just have to add it to every

Re: [Paraview] [EXT] Re: How to test for empty block in multi-block dataset

2017-10-18 Thread Dennis Conklin
Andy, That works! Thanks much! Now I just have to add it to every filter I’ve ever written to protect them all against empty blocks! I’m amazed it took this long for this to come up! Dennis From: Andy Bauer [mailto:andy.ba...@kitware.com] Sent: Wednesday, October 18, 2017 1:47 PM To:

<    2   3   4   5   6   7   8   9   10   11   >