[Paraview] Saving PlotSelectionOverTime result to CSV file in script

2013-10-04 Thread Peter Maday
Dear All,

I would like to automate a process that involves saving the output of a
PlotSelectionOverTime filter to a CSV file. Manually it is done by invoking
the Save data  command from the File menu while the graph view is
selected.

When I try to record the trace for this step, it does not contain the CSV
save part.

My question is how to save the PlotSelectionOverTime output to a text file
in a script.

Thansk a lot!
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Ubuntu crash on large file load

2013-10-04 Thread pwhiteho
Loading 1.7G of vtp and vtr files crashes ParaView 3.14 on machine with 48G of 
ram running under Ubuntu 12.04 - haven't explored threshold, but smaller total 
file sizes work fine ...

Loading same 1.7G on iMac (Intel Core i7; OSX 10.7.5; 16G ram) into ParaView 
3.14 through 4.01 opens fine.

What should I look for? ... static/dynamic application memory? ... not sure of 
graphics card and driver or other hardware specs on Ubuntu machine, but can get 
if needed ...
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Ubuntu crash on large file load

2013-10-04 Thread Burlen Loring

Any chance you could verify that paraview 4.0.1 still has the problem?

if yes then post any error messages you have in the console. If there 
are none then you'll need to capture a backtrace or share some data and 
steps to reproduce the issue.


On 10/04/2013 08:57 AM, pwhiteho wrote:
Loading 1.7G of vtp and vtr files crashes ParaView 3.14 on machine 
with 48G of ram running under Ubuntu 12.04 - haven't explored 
threshold, but smaller total file sizes work fine ...


Loading same 1.7G on iMac (Intel Core i7; OSX 10.7.5; 16G ram) into 
ParaView 3.14 through 4.01 opens fine.


What should I look for? ... static/dynamic application memory? ... not 
sure of graphics card and driver or other hardware specs on Ubuntu 
machine, but can get if needed ...



___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Saving PlotSelectionOverTime result to CSV file in script

2013-10-04 Thread David E DeMarle
Try Using CreateWriter() like so:
writer = CreateWriter(.../foo.csv, source)
writer.FieldAssociation = Points # or Cells
writer.UpdatePipeline()
del writer

David E DeMarle
Kitware, Inc.
RD Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Fri, Oct 4, 2013 at 10:18 AM, Peter Maday madap...@gmail.com wrote:

 Dear All,

 I would like to automate a process that involves saving the output of a
 PlotSelectionOverTime filter to a CSV file. Manually it is done by invoking
 the Save data  command from the File menu while the graph view is
 selected.

 When I try to record the trace for this step, it does not contain the CSV
 save part.

 My question is how to save the PlotSelectionOverTime output to a text file
 in a script.

 Thansk a lot!

 ___
 Powered by www.kitware.com

 Visit other Kitware open-source projects at
 http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the ParaView Wiki at:
 http://paraview.org/Wiki/ParaView

 Follow this link to subscribe/unsubscribe:
 http://www.paraview.org/mailman/listinfo/paraview


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] display bonds between atoms using paraview

2013-10-04 Thread David Lonie
On Thu, Oct 3, 2013 at 5:10 PM, Jian Luo laurenjaso...@gmail.com wrote:

 Hi everyone,

 I am in the field of atomic simulation.
 Paraview can display atoms beautifully, but I currently cannot find a way
 to draw bonds between atoms within certain distance.
 Can anyone help me with this? Thanks very much.


As far as I know, ParaView is only able to visualize molecular data, and
does not include such editing capabilities. I'd recommend using software
like Avogadro[1] to modify the molecule, which can then be saved as .cml
and displayed in ParaView if desired.

Hope this helps,
Dave

[1] http://avogadro.openmolecules.net
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] VECTORS DIRECTIONS ARE INCORRECT

2013-10-04 Thread Léo Pessanha
Hi,

I have 2 hidrodynamics archives, UZ(North-South driven), VZ(East-West
driven)

They contain vectorial information about the points in my grid(lat,lon,
elevation)

Total of 7735 points

With the formula sqrt((u*u) + (v*v)): I get the intensity in the point -
this data is ok!

But...

I am creating the vector doing (U, V, 0)

Then apply Glyph(Arrow) - The directions i am getting are mistaken

Can someone help me with that?

Where am i entering the data wrong?

I should have Z information?(it`s 2 dimensional information)
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] how to extract elevation at a point for a dynamic, implicit surface

2013-10-04 Thread Chris Kees
I can't seem to work out the  proper sequence  of filters for the following.

I have a 2D triangular mesh with a time-dependent scalar field, say phi. I
want to generate a single isoline, say phi=0, which I can do with the
contour filter, but then I want to generate a single point by intersecting
the isoline with a vertical line, say x=1. Then I want to save the time
series of that point, which would look something like  t_0, 1,  y(t_0),
t_1, 1, y(t_1),...,t_n since the x-coordinate doesn't change.

Thanks,
Chris
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] how to extract elevation at a point for a dynamic, implicit surface

2013-10-04 Thread Moreland, Kenneth
The equation x=1 is actually a plane in 3-space, not a line. So what you really 
want to do is intersect your contour with the plane at x=1. You can easily do 
this with the slice filter.

Next, select the resulting point with the select points on or select cells 
on tool (in the toolbar buttons right above the 3D view). Then add the plot 
selection over time filter. You should see the data you want in a chart. Now, 
just save data and output as a csv file.

-Ken

From: Chris Kees cek...@gmail.commailto:cek...@gmail.com
Date: Friday, October 4, 2013 1:33 PM
To: paraview@paraview.orgmailto:paraview@paraview.org 
paraview@paraview.orgmailto:paraview@paraview.org
Subject: [EXTERNAL] [Paraview] how to extract elevation at a point for a 
dynamic, implicit surface

I can't seem to work out the  proper sequence  of filters for the following.

I have a 2D triangular mesh with a time-dependent scalar field, say phi. I want 
to generate a single isoline, say phi=0, which I can do with the contour 
filter, but then I want to generate a single point by intersecting the isoline 
with a vertical line, say x=1. Then I want to save the time series of that 
point, which would look something like  t_0, 1,  y(t_0), t_1, 1, y(t_1),...,t_n 
since the x-coordinate doesn't change.

Thanks,
Chris
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Starting ParaViewWeb from a web application

2013-10-04 Thread Sebastien Jourdain
Hi Pawel,

yes it is possible, one way to do that is to use a Session Manager like the
following one. But you can build your own if need be.

Seb

http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/jetty_session_manager


On Thu, Oct 3, 2013 at 8:53 AM, Pawel Kwiecien nor...@gmail.com wrote:

 Hi all,
 I'm exploring ParaViewWeb included in ParaView 4.0. As described in the
 documentation (http://www.paraview.org/Wiki/ParaViewWeb), I can run it
 locally like that


 ./bin/pvpython lib/site-packages/paraview/web/pv_web_visualizer.py
 --content www --port 8080 --data-dir $PARAVIEW_DATA

 My question would be: how to embed ParaViewWeb in my web application? Is
 it possible to start pvpython dynamically?

 As an example, user clicks a button and a ParaView visualization should be
 loaded.

 Thank you very much in advance for your help.

 All the best,
 Pawel

 ___
 Powered by www.kitware.com

 Visit other Kitware open-source projects at
 http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the ParaView Wiki at:
 http://paraview.org/Wiki/ParaView

 Follow this link to subscribe/unsubscribe:
 http://www.paraview.org/mailman/listinfo/paraview


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview