Python extensions pro — OVITO User Manual 3.15.3-dev-HEAD-b1e9512d documentation

# Python extensions pro

OVITO Pro allows you to extend the functionality of the program by writing your own Python scripts and plugins. This overview provides hints how to do that and where to find ready-to-use extensions written by other users.

The integrated Python interpreter of OVITO Pro is a powerful tool that allows you to automate tasks, create new analysis functions, and customize the program to your needs. You can develop extensions for the following key areas of OVITO:

- User-defined modifiers that perform custom calculations or data transformations as part of data pipelines

- User-defined pipeline sources that generate ad-hoc input data for a pipeline

- User-defined file readers that import simulation data from new file formats

- User-defined file writers that export computational results to new file formats

- User-defined viewport layers that enrich renderings with additional graphics or annotations

- User-defined utility applets that make additional actions or automations available in the OVITO GUI

## Available extensions for OVITO Pro

The OVITO Pro Extension Directory is a curated collection of open-source Python extensions written and shared by members of the OVITO user community. These ready-to-use extensions are hosted in external code repositories and can easily be installed in OVITO Pro. Or you can use them in your standalone Python scripts by installing the packages in your Python interpreter.

From the OVITO Pro GUI, you can browse the extension directory by selecting Edit ‣ Python Extensions from the main menu:

The extension directory is organized by categories, such as modifiers, viewport layers, file import/export, and general utility applets. It provides a short description for each extension, a link to the source code repository, and a button to download and install the extension in OVITO Pro.

Note

The extension directory is a community-driven platform. The extensions are not officially supported by OVITO GmbH and may not be compatible with all versions of the program. They are written and maintained by third-party authors (some of which may be OVITO developers).

More extension packages for OVITO Pro are available from other online sources - or you may have developed your own extensions. To install such extensions in OVITO Pro, go to the Python settings tab of the application settings dialog and use the Install additional package function to install the package. Follow the instructions provided by the extension author.

See also

Packaging and installation of user extensions for OVITO