Hi Andy,

Thanks, I got it to work with your suggested edits.

Mark

From: Andy Bauer [mailto:[email protected]]
Sent: Tuesday, June 19, 2012 4:21 PM
To: Vanmoer, Mark W
Cc: [email protected]
Subject: Re: [Paraview] tweaking images from coprocessing views

Hi Mark,

I missed it before but with some help I found out that you can set the view 
size in your script as "a2DRenderView1.ViewSize = [ x, y]" where x and y are 
the number of pixels in those directions. Setting ViewSize is a bit funky in 
that it works from pvpython and pvbatch but not for the GUI (where it probably 
shouldn't anyways).

I was able to replicate the box around the color legend. If you change 
Enabled=0 in the ScalarBarWidgetRepresentation1 constructor the box should go 
away.

I'll check out fixing both of these issues -- thanks for pointing them out. 
Unfortunately for now you'll either have to live with them or edit the script 
files yourself though.

Andy

On Tue, Jun 19, 2012 at 3:54 PM, Vanmoer, Mark W 
<[email protected]<mailto:[email protected]>> wrote:
Hi Andy,

I'm using 3.14.1 server and 3.14.0 gui client. I've attached a saved screenshot 
from the client and the same timestep from the coprocessor. I've also attached 
the coprocessor python script. Should the viewport size be an attribute of the 
RenderView?

Thanks,
Mark

From: Andy Bauer [mailto:[email protected]<mailto:[email protected]>]
Sent: Tuesday, June 19, 2012 2:22 PM
To: Vanmoer, Mark W
Cc: [email protected]<mailto:[email protected]>
Subject: Re: [Paraview] tweaking images from coprocessing views

Hi Mark,

What version of ParaView are you using? In 3.14.1 you can set the magnification 
factor when outputting views but this is still an integer number though so it 
may not be exactly what you're looking for. Working with the repo head I'm not 
getting the white rectangle around the color legend. With some more info I'll 
see if I can track down this issue.

Andy
On Tue, Jun 19, 2012 at 2:28 PM, Vanmoer, Mark W 
<[email protected]<mailto:[email protected]>> wrote:
Hi,

I'm using ParaView 3.14.1 Coprocessing with OSMesa. I'm outputing views. Is 
there a way to set the image size? I always get 400x400 images. I tried setting 
Lock View Size Custom before exporting the coprocessor python script, but that 
doesn't seem to do anything.

Also, the color legend always has a white rectangle around it, as when you 
hover over it in the client gui. Is there a way to turn this off?

Thanks,
Mark

_______________________________________________
Powered by www.kitware.com<http://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

Reply via email to