Stop nudging molecules blindly: a practical guide to precise placement

Few things are more frustrating than trying to rotate one part of a molecular structure and watching it swing in an unexpected direction—or moving a molecule only to discover that the direction you needed was tied to the camera, not the structure. The fix is to choose the right reference frame before you drag.

SAMSON offers three move editors for different kinds of placement: the Displacer moves objects in the camera plane, the Local Move editor uses the selection’s principal axes, and the Global Move editor uses the global X, Y, and Z axes. Choosing between them turns trial-and-error movement into a more deliberate workflow.

Choose your frame of reference

  • Use Displacer (D) for a quick screen-plane adjustment. It moves selected nodes in the plane of the camera, which can be handy during interactive work.
  • Use Local Move (M) when the orientation of the selected structure should guide the movement. Its translation and rotation widgets follow the selection’s principal axes.
  • Use Global Move (K) when you need movement or rotation along the scene’s fixed X, Y, and Z directions.

That distinction matters when a molecule is already rotated in the viewport. A local axis follows the selected structure; a global axis stays aligned with the global reference frame. If a drag feels unintuitive, check which editor is active before changing the molecule again.

The Local Move editor controller

Move a fragment without disturbing the rest

First select the atoms or other movable nodes you want to reposition. For a molecular fragment, selecting just the relevant group helps avoid moving the entire structure by mistake. Then activate the Local Move editor with M.

For a screen-plane adjustment, drag the central translation widget—the cross with arrows. For movement along the selection’s principal axes, use the side arrows or plane widgets. Curved arrows rotate around the local axes, while the sphere-shaped trackball allows free rotation. In the Global Move editor, the same general widget types work relative to the global axes instead.

Local translation along a principal axis

While dragging, SAMSON previews the change. If the move is not what you intended, press Esc before releasing to cancel and restore the previous position. Once a move is applied, it can also be undone with Edit > Undo.

Make small, repeatable adjustments

When placement needs to be controlled rather than merely visual, enable snapping from the active editor’s quick access menu in the upper-left of the viewport. You can also adjust snapping preferences under Interface > Preferences > Editors > Snapping. Translational snapping constrains movement to a chosen increment; rotational snapping constrains rotation to angular increments. For example, the documentation demonstrates translations in 0.5 Å increments and rotations in 10° increments. These are examples, not required settings—choose increments appropriate to the adjustment you are making.

For numeric control, right-click a move-editor widget, or hold Ctrl on Windows/Linux or Cmd on macOS and left-click it, to provide precise translation or rotation parameters. Right-clicking widgets also gives access to alignment actions along global axes. If your goal is to place a structure relative to the whole scene, the selection context menu offers options such as centering on the origin and aligning with a global axis or plane.

Context menu for the Global Move editor widgets

A simple placement checklist

  1. Select only the nodes you intend to move.
  2. Decide whether the camera, the selected structure, or the global frame should define the movement direction.
  3. Choose Displacer, Local Move, or Global Move accordingly.
  4. Turn on translation or rotation snapping if repeatable increments will help.
  5. Preview the drag, cancel with Esc if needed, and use Undo if you have already applied a move.

One last detail: move editors apply to movable nodes, including structural nodes with atoms, certain labels, lights, and meshes. Some other nodes have no viewport position or follow structural nodes they depend on. If a node does not respond as expected, its type may explain why.

For the full set of editor controls, alignment options, and examples, see the SAMSON guide to moving objects.

Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON.

Comments are closed.