Repository navigation
Plugin Cube File Viewer
Hiromichi Yokoyama edited this page Nov 3, 2026
·
7 revisions
Cube File Viewer visualizes 3D volumetric scalar datasets from Gaussian Cube files (.cube, .cub), rendering positive and negative isosurfaces for molecular orbitals, electron densities, electrostatic potentials, and spin densities directly in MoleditPy's 3D viewer.
| Repository | Bundled in moleditpy-plugins (plugins/Cube_File_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 | Associated with .cube and .cub files (drag-and-drop or File ▸ Open) |
| Extra dependencies | None (uses RDKit, PyVista, NumPy from the MoleditPy environment) |
See Official Plugins for the full catalogue.
-
Automatic file association: Automatically registers file openers for
.cubeand.cubextensions. Opening a cube file viaFile ▸ Openor dragging it into the 3D window parses the file immediately. - Embedded geometry: Reads the atomic numbers and Cartesian coordinates stored in the cube file header, populating the molecular geometry alongside the volumetric grid.
-
Volumetric data support: Handles molecular orbitals (signed wavefunctions), total electron density (positive-only), electrostatic potential (ESP), and spin density (
$\alpha - \beta$ ).
- Dual-phase rendering: For signed wavefunctions (molecular orbitals), renders paired positive (blue) and negative (red/orange) isosurfaces simultaneously.
- Isovalue adjustment: Interactive slider allows real-time adjustment of the contour threshold value.
- Opacity and styling: Adjust surface transparency to see the underlying ball-and-stick atomic skeleton through the volumetric cloud.
- Solid, wireframe, and points: Switch rendering representation between solid surfaces, wireframe meshes, and point clouds.
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.
- Official Plugins — the full plugin catalogue
- Plugin: Cube File Viewer Advanced — PBR-shaded volumetric cube viewer
- Plugin: Mapped Cube Viewer — map ESP onto density isosurfaces
- Plugin: Orbital Comparator — side-by-side comparison of multiple cube files
This page documents Cube File Viewer v2026.10.31, and was last updated on 2026-11-03. See REGISTRY/plugins.json for the current version.