[Paraview] Python: Save Screenshot in parallel projection
Jonas Asche
asche.j at googlemail.com
Mon Jul 13 07:10:28 EDT 2015
Hello, when i try to switch to parallel projection on in my script i can
only save a screenshot with parallel projection disabled:
self.__getView().CameraParallelProjection = 1
self.__getView().CameraParallelScale = 1.0
self.__getView().CameraViewUp = [0.0, 0.0, 1.0]
self.__getView().CameraPosition = camdirection[axis]
self.__getView().CameraFocalPoint = [0.0, 0.0, 33.32500076293945]
self.__getView().CameraClippingRange = [154.56988142373606, 215.9545612783452]
SaveScreenshot(str(self.__getConfig().get("save", "path") + 'img-') +
str(axis) + "-" + str(distribution) + '.png', self.__getView())
When when i print out the parallel scale AFTER savin the screenshot it
is set to 46.6471043813.
is this the same bug like here: http://paraview.org/Bug/view.php?id=7466
?
Is there a workaround or am i doing something wrong?
Thanks,
Jonas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150713/45cc0f0e/attachment.html>
More information about the ParaView
mailing list