Skip to content

Plugin Mapped Cube Viewer

Hiromichi Yokoyama edited this page Nov 3, 2026 · 7 revisions

Plugin: Mapped Cube Viewer

Mapped Cube Viewer maps scalar property data from one Gaussian Cube file (such as Electrostatic Potential, ESP) onto the 3D geometric isosurface generated from a second Cube file (such as Total Electron Density), producing classic ESP-mapped molecular surface plots.

Repository Bundled in moleditpy-plugins (plugins/Mapped_Cube_Viewer)
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 Plugins ▸ Mapped Cube Viewer...
Extra dependencies None (uses NumPy, PyVista, PySide6, RDKit from the MoleditPy environment)

See Official Plugins for the full catalogue.


1. Dual-cube scalar mapping workflow

The plugin orchestrates the classic molecular electrostatic potential (MEP) mapping procedure:

  1. Surface Cube File: Defines the 3D isosurface geometry (typically total electron density, $\rho = 0.001\ \mathrm{a.u.}$ or $0.002\ \mathrm{a.u.}$, representing the van der Waals molecular envelope).
  2. Property Cube File: Contains the scalar field to evaluate across that surface (typically electrostatic potential $V(\mathbf{r})$).
  3. Spatial Interpolation: Trilinearly interpolates the property values at each vertex of the triangulated surface mesh, assigning colors according to the chosen colormap.

2. Colormaps and scale calibration

  • Scientific Colormaps: Supports Rainbow / Jet, Coolwarm, Viridis, Plasma, Spectral, and traditional red-white-blue palettes.
  • Symmetric range scaling: Manually lock colorbar minimum and maximum limits (e.g. $[-0.05, +0.05]\ \mathrm{a.u.}$ or $[-30, +30]\ \mathrm{kcal/mol}$) to ensure consistent visual comparisons across different molecules.
  • Colorbar display: Includes an interactive, labeled scalar colorbar directly in the 3D viewport.

3. Chemical applications

  • Electrophilic and nucleophilic sites: Negative ESP regions (red) highlight electron-rich areas prone to electrophilic attack; positive regions (blue) highlight electron-poor sites.
  • Hydrogen bonding: Pinpoint hydrogen bond donor ($+$) and acceptor ($-$) potential on ligand surfaces.
  • Aromatic $\pi$-face charge: Clearly display negative $\pi$-electron clouds over aromatic rings and positive $\sigma$-holes on halogens.

Usage notes

Cube files support up to 256 MiB and 2,000,000 grid points. The header supplies units and grid geometry. Loading requires complete atom and field data, finite coordinates and independent grid axes.


4. See also


This page documents Mapped Cube Viewer v2026.10.31, and was last updated on 2026-11-03. See REGISTRY/plugins.json for the current version.

Clone this wiki locally