Re: [Paraview] [Camera Control] - Clipping Range

2017-07-07 Thread David E DeMarle
Try LockBounds. For example: view = GetActiveView() view.MaxClipBounds = [x0,x1,y0,y1,z0,z1] view.LockBounds = 1 David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Fri, Jul 7, 2017 at 2:51 PM, Utkarsh Ayachit

Re: [Paraview] [Camera Control] - Clipping Range

2017-07-07 Thread Utkarsh Ayachit
Currently, you can't. ParaView doesn't let user change ClippingRange. It resets it internally before each render. On Fri, Jul 7, 2017 at 2:44 PM, Mariam wrote: > Hi, > > I am trying to control the camera attributes from pvpython, I noticed that > if I modified Clipping

[Paraview] [Camera Control] - Clipping Range

2017-07-07 Thread Mariam
Hi, I am trying to control the camera attributes from pvpython, I noticed that if I modified Clipping Range & Thickness then called Render() the values are reset to the original values. However, changes in camera position, focal point, view up and viewing angle take effect after Render().

[Paraview] Compute animation in parallel using pvbatch

2017-07-07 Thread Gregory Zaccaro
Hi all, Currently I have a .pvsm being loaded on pvbacth with python. Each time step of the animation is independant and generate a single file for that time step. Now, my goal is to run multiple time steps of this state file in parallel with pvbatch. Is it possible ? I built Paraview 5.3

Re: [Paraview] Coloring isocontour by the coordinates outputted from a Transform filter and some other questions

2017-07-07 Thread Shuhao Wu
Is there documentation on how the Box clip type work? I'm not quite sure how to do the math to convert the threshold values to the position/scale values. Thanks, Shuhao On 2017-07-03 10:03 AM, Cory Quammen wrote: On Tue, Jun 20, 2017 at 9:33 PM, Shuhao Wu wrote: Hello

Re: [Paraview] Error handling in a programmable filter.

2017-07-07 Thread Jonathan Borduas
Added as Issue #17591 Thanks From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com] Sent: Friday, July 7, 2017 10:19 AM To: Jonathan Borduas Cc: paraview@paraview.org Subject: Re: [Paraview] Error

Re: [Paraview] Error handling in a programmable filter.

2017-07-07 Thread Utkarsh Ayachit
> > We would like to block the updating of the pipeline upon an error in the > programmable filter (just like a C++ filter). > > > Raising an exception in the Python script should a interupt your script, however from the code I see that that wouln't exactly do what `return 0` in RequestData for

Re: [Paraview] multiple visualization pipeline at a time with co-processing

2017-07-07 Thread Andy Bauer
Hi Ufuk, It's looking to me like the issue is in the adaptor some place. I tried running your scripts (modified slightly) with the CxxFullExample (./CxxFullExample script_1.py script_2.py) and was able to get image_s1* and image_s2* files out of it and did not see the warning you mention. I also

Re: [Paraview] Paraview segfault on (orthographic) slice view

2017-07-07 Thread Cory Quammen
Dorian, Thanks for clarifying the source. Sorry I didn't understand from your earlier email. I just tried again with the official ParaView 5.4.0 binary and was able to reproduce your crash. I'll write up a bug report. Thanks! Cory On Fri, Jul 7, 2017 at 9:23 AM, Vogel Dorian

Re: [Paraview] Paraview python - loop to run through multiple files

2017-07-07 Thread Cory Quammen
Rebekah, I think you want to write LoadState("/home/sophy/Desktop/%s.pvsm" % x) to properly substitute your filename held in x into the path. Also, you may want to clear out the loaded state after saving the image, which you can do by calling Disconnect() Connect() HTH, Cory On Fri, Jul 7,

Re: [Paraview] Paraview segfault on (orthographic) slice view

2017-07-07 Thread Vogel Dorian
Hi Cory, I am actually using the "Box" source, and just let the default settings for it: X/Y/Z length = 1, center = (0,0,0). Btw: It still occurs on a freshly compiled Paraview v5.4.0 with up-to-date mesa. Best, -- Dorian Vogel On Friday, July 7, 2017 3:17:00 PM CEST Cory Quammen wrote:

[Paraview] Error handling in a programmable filter.

2017-07-07 Thread Jonathan Borduas
Hi Everybody, Is there a equivalent of "Return 1" in the python programmable filter ? We would like to block the updating of the pipeline upon an error in the programmable filter (just like a C++ filter). Jonathan Borduas ___ Powered by

Re: [Paraview] Paraview segfault on (orthographic) slice view

2017-07-07 Thread Cory Quammen
Dorian, Thanks for the followup and workaround. If you could share the data set with me or tell me how to create it with a ParaView source, I can take a closer look. Thanks, Cory On Fri, Jul 7, 2017 at 4:33 AM, Vogel Dorian wrote: > Hello Cory, > > Thanks for the

Re: [Paraview] multiple visualization pipeline at a time with co-processing

2017-07-07 Thread Ufuk Utku Turuncoglu (BE)
Hi Andy, Strange! To test the idea and eliminate other problems i am using same script twice with little mods (i just changed the name of the output png file). So, if i pass script_1.py and script_2.py to the model, it gives warning like before and creates output just for second script

[Paraview] Paraview python - loop to run through multiple files

2017-07-07 Thread Rebekah L
Hey :) I'm trying to script some code so that I can load a file in and then WriteImage and then I want this to loop through multiple files so I don't have to change the code each time for the new path. My problem is that paraview won't recognise a path unless it is the exact path, so I can't get

Re: [Paraview] Paraview segfault on (orthographic) slice view

2017-07-07 Thread Vogel Dorian
Hello Cory, Thanks for the follow-up. Unfortunately I do still experience this issue, I gathered a bit more information on the behavior of the issue: Still using a 1x1x1 @(0,0,0) box: -open second layout as tab -open orthographic sliceview -I can scroll on all slice views but ONLY in one

Re: [Paraview] Two issues with time-dependent data

2017-07-07 Thread Schuld, Heinrich
Thanks Cory for your idea. The problem is, that I would have to set the end of the TIME_RANGE dependently on the timesteps requested by ParaView. Otherwise the delta t between timesteps will not be equal. I could modify my filter so that the user has to select the number of timesteps in it. But