Skip to content

Grid settings

A grid behind the drawing helps you line up atoms and annotations. The Grid Settings dialog sets the grid’s pattern, spacing, and color, and whether drags snap to it. To open it, click View > Grid Settings, right-click the grid button in the action bar, or press Ctrl+Shift+'.

The Grid Settings dialog: type Dots, spacing 28 px with Match bond length checked, the color set to auto, opacity 30 percent, Snap to grid by default, and the folded Advanced section.
Grid Settings, with the spacing matched to the bond length.

To show or hide the grid without opening the dialog, click View > Show Grid or press Ctrl+'. The shortcut uses the physical quote key, so it works the same way on keyboard layouts other than US. When you zoom out so far that grid cells would be closer than 4 px on screen, the grid hides itself to avoid moiré patterns.

Setting What it does
Type Dots, Square, or Hex (pointy-top).
Spacing Cell size in pixels, from 2 to 500. Unavailable while Match bond length is selected.
Match bond length Sets the spacing to the document’s bond length, so that atoms dragged onto the grid land at bonding distance. The label shows the current bond length and updates if you change the structure preset while the dialog is open.
Color A swatch that reads “auto” until you pick a color. Auto follows the current theme; Use theme returns to it.
Opacity 0 to 100%; the default is 30%.

Every change shows on the canvas behind the dialog as you make it. OK saves the result. Cancel, Esc, or closing the dialog returns to the settings you started with.

To make drags snap to grid intersections whenever the grid is on, select Snap to grid by default. Either way, holding G during a drag reverses the default for that drag only: it turns snapping on when the default is off, and turns it off when the default is on. When you release G, the drag returns to the default.

Expand the Advanced section to draw darker major lines, as on graph paper:

  • Major lines every draws every Nth grid line darker. Enter 0 to turn major lines off; the maximum is 50.
  • Major boost adds opacity to the major lines on top of the base Opacity. With a base of 30% and a boost of 20%, major lines draw at 50%.

Major lines do not apply to hex grids; both controls are unavailable when Hex (pointy-top) is selected.