Python scripts

Python scripts

This part covers topics specific to writing Python programs that use OVITO as a library, e.g. for batch processing simulation data.

File I/O

Loading simulation files and trajectories, and writing results to output files.

File I/O
Rendering & visualization

Controlling the visual appearance of data and rendering images and movies.

Rendering & visualization
Interactive viewer widgets

Displaying interactive 3d views in Jupyter notebooks and Qt applications.

Interactive viewer widgets
Session state files

Saving pipelines to .ovito files and loading pipelines prepared in OVITO Pro.

Session state files
Performance

Controlling multithreading and parallelizing scripts with Python’s multiprocessing module.

Controlling how many processor cores OVITO uses