Skip to content

Plugin Charge Editor

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

Plugin: Charge Editor

Charge Editor provides a dedicated table and 3D picker to assign per-atom formal charges and radical electron counts, automatically calculating net molecular charge and spin multiplicity for DFT and quantum chemical calculations.

Repository Bundled in moleditpy-plugins (plugins/Charge_Editor)
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 3D Edit ▸ Charge Editor...
Extra dependencies None (uses RDKit, NumPy, PyVista, PySide6 from MoleditPy)

See Official Plugins for the full catalogue.


1. Key Features

  • Per-atom charge & radical assignment:
    • Sets formal charge on each atom (from $-4$ to $+4$).
    • Sets number of radical electrons (from $0$ to $4$) for open-shell systems, radicals, and diradicaloids.
  • Automatic quantum state summary:
    • Net Formal Charge: Automatically calculates the overall molecular charge $\sum q_i$.
    • Spin Multiplicity: Automatically computes $2S + 1$ based on total radical electrons (singlet, doublet, triplet, quartet, quintet), directly matching input requirements for Gaussian, ORCA, and PySCF.
  • Interactive 3D viewport pick:
    • Left-click any atom in the 3D viewport to instantly select and highlight it in the table.
    • Hold Ctrl while clicking to add or remove multiple atoms from the selection.
    • Selected atoms are highlighted with a translucent yellow halo.
  • Batch application: Apply charges or radical electrons to multiple selected atoms simultaneously.

2. Typical Workflow

  1. Open 3D Edit ▸ Charge Editor....
  2. Click an atom (e.g. an ionized nitrogen, oxygen, or metal center) in the 3D view.
  3. Use the spin box to set the Formal Charge or Radical Electrons.
  4. Read off the calculated Total Charge and Spin Multiplicity displayed in the summary banner.
  5. Click Apply to Molecule to commit the electronic state to MoleditPy's internal model.

3. See also


This page documents Charge Editor v2026.10.19, and was last updated on 2026-10-19. See REGISTRY/plugins.json for the current version.

Clone this wiki locally