Skip to content

Plugin Structural Updater

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

Plugin: Structural Updater

Structural Updater automatically detects when you modify the 2D molecular drawing and intelligently applies those changes to the existing 3D conformation without performing a full, destructive re-embedding.

Repository Bundled in moleditpy-plugins (plugins/Structural_Updater)
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 Settings ▸ Structural Updater... (also integrates with the main "Convert 2D to 3D" button)
Extra dependencies None (uses RDKit, NumPy, PySide6 from MoleditPy)

See Official Plugins for the full catalogue.


1. Key Features

  • Preservation of carefully adjusted 3D geometries:
    • In vanilla workflows, modifying a substituent on a 2D sketch and converting to 3D completely re-embeds and re-orients the entire molecule, wiping out customized dihedral angles or dockings.
    • Structural Updater tracks atom identity mappings (_original_atom_id) between 2D and 3D.
    • When the 2D sketch is modified, it fixes the coordinates of all unchanged atoms in space and embeds only newly added atoms or modified substituents.
  • Constrained force-field relaxation:
    • Runs constrained UFF/MMFF minimization holding the original scaffold fixed while relaxing newly attached groups into optimal bond lengths and angles.
  • Dynamic button state:
    • The main conversion button dynamically transforms into "Apply 2D Changes to 3D" when an existing 3D structure is loaded and matched, giving visual clarity of what action will occur.
  • Graceful fallback:
    • If a structural change is too drastic or causes severe topological strain, it automatically falls back to full 3D conversion to ensure structural validity.

2. Configuration & Settings

Access the plugin configuration via Settings ▸ Structural Updater...:

  • Enable Plugin: Toggle the partial structural updater on or off. When disabled, MoleditPy reverts to default full 3D embedding on every conversion.

3. See also


This page documents Structural Updater v2026.10.27, and was last updated on 2026-10-28. See REGISTRY/plugins.json for the current version.

Clone this wiki locally