Editing Atoms
This tutorial covers how to edit atomic structures in ACoord.
Adding Atoms
Method 1: Keyboard Shortcut
- Press
Ato enter add atom mode - Type the element symbol (e.g., "C", "H", "O")
- Click in the 3D canvas to place the atom
- Press
Escto exit add mode
Method 2: Right-Click Menu
- Right-click in the 3D canvas
- Navigate to Add atom submenu
- Select the element
- Atom is added at the click position
Method 3: Quick Add Panel
- Locate the Quick Add section in the Properties panel
- Enter element symbol and coordinates (x, y, z)
- Click Add
Deleting Atoms
- Select the atom(s) to delete
- Press Delete or Backspace
- Or right-click → Delete atom
Moving Atoms
Drag to Move
- Left-click and drag on an atom to move it in the viewing plane
Precise Position
- Select the atom
- In the Properties panel, enter exact X, Y, Z coordinates
- Click Apply
Move Multiple Atoms
- Select atoms, then right-click + Shift + Alt + drag
Rotate Selection
- Select atoms, then right-click + Shift + drag to rotate around center
Copying Atoms
- Select atom(s)
- Press Ctrl+C (or right-click → Copy)
- Press Ctrl+V to paste
- New atoms appear at offset position
Changing Atom Properties
Change Element
- Select the atom
- Right-click → Change element → select new element
- Color and radius update automatically
Change Color
- Select the atom(s)
- Right-click → Set color...
- Choose a new color
Note: Custom colors are saved only in
.acoordformat
Fix/Unfix Atoms
Fixed atoms are constrained during geometry optimization (e.g., in VASP calculations).
- Select the atom(s)
- Right-click → Fix atom or Unfix atom
- A white 3D cross marker appears on fixed atoms
Visual Indicator
The 3D cross marker is visible from any viewing angle and respects depth occlusion (hidden when behind other atoms).
Constraint Export
Fixed atoms are synced with format-native movement constraints where supported:
- POSCAR: selective dynamics flags
- QE:
ATOMIC_POSITIONSif_posflags - ABACUS STRU: atom movement flags
- OpenMX:
MD.Fixed.XYZ - CASTEP cell:
IONIC_CONSTRAINTS
If every atom is free, ACoord omits redundant fixed/free flags when the target format allows the constraint fields to be left blank.
Undo and Redo
- Undo: Ctrl+Z (or Cmd+Z on macOS)
- Redo: Ctrl+Y (or Cmd+Y on macOS)
Saving Edits
- Save: Ctrl+S (or click Save button in toolbar)
- Save As: Click Save As button, choose format
For full fidelity (preserving colors, labels, etc.), save as .acoord format.
Keyboard Shortcuts
| Key | Action |
|---|---|
A | Enter add atom mode |
D | Delete mode |
V | Select mode |
Ctrl+Z | Undo |
Ctrl+Y | Redo |
Ctrl+S | Save |
Ctrl+C | Copy selected atoms |
Ctrl+V | Paste atoms |
Delete/Backspace | Delete selected |
Esc | Cancel current operation |
