Skip to content

Plugin Auto Rotator

Hiromichi Yokoyama edited this page Oct 20, 2026 · 3 revisions

Plugin: Auto Rotator

Auto Rotator provides continuous, automated 3D rotation of the live 3D viewport in MoleditPy, rotating the camera smoothly around global or view axes for presentations, demos, and hands-free structural inspection.

Repository moleditpy_auto_rotator
Author HiroYokoyama
Supported OS Windows, macOS, Linux, WSL
Supported Python >=3.9, <3.15
Supported MoleditPy >=5.0.0, <6.0.0
First-party plugin license LGPL-3.0-or-later
Menu location View ▸ Auto Rotator...
Extra dependencies None (uses PyVista, PySide6 from the MoleditPy environment)

See Official Plugins for the full catalogue.


1. Camera orbital mechanics

Unlike naive rotators that modify atomic coordinate matrices, Auto Rotator rotates the camera viewpoint around the molecule:

  • Geometry preservation: Atomic coordinates, bond vectors, and underlying molecular representations remain completely untouched.
  • Lighting stability: Fixed lighting angles ensure natural shading without shadow flicker or specular distortion during rotation.
  • Hands-free inspection: Ideal for conference presentations, recorded screencasts, or inspecting large coordination complexes from all angles.

2. Six rotation axes

Supports six distinct rotation axes:

  • Global axes: Orbit around the absolute Cartesian axes of the world coordinate system ($X, Y, Z$).
  • View axes: Orbit relative to the current camera perspective:
    • Azimuth / Yaw: Horizontal spin around the camera's up-vector.
    • Elevation / Pitch: Vertical somersault around the camera's horizontal axis.
    • Roll: Barrel roll around the direct line-of-sight axis.

3. Controls and responsiveness

  • Speed control: Adjustable rotation speed in degrees per second ($^\circ/\mathrm{s}$). Negative values reverse the rotation direction.
  • Start / Stop toggle: Start or pause rotation at any time. Closing the dialog stops the timer cleanly and restores normal interactive camera controls.
  • Lightweight timer: Driven by an efficient Qt timer that leaves the GUI and rendering thread smooth without consuming excessive CPU cycles.

4. See also


This page documents Auto Rotator v2.0.1, and was last updated on 2026-10-20. See REGISTRY/plugins.json for the current version.

Clone this wiki locally