Re: [Paraview] seg.fault when reading VRML files twice

2014-09-05 Thread Shawn Waldon
Hi Kazuyoshi, I've tracked down the segfault, which results from a bug in the VTK VRML importer class. You will get the same thing if you delete a VRML Reader and re-create it. It will affect any current build of ParaView. Fixing it is going to require restructuring that class somewhat and

Re: [Paraview] seg.fault when reading VRML files twice

2014-09-19 Thread Shawn Waldon
Hi Kazuyoshi, The fix has been merged into the main branch of ParaView and should be available in nightly builds as of today. -Shawn On Fri, Sep 5, 2014 at 9:37 AM, Shawn Waldon shawn.wal...@kitware.com wrote: Hi Kazuyoshi, I've tracked down the segfault, which results from a bug in the VTK

Re: [Paraview] problem in installing Paraview from source in MacOS

2015-04-08 Thread Shawn Waldon
It looks like the error is happening when building the examples. You might be able to get around it by rerunning CMake and turning the examples off unless you need the examples in your build. cd /path/to/build/dir cmake -DBUILD_EXAMPLES:BOOL=OFF . HTH, Shawn On Wed, Apr 8, 2015 at 5:09 AM,

Re: [Paraview] Integrate globe view into custom application

2015-08-17 Thread Shawn Waldon
Hi Tobias, I'll let others answer your first few questions since they have more experience there. But I can answer your question about updating based on camera position. On Mon, Aug 17, 2015 at 11:58 AM, Tobias Beeh tobias.b...@t-online.de wrote: Hello, our team (11 students from the

Re: [Paraview] how to build 4.3.1 with CosmoTools

2015-07-28 Thread Shawn Waldon
CosmoTools is part of a closed-source project at ANL. The COSMOTOOLS_INCLUDE_DIR is incorrect and you need to provide the COSMOTOOLS_LIBRARIES variable with the external library to link against. The small part of it that the ParaView module depends on was added to ParaView so that we wouldn't

Re: [Paraview] vtkDoubleArray with 3 components

2015-07-22 Thread Shawn Waldon
Hi Bruce, SetNumberOfTuples reallocates the internal datastructure of the data array to be the new required size based on the new number of components and number of tuples. This (combined with trying to clean up the old data from SetArray) may be causing the heap corruption you are seeing. Try

Re: [Paraview] [EXT] Re: Exodus Block Names

2015-08-31 Thread Shawn Waldon
gt; > I am poking around mbi.GetMetaData[0] (Element Blocks) but I still haven’t > found any Block Names there.I feel like I am completely missing > something here, but I have no idea what it is. > > > > Dennis > > > > > > *From:* Shawn Waldon [mailto:sha

Re: [Paraview] [EXT] Re: Exodus Block Names

2015-08-31 Thread Shawn Waldon
en I run a Python script > and try to find it directly in an Exodus reader, I can’t seem to locate > this metadata. > > > > If I print dir(ExodusReader), there doesn’t seem to be anything about > metadata. > > Dennis > > > > *From:* Shawn Waldon [mailto:shaw

Re: [Paraview] Possible bug in recent SuperBuild?

2015-09-16 Thread Shawn Waldon
Hi Giovanni, kwgitlab is the kitware-internal instance of gitlab. We were hosting the genericio project there while it was not open sourced. The base code has now been open sourced by ANL at the address Utkarsh linked to, but I haven't had time to get the changes that kitware has made to the

Re: [Paraview] Paraview and Python related question

2015-09-22 Thread Shawn Waldon
Hi Amit, Since you appear to be using OSX, the environment variable you want is DYLD_LIBRARY_PATH, not LD_LIBRARY_PATH. HTH, Shawn On Tue, Sep 22, 2015 at 1:32 PM, Amit Goel wrote: > Hi > > I downloaded the Paraview app and put it in a folder. Then I tried > following

Re: [Paraview] Exodus Block Names

2015-08-28 Thread Shawn Waldon
Hi Dennis, The block name is in the block metadata, which is not where I looked the first time either. Here is a code snippet that shows how to access it. mb = vtk.vtkMultiBlockDataSet() ... for i in range(mb.GetNumberOfBlocks): metadata = mb.GetMetaData(i) name =

Re: [Paraview] OpenGL Backend Identification

2015-12-09 Thread Shawn Waldon
There *is* a global VTK configuration header. vtkConfigure.h has many of these definitions and is included in vtkObjectBase.h (so pretty much everywhere). But you may be right that this should go somewhere in the rendering code rather than in there. I am not sure that vtkRenderWindow is the

Re: [Paraview] (no subject)

2016-06-14 Thread Shawn Waldon
Hi Vince, This is expected. Essentially ParaViewWeb allows you to remotely view the ParaView output with your browser. If you launched the Visualizer without pointing a browser at it and then went to another computer and pointed a browser at the first computer, you would see the ParaViewWeb

Re: [Paraview] Scipy installation9814651912

2016-03-14 Thread Shawn Waldon
You would need to either build scipy against ParaView's python or build ParaView against system python and install scipy in that system python. Otherwise you are likely to get strange behaviors if the python versions don't match. I would recommend building ParaView against the system python since

Re: [Paraview] Paraview compile download timeout

2016-05-10 Thread Shawn Waldon
Update: So I just tried to do a clean build of ParaView master I get this error consistently and I know my CMake is built with SSL. I'll look into it. Shawn On Tue, May 10, 2016 at 9:48 AM, Shawn Waldon <shawn.wal...@kitware.com> wrote: > Which version of CMake are you running?

Re: [Paraview] Paraview compile download timeout

2016-05-10 Thread Shawn Waldon
Which version of CMake are you running? We have had problems in the past when using a CMake not built with SSL support pulling new data from midas. The error messages from that generally look like this: CMake Error at /apps/pkg/paraview-5.0/src/paraview-5.0/CMake/ExternalData. cmake:749

Re: [Paraview] Paraview compile download timeout

2016-05-10 Thread Shawn Waldon
Looks like it is working again now. Shawn On Tue, May 10, 2016 at 10:09 AM, Shawn Waldon <shawn.wal...@kitware.com> wrote: > Update: So I just tried to do a clean build of ParaView master I get > this error consistently and I know my CMake is built with SSL. I'll look > int

Re: [Paraview] Procedure for compiling Catalyst

2016-07-25 Thread Shawn Waldon
He doesn't need to delete and re-clone. The recursive flag just does a normal clone followed by a git submodule update --init. So run that command in your paraview source tree and you should be fine. HTH, Shawn On Mon, Jul 25, 2016 at 4:00 PM, Adam Lyon wrote: > Well, reading

Re: [Paraview] Qt version support update 2016

2016-08-12 Thread Shawn Waldon
To use Qt5, you have to set the PARAVIEW_QT_VERSION variable to 5 (it still defaults to 4, which is why cmake is complaining). Note that some things may be buggy when building against Qt5, I don't know the full list of current issues, just that there are some. Also note that you have to specify

Re: [Paraview] [Non-DoD Source] Re: Qt version support update 2016

2016-08-15 Thread Shawn Waldon
boun...@paraview.org] on behalf of Mega Mind [ > 123megam...@gmail.com] > *Sent:* Saturday, August 13, 2016 5:00 PM > *To:* Shawn Waldon > *Cc:* ParaView list > *Subject:* [Non-DoD Source] Re: [Paraview] Qt version support update 2016 > > All active links contained in this email were disa

Re: [Paraview] ruler filter in paraview-git

2017-02-02 Thread Shawn Waldon
Hi Mark, So the confusion is that there are now two rulers in ParaView. The one under the filters menu is the one you are seeing. It was added so that the user could measure the dataset in each dimension (and possibly it could be extended to selecting other measurements). The older behavior is

Re: [Paraview] Problem with exporting spreadsheet view

2017-02-09 Thread Shawn Waldon
Hi John, I have tried this out with your data on the latest master branch of ParaView and I can't reproduce the bug you are seeing. So this may already be fixed. What version of ParaView are you using? And what OS? Thanks, Shawn On Thu, Feb 9, 2017 at 11:27 AM, John Haase

Re: [Paraview] Problem with exporting spreadsheet view

2017-02-09 Thread Shawn Waldon
; John R. Haase > jhaa...@nd.edu > > On Thu, Feb 9, 2017 at 3:40 PM, Shawn Waldon <shawn.wal...@kitware.com> > wrote: > >> Hi John, >> >> I have tried this out with your data on the latest master branch of >> ParaView and I can't reproduce the bug y

Re: [Paraview] ParaView and Qt 5

2017-01-18 Thread Shawn Waldon
Hi Mark, CMake uses different variables to find Qt4 vs Qt5. QT_QMAKE_EXECUTABLE is the Qt4 variable and is ignored by the code to find Qt5. The variable you want is: -DQt5_DIR=/software/path/qt-5.7.1/lib/cmake/Qt5 HTH, Shawn On Wed, Jan 18, 2017 at 3:16 PM, Mark Olesen

Re: [Paraview] Feasibility of and documentation on implementing a Paraview Client.

2016-08-16 Thread Shawn Waldon
Hi Magnus, I don't know much about getting ParaView to work in the client-server mode you describe and less about the Unreal engine, but if you are willing to sacrifice a little bit of rendering speed would be to build VTK with OSMesa and let it do software rendering rather than requiring a

Re: [Paraview] Paraview with osmesa cmake issue

2016-08-15 Thread Shawn Waldon
Hi Chris, What are you passing in for $*? CMake, when run in a directory without a CMakeCache file interprets the current directory as the build directory and its last (non -ed) argument as the source directory. HTH, Shawn On Mon, Aug 15, 2016 at 4:34 PM, Christopher Neal

Re: [Paraview] How to merge .vtk files to visualize the result in Paraview

2016-11-07 Thread Shawn Waldon
Hi Brennen, ParaView has support for loading multiple files as a time series if you name them file1.vtk, file2.vtk, etc. We realize that sometimes these multiple files are multiple blocks of output rather than multiple timesteps so I recently implemented a filter that converts the time series

Re: [Paraview] ParaView 5.2 Release Candidate 2 available for download

2016-10-21 Thread Shawn Waldon
Hi Fabian, CMAKE_OSX_SDK needs to be something like `macosx10.9`. I forget the command to make XCode list the valid sdk versions available. For your case I would guess `macosx10.12` is the correct value. Qt looks up the path to the SDK from that string. HTH, Shawn On Fri, Oct 21, 2016 at

Re: [Paraview] Compute line between coordinates

2016-11-01 Thread Shawn Waldon
Hi Dorian, Try applying the clip to the original data before you apply the glyphs. That should do what you want. The data will be clipped and then the glyphs will be applied later and not restricted by the bounds of the clip. HTH, Shawn On Tue, Nov 1, 2016 at 1:25 PM, Dorian Pustina

Re: [Paraview] Project polygon onto surface

2016-11-29 Thread Shawn Waldon
Hi Adam, The Slice Along PolyLine filter looks for a vtkPolyLine type cell. But there is no reason the algorithm itself can't work with a polygon (the current implementation just doesn't look for one and may not handle it the way you want if you pass a polyline that happens to have a first and

Re: [Paraview] Project polygon onto surface

2016-11-29 Thread Shawn Waldon
s) to get two separate regions to work. Also, the math for the implicit function you have to write gets more complicated with two regions. The current vtkPolyPlane won't handle it. HTH, Shawn > I appreciate both the filter and the feedback below. > > > > Thank you, > > &

Re: [Paraview] Unable to build paraview in ubuntu

2017-07-27 Thread Shawn Waldon
Hi Jose, The real error is higher up in your build log, that is just make's output that something failed. It looks like the pvpython executable failed to link, so you need to scroll back and look for the link error. HTH, Shawn On Thu, Jul 27, 2017 at 8:51 AM, José Luis López López <

Re: [Paraview] Unable to build paraview in ubuntu

2017-07-27 Thread Shawn Waldon
Hi Jose, Please keep the list in the conversation so that others can chime in too (and/or find the solution in the future). I'm not sure why pvpython is even linking to Qt. As far as I know it shouldn't be. If you want to re-send your error to the list, someone may be able to help. HTH, Shawn

Re: [Paraview] Python Scripting

2017-05-29 Thread Shawn Waldon
Hi Richard, Since you didn't specify the version you are using I'm using 5.4-RC3 for this answer. I loaded a dataset and ran the Python Trace (Tools -> Start Trace) to find out what it is doing. Here is the python script that was generated from changing what the dataset was colored by. # get

Re: [Paraview] Overlapping ParaView windows obscuring each other in ParaViewWeb visualizer server

2017-10-12 Thread Shawn Waldon
Hi Louise, I have seen something like this before when using VTK render windows on Linux with NVidia drivers. There is a bug/feature in the NVidia driver where it only renders the part of the window that is shown onscreen. The workaround I used at the time was to enable offscreen rendering

Re: [Paraview] Exodus multiblock dataset block numbers vs block

2017-11-15 Thread Shawn Waldon
Hi Dennis, I can answer part of your question. The block number is the index in a pre-order traversal of the tree of blocks in the dataset. The root is element 0, its first child is 1, that block's first child (or if none, the root's second child) is 2 and so on. Your blocks with data are

Re: [Paraview] undefined symbol: PyUnicodeUCS2_AsEncodedString

2018-02-02 Thread Shawn Waldon
Hi Fabian, It looks to me like you built against a Python that was configured with UCS2 unicode objects and are linking to a Python that was configured with UCS4 unicode objects. Python is not ABI-compatible with other Pythons that were built with a different kind of unicode support. Shawn On