[Paraview] Paraview programmatically plot quantities over line, using only data on nodes

2018-02-19 Thread Santiago Serebrinsky
Hello, I have a dataset on a 2D domain. I mean to get an XY plot of data along a line which contains a number of element edges. I would typically do this with PlotOverLine. Now I want to obtain a similar plot, but with my data points located only at the actual locations of nodes in my mesh. In th

Re: [Paraview] Integrate Variables divide cell data by volume has no effect?

2018-02-19 Thread Shuhao Wu
I suspected so as well but didn't know how to convert the point data to cell data until now. So does that mean integrate variables with point data will not be integration weighted by the area? Thanks, Shuhao On 2018-02-20 02:05 AM, Andy Bauer wrote: The DivideCellDataByVolume only operates

Re: [Paraview] Integrate Variables divide cell data by volume has no effect?

2018-02-19 Thread Andy Bauer
The DivideCellDataByVolume only operates on cell data and you're integrating a point data array so it won't work the way you're expecting it to. You can use the point data to cell data filter and then try using the integrate variable filter to see if that gives the result that you want. On Mon, Fe

[Paraview] Integrate Variables divide cell data by volume has no effect?

2018-02-19 Thread Shuhao Wu
Hello all, I've been using the filter IntegrateVariables with the option DivideCellDataByVolume = on on a 2D surface. I've noticed that turning this option on and off has no effect on the PointData of the output. No additional cell data is produced either. I thought the idea of the the integ

Re: [Paraview] Finding all the points associated with one closed contour line

2018-02-19 Thread kenichiro yoshimi
Hi Shuhao, In ParaView, the connectivity filter is available to assign a region id to each of closed loops and generate a RegionId array. And then the threshold filter can be used to separate them. Thanks 2018-02-20 6:12 GMT+09:00 Shuhao Wu : > Hello All, > > I'm currently using the Contour filt

Re: [Paraview] [EXTERNAL] [Paraview-developers] Rotational Extrude

2018-02-19 Thread Scott, W Alan
Hi Elyas, OK, I took a deeper look, and consulted with Ken Moreland. We think what you are trying to do can't be done, or if it can, it is very inefficient. There are two filters of interest, the Rotational Extrude filter and the Angular Periodic filter. The Rotational Extrude filter takes

Re: [Paraview] Using ParaviewWeb examples

2018-02-19 Thread Sgouros, Thomas
Hi Sebastien: I suspected that and also tried downgrading to webpack 1, but then loading paraviewweb won't work because lots of its dependencies require webpack versions up to 2.2.0. (babel-loader, expose-loader, schema-utils, worker-loader, several others) It tells you to load the peer dependenci

Re: [Paraview] Using ParaviewWeb examples

2018-02-19 Thread Sebastien Jourdain
Hi Tom, The documentation was written when we were still using Webpack 1 and unfortunately it is outdated. I'll try to update it so it will be easier to follow for users that don't know any of those web tools. For normalize, you can find some information directly on their web site https://necolas

Re: [Paraview] Using ParaviewWeb examples

2018-02-19 Thread Sgouros, Thomas
I tried that page twice and get errors about missing fix-autobahn, and when I removed that from the package.json, webpack complained about missing eslint (I installed eslint, but it doesn't change), and then errors saying "Webpack has been initialised using a configuration object that does not matc

[Paraview] Finding all the points associated with one closed contour line

2018-02-19 Thread Shuhao Wu
Hello All, I'm currently using the Contour filter on a 2D slice. This contour gives me a series of closed loops at arbitrary locations of my plot. Does Paraview/VTK already expose a way to group the points associated with each of these closed loops? If not, I have two possible strategies to

Re: [Paraview] Using ParaviewWeb examples

2018-02-19 Thread Aron Helser
I think you're looking for the setup doc: https://kitware.github.io/paraviewweb/docs/setup.html It gives you a sample webpack config. Nearly all the paraviewweb dependencies are contained in kw-websuite, as documented on that page. The examples as they stand use a bit of magic, you are right, so t

Re: [Paraview] Using ParaviewWeb examples

2018-02-19 Thread Sgouros, Thomas
Thank you. it would be great also to have pointers to normalize.css, and the webpack and package configs for these examples. They are more like puzzles than examples in their current state, with the challenge to find all the missing pieces and guess how to put them together. Am I missing some intro

Re: [Paraview] Using ParaviewWeb examples

2018-02-19 Thread Aron Helser
Hi Tom, The ParaviewWeb examples always live in a sub-directory of the component they illustrate - so here, this is the Composite example, so '..' just refers to 'Composite'. If you look in the left menu, you can see that 'Composite' is grouped into ' Component/Native'. That's the directory it's in

[Paraview] Using ParaviewWeb examples

2018-02-19 Thread Sgouros, Thomas
Hello all: When I see a Paraviewweb example like this (from Composite.html): import CompositeComponent from '..'; import BGColorComponent from '../../BackgroundColor'; Where should I look for BackgroundColor and CompositeComponent? I feel sure I could find them eventually, but is there another s

Re: [Paraview] [EXTERNAL] [Paraview-developers] Rotational Extrude

2018-02-19 Thread Scott, W Alan
Copying to the paraview users list. I don't know that filter well. Try playing with it, and if it doesn't cooperate, let me know. I will then try... Alan On 2/19/18, 11:42 AM, "Goli, Elyas" wrote: Hi Scott, Thanks. It worked. Now the filter is active. However, I am not sure wh

[Paraview] Embedding paraview in PyQt application

2018-02-19 Thread Rustem Khabetdinov
Hello, I am trying to embed paraview into my PyQt application but I have some problems with python threading. For example, in my application I use my own interactor style in which when user clicks left mouse button it executes import time;time.sleep(2). But because of that there is a segfault. Th