I would like to write a Python script where I load a VTK mesh and create a video of a camera rotating around it horizontally. If possible, I would also like to take a screenshot from each top, bottom, front, back, left and right.
Hi,
You should create an animation: 7. Animation — ParaView Documentation 5.11.0 documentation
For the screenshots, you can:
- use some
Extractors
8. Saving Results — ParaView Documentation 5.11.0 documentation - directly call
SaveScreenshot
: 8. Saving Results — ParaView Documentation 5.11.0 documentation
Hello,
I am able to create an animation scene manually using the GUI. However, I would like to do that for 100+ images and therefore, it would be far more convenient if there was a programmatic solution to this problem.
All of this can be done in python too.
Previous links contain some info about python scripting. Here is the whole API doc.