Re: [Paraview] [Paraview-developers] time to kill the mailing lists?

2018-09-05 Thread Sgouros, Thomas
Do subscribers to the lists have to unsubscribe, or will they just go quietly away? Thank you, -Tom On Wed, Sep 5, 2018 at 8:54 AM, Utkarsh Ayachit wrote: > Thanks, Benson. I've cleaned up the webpage. Let me know if that's > still confusing: https://www.paraview.org/community-support/ > On

Re: [Paraview] vtk renderer question

2018-06-26 Thread Sgouros, Thomas
ill have to set its container again... Basically it is > rendering somewhere in a detached DOM element. > > You can do that, or simply use CSS to hide that DOM element. > > On Tue, Jun 26, 2018 at 8:15 AM Sgouros, Thomas > wrote: > >> Hi All: >> >> I have

[Paraview] vtk renderer question

2018-06-26 Thread Sgouros, Thomas
Hi All: I have a vtk renderer in a ParaViewWeb application. I create it and then attach it to a container for display using the setContainer() method. this.renderers.push(VtkRenderer.newInstance({ client: this.model.pvwClient, viewId: result,

Re: [Paraview] paraviewweb, linked views, mouse handler

2018-06-21 Thread Sgouros, Thomas
Forgot to ask: When do you think that will make it into the codebase? Thanks, -Tom On Thu, Jun 21, 2018 at 12:04 PM, Sgouros, Thomas wrote: > Got it. I had misunderstood that message to only refer to the PVW changes. > I found the protocol.py file and made the change and it seems t

Re: [Paraview] paraviewweb, linked views, mouse handler

2018-06-21 Thread Sgouros, Thomas
st Python code with your current ParaView version. > > On Wed, Jun 20, 2018 at 9:11 PM Sgouros, Thomas > wrote: > >> Hi Sebastien: >> >> Actually no, that doesn't change this behavior. One view moves with the >> cursor when I click on it, while the other only mo

Re: [Paraview] paraviewweb, linked views, mouse handler

2018-06-20 Thread Sgouros, Thomas
Or you may have patched your ParaView. But for sure, you need Python code > along with the pvw change I made. > > On Wed, Jun 20, 2018 at 1:12 PM Sgouros, Thomas > wrote: > >> >> >> On Wed, Jun 20, 2018 at 10:43 AM, Sebastien Jourdain < >> sebastien.jourd.

Re: [Paraview] paraviewweb, linked views, mouse handler

2018-06-20 Thread Sgouros, Thomas
r > interacting does not work because the "active" area has a size 0x0? > > I did fix the css / size issue that was pestering me last week. Your explanation has the air of plausibility, but I don't completely understand how this would work. Can you suggest how I would find the

Re: [Paraview] vtk renderer

2018-06-12 Thread Sgouros, Thomas
Ok, turns out this is a CSS question. Table-layout: 'fixed' is the answer (in the display: 'table' div), in case someone else is ever wondering why their cells grow but do not shrink. Sorry for the extra traffic. -Tom On Mon, Jun 11, 2018 at 5:25 PM, Sgouros, Thomas wrote: > I should also

Re: [Paraview] vtk renderer

2018-06-11 Thread Sgouros, Thomas
ss, the size > propagation won't go to the server as the container will never shrink. > > You need to fix the width in some way like you did for the height. You can > use 50vw or use a mix of absolute/relative position in your dom hierarchy. > > On Thu, Jun 7, 2018 at 12:35 PM Sgouros, Thom

Re: [Paraview] vtk renderer

2018-06-07 Thread Sgouros, Thomas
ated to the css for > your div that contains the renderer. > To allow the renderer to shrink you need to set "overflow: hidden;" > assuming the rest of the size of the div is defined by other constraints. > > Seb > > On Thu, Jun 7, 2018 at 11:41 AM Sgouros, Th

[Paraview] vtk renderer

2018-06-07 Thread Sgouros, Thomas
Hi All: I'm not sure if this is a VTK question or a Paraview question, so apologies in advance. In a ParaViewWeb application, I have a vtkRenderer in a div in another div, etc. The vtkRenderer seems to adjust when I make the window it's in bigger or the container, but it does not resize when I

Re: [Paraview] [Paraview-developers] Reminder: ParaView community support is transitioning to discourse.paraview.org

2018-06-06 Thread Sgouros, Thomas
Thank you. Will the VTK forums be moving there, too? -Tom On Wed, Jun 6, 2018 at 10:15 AM, Cory Quammen wrote: > Hi ParaView community, > > This is just a reminder that we are transitioning our community support > forums to > > https://discourse.paraview.org/ > > Discourse is now the

Re: [Paraview] seeking pvpython debugging hints

2018-05-30 Thread Sgouros, Thomas
; issues listed as otherwise it's easy to forget. > > Thanks > Utkarsh > On Wed, May 30, 2018 at 11:51 AM Sgouros, Thomas > > wrote: > > > Hi Utkarsh: > > > It did help, though I wonder why it couldn't tell me what array was the > problem. The error messages from

Re: [Paraview] seeking pvpython debugging hints

2018-05-30 Thread Sgouros, Thomas
com> wrote: > Tom, > > This generally means that the array you've chosen to color with in the > script is not available in the dataset and hence its failing to determine > the array range. > > Hope that helps narrow down the issue. > > Utkarsh > On Wed, May 30, 2018 at

[Paraview] seeking pvpython debugging hints

2018-05-30 Thread Sgouros, Thomas
Hello all: Does anyone have helpful hints to offer about how to debug errors like these? Some array of mine is out of range, but I don't know what array it's talking about, and don't really see how to find out. To my knowledge the change in my code that triggered this has nothing to do with any

Re: [Paraview] ParaViewWeb and multiple windows

2018-05-14 Thread Sgouros, Thomas
tps://github.com/Kitware/divvy/blob/master/Sources/ > scatterPlotManager.js#L78-L83 > https://github.com/Kitware/divvy/blob/master/Server/ > scatterplotProtocol.py#L552-L556 > > On Mon, May 14, 2018 at 8:07 AM Sgouros, Thomas <thomas_sgou...@brown.edu> > wrote: > >&g

Re: [Paraview] ParaViewWeb and multiple windows

2018-05-14 Thread Sgouros, Thomas
to be bound to. > To retrieve the view Id on the server side, just call on the python side. > > view.GetGlobalDAsString() > > I may have small typo for the method name, but in either case the number > you want is the "GlobalID". > > HTH, > > Seb > > On

Re: [Paraview] layout question, pvpython

2018-05-11 Thread Sgouros, Thomas
wrote: > Attached is a script that demonstrates what I meant. Note, this is just a > workaround and not a graceful solution :). > > Utkarsh > On Fri, May 11, 2018 at 3:37 PM Sgouros, Thomas <thomas_sgou...@brown.edu> > wrote: > > > Alas, indeed. Just as I thought I

[Paraview] control comparative render in python?

2018-05-11 Thread Sgouros, Thomas
Hi All: I have a paraviewweb application that accepts a bunch of options and produces a nice visualization supplied by a pvpython server -- thank you all for the help you've offered so far. Everyone is happy with this, but of course the problem with that is now they want more. I want to have two

[Paraview] Failed to determine the LookupTable being used

2018-04-17 Thread Sgouros, Thomas
Hello all: I have a trace from a simple contour that I drew on a data set, and there are parts of it that I don't understand. Here it is, with some question numbers: from paraview.simple import * data = EnSightReader(CaseFileName='/my/data/file.case') renderView1 =

Re: [Paraview] ParaviewWeb server / client mismatch

2018-03-28 Thread Sgouros, Thomas
Curses, foiled again. Thank you, -Tom On Wed, Mar 28, 2018 at 7:35 PM, Sebastien Jourdain < sebastien.jourd...@kitware.com> wrote: > Yes threading is bad. I didn't noticed that you were creating threads in > your code. > > On Wed, Mar 28, 2018 at 4:22 PM, Sgouros, T

Re: [Paraview] ParaviewWeb server / client mismatch

2018-03-28 Thread Sgouros, Thomas
b.com/Kitware/visualizer/blob/master/server/ > pvw-visualizer.py#L196 > > Then make sure you call: > https://github.com/Kitware/visualizer/blob/master/server/ > pvw-visualizer.py#L208-L209 > > On Wed, Mar 28, 2018 at 3:43 PM, Sgouros, Thomas <thomas_sgou...@brown.edu >

[Paraview] ParaviewWeb server / client mismatch

2018-03-28 Thread Sgouros, Thomas
HI All: I'm trying to switch from ViewPortImageDelivery to VtkImageDelivery so I can see updates to the web client without having to click in the window. But apparently the protocols on the server side are deficient, and I get a client-side error complaining that

Re: [Paraview] immediate update

2018-03-22 Thread Sgouros, Thomas
do you set it up? > > Seb > > On Thu, Mar 22, 2018 at 6:38 AM, Sgouros, Thomas <thomas_sgou...@brown.edu > > wrote: > >> Thank you, but that doesn't seem to change anything for me. Doing this >> now: >> >> self.renderView1.Update() >

Re: [Paraview] immediate update

2018-03-22 Thread Sgouros, Thomas
itware/light-viz/blob/master/server/ > light_viz_protocols.py#L252 > > On Wed, Mar 21, 2018 at 4:59 PM, Sgouros, Thomas <thomas_sgou...@brown.edu > > wrote: > >> Hello all: >> >> How do you get the ParaViewWeb client to update the window without >> clickin

[Paraview] simple ParaViewWeb example

2018-03-13 Thread Sgouros, Thomas
Hi All: I had a pretty bad time trying to put together the bones of a ParaViewWeb client and server, so have taken a few crusts of bread and gone back to try to leave a trail of crumbs that others can follow. Please find a working simple example at:

Re: [Paraview] how to make a new protocol

2018-02-22 Thread Sgouros, Thomas
github.com/Kitware/light-viz/tree/master/server > > On Thu, Feb 22, 2018 at 6:59 AM, Sgouros, Thomas <thomas_sgou...@brown.edu > > wrote: > >> Hello all: >> >> Can someone describe the steps necessary to create and use a web socket >> connection between a

[Paraview] how to make a new protocol

2018-02-22 Thread Sgouros, Thomas
Hello all: Can someone describe the steps necessary to create and use a web socket connection between a Paraviewweb client and a pvpython server? I am not having much luck finding the documentation for registerVtkWebProtocol() which appears to be an important part of the process. Google only

Re: [Paraview] connecting buttons and python

2018-02-22 Thread Sgouros, Thomas
ed more details. > > Hope this helps. > > Cheers, > Scott > > > > On Wed, Feb 21, 2018 at 5:44 PM, Sgouros, Thomas <thomas_sgou...@brown.edu > > wrote: > >> Thank you that's very helpful. Where will I find how to define the >> protocols on the p

Re: [Paraview] connecting buttons and python

2018-02-21 Thread Sgouros, Thomas
e.github.io/paraviewweb/api/IO_WebSocket_ > ParaViewWebClient.html > > > > On Wed, Feb 21, 2018 at 4:43 PM, Sgouros, Thomas <thomas_sgou...@brown.edu > > wrote: > >> Hello all: >> >> Got some nice looking buttons and widgets, but I can't seem to find >> examples o

[Paraview] connecting buttons and python

2018-02-21 Thread Sgouros, Thomas
Hello all: Got some nice looking buttons and widgets, but I can't seem to find examples of how to deliver the button press or other widget output to my pvpython server. I imagine the steps are: 1. Create a protocol on the python side. Can I use wslink.register, or is there paraviewweb

Re: [Paraview] Using ParaviewWeb examples

2018-02-19 Thread Sgouros, Thomas
llow 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.github.io/normalize.css/ > > Seb > > On Mon, Feb 19, 2018 at 2:27 PM, Sgouros, Thomas <thomas_sgou...@brown.edu > >

Re: [Paraview] Using ParaviewWeb examples

2018-02-19 Thread Sgouros, Thomas
e a bit of magic, you are right, so they can > be embedded in the documentation pages. AFAIK, we don't have an install > option to make a stand-alone example. > Regards, > Aron > > On Mon, Feb 19, 2018 at 3:59 PM, Sgouros, Thomas <thomas_sgou...@brown.edu > > wrote: &

[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