Repository navigation
Plugin XYZ Editor
Hiromichi Yokoyama edited this page Oct 19, 2026
·
6 revisions
XYZ Editor provides a comprehensive table-based inspector and editor for Cartesian atomic coordinates, element symbols, custom labels, and ghost atoms, with interactive two-way synchronization with MoleditPy's 3D viewport.
| Repository | Bundled in moleditpy-plugins (plugins/XYZ_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 ▸ XYZ Editor... |
| Extra dependencies | None (uses RDKit, NumPy, PyVista, PySide6 from MoleditPy) |
See Official Plugins for the full catalogue.
-
Bidirectional 3D viewport selection:
- Clicking any atom in the 3D viewport highlights and scrolls to its corresponding row in the table.
- Selecting rows in the table instantly places a visual halo/glyph over the atoms in the 3D viewport.
- Box selection mode: Drag a rectangular marquee across the 3D viewport to select multiple atoms at once.
- Whole fragment selection: Check "Select whole molecule on 3D click" to select entire covalently-bonded components (e.g. ligands, solvents, counter-ions) with a single click.
-
Coordinate & symbol editing:
- Edit X, Y, Z coordinates directly in the table with floating-point precision.
- Modify element symbols or specify custom labels (e.g. ghost atoms, labeled dummy centers).
- Click Apply to View to commit table modifications back to the active 3D model.
-
Immediate structural transformations:
- Adjust H: Intelligently adds missing hydrogens with realistic 3D geometries or removes excess hydrogens from selected atoms (or the whole structure).
-
Duplicate with offset: Clone selected atoms or the whole molecule with user-defined
$\Delta X, \Delta Y, \Delta Z$ coordinate translations. - Delete Atoms: Immediately remove chosen atoms and clean up dangling bonds.
-
Import / Export:
-
Save as XYZ...: Export the edited table directly as a standard
.xyzfile. - Copy to Clipboard: Quick tab-delimited copying for spreadsheets or script inputs.
-
Save as XYZ...: Export the edited table directly as a standard
- Open
3D Edit ▸ XYZ Editor.... - Inspect the table listing atom index, symbol, and Cartesian coordinates
$(X, Y, Z)$ . - Select an atom directly in the 3D view or click rows in the table.
- Tweak coordinates, adjust hydrogens, or duplicate fragments.
- Click Apply to View to update the MoleditPy 3D scene.
Coordinate edits preserve the molecule’s atom properties and require finite values. Reload the table if atom indices change.
- Official Plugins — the full plugin catalogue
- Plugin: Paste XYZ — import Cartesian coordinates from clipboard
- Plugin: Bond Editor — table-based bond length and order editing
- Plugin: Charge Editor — assign per-atom formal charges and radical states
This page documents XYZ Editor v2026.10.19, and was last updated on 2026-10-19. See REGISTRY/plugins.json for the current version.