Skip to content

Plugin Bond Editor

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

Plugin: Bond Editor

Bond Editor provides a table-based interface to create, modify, or delete chemical bonds, change bond orders, and adjust bond lengths interactively with 3D viewport pick tools.

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

See Official Plugins for the full catalogue.


1. Key Features

  • Bond table:
    • Displays all bonds in the molecule with Atom 1, Atom 2, Bond Type (Single, Double, Triple, Aromatic), and current Bond Length ($\text{\AA}$).
    • Changing the bond type in the dropdown instantly updates the RDKit molecular topology.
    • Editing the bond length numerically moves one end of the bond (or connected fragment) along the interatomic vector.
  • Interactive mode (on by default):
    • Left-click a bond to cycle its order (single, double, triple); right-click a bond to delete it.
    • Drag from one atom to another to create a bond between them. Clicking an atom on its own changes nothing, and dragging from empty space still rotates the camera.
    • Auto-kekulize (on by default) converts aromatic rings to alternating single/double bonds before an edit and restores aromaticity afterwards.
  • 3D click modes (when Interactive mode is off):
    • Select bond: Click directly on any bond cylinder in the 3D viewport to select and highlight the corresponding row in the table.
    • Create bond: Sequentially click two atoms in the 3D viewport to instantly create a new bond between them.
  • Structure tools: Adjust H removes hydrogens from over-valent atoms and adds missing ones, Estimate Bonds re-derives bonds and bond orders from the 3D coordinates, and Kekulize / Aromatize toggles the aromatic representation.
  • Bond deletion & management:
    • Delete selected bonds from the table or press Delete to break connectivity without deleting the constituent atoms.
    • Visual halo highlights the selected bond in the 3D view.

2. Typical Workflow

  1. Open 3D Edit ▸ Bond Editor....
  2. In Interactive mode, click a bond to cycle its order, right-click it to delete it, or drag between two atoms to connect them.
  3. Alternatively, select a bond in the table and change its order using the Type dropdown (Single, Double, Triple, Aromatic) or type a target length in $\text{\AA}$.
  4. With Interactive mode off, use the Create bond click mode and click the two atoms you want to connect.
  5. Press Adjust H to fix hydrogen counts after changing bond orders.

Usage notes

Bond lengths must be finite and positive. Moving atoms requires a defined bond direction.


3. See also


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

Clone this wiki locally