Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有谁知道如何在批处理模式下调用 paraview 然后保存屏幕截图?
这是一个示例脚本:
from paraview import simple simple.Sphere() simple.Show() simple.Render() simple.WriteImage("/tmp/foo.png")
有关可用于 WriteImage() 的选项,请参阅 ParaView Python 文档
http://www.paraview.org/ParaView3/Doc/Nightly/www/py-doc/paraview.simple.html#paraview.simple.WriteAnimation