Re: [Paraview] Python: How to change the location and size of orientation axes?

2017-04-08 Thread Liang Wang
It turned out using the vtkPVAxesWidget might be more appropriate because it is attached to a fixed renderer thus does not rotate when you rotate your main renderer. However, I still do not know how to set the location and size of the resulting orientation axes more accurately. Maybe it is because

Re: [Paraview] Python: How to change the location and size of orientation axes?

2017-04-08 Thread Liang Wang
I figured out a way by using the vtkAxesActor class directly. An example script: from paraview.simple import * paraview.simple._DisableFirstRenderCameraReset() renderView1 = GetActiveViewOrCreate('RenderView') sphere1 = Sphere() sphere1.Radius = 1.0 sphere1Display = Show(sphere1, renderView1) s

[Paraview] Python: How to change the location and size of orientation axes?

2017-04-08 Thread Liang Wang
>From http://public.kitware.com/pipermail/paraview/2010-July/018081.html it was not possible back then to change the size of orientation axes. Is it possible now, hopefully through Python, too? ___ Powered by www.kitware.com Visit other Kitware open-sou