Skip to content

Grid and Page

nodemode-ai edited this page Dec 3, 2026 · 1 revision

Grid and Page

How the page looks and how things line up on it: the dark page, the grid and snapping, rulers, and making structures larger or smaller on the sheet. All of it is from 0.7.0 except the rulers (0.5.0).

Dark page

The drawing page shows dark with light bonds and labels, as in FormTxt, and it is on by default. Element colours stay recognisable (oxygen reads light red, nitrogen light blue), the orange selection and the red warnings keep their real colours, and pictures placed in the drawing are shown close to their real colours. Turn it off with View > Dark Page, the canvas right-click menu or Preferences > Interface > Page; the choice is remembered on this device and other windows follow it.

The dark page only changes the screen. Exports, printing and copies always have the real colours on a white or transparent background. Under the dark page, very saturated light colours in placed pictures (pure yellow, for example) show beige or brick; that is a limit of the screen filter, not of the picture.

Grid

View > Grid has the grid types, Snap to Grid and Grid Settings...:

Type What it shows
Lines square grid lines
Dots dots at the square grid's points
Crosses small plus marks at the square grid's points
Isometric triangle lines at 30, 90 and 150 degrees
Isometric dots dots at the triangle corners
Hexagonal hexagon edges, with vertical sides
Hexagonal dots the hexagon corners

Grid Settings... sets the type, the spacing (5 mm, 1/4 in, 10 pt, the bond length, or any value in pt, mm, cm or in, from 1 to 288 pt), a major line every so many cells (0 for none; hexagonal grids have none) and the strength (faint, normal or strong), and shows the result on the page while you choose. Apply to This Drawing keeps the grid with the drawing (it is saved in the file and changing it is one undo step); Make Default for New Drawings sets the grid every drawing gets until it chooses its own, which Preferences > Drawing > Grid also sets. Square grids start at 7.2 pt, isometric and hexagonal grids at the bond length.

Show Grid turns the grid off and on for this window. The grid never appears in exports or printing. When you zoom far out, the finest lines are hidden (only the major lines, or a coarser grid, remain), so the grid never becomes a grey wash.

Snap to Grid

With View > Grid > Snap to Grid on (it is off by default, and remembered):

  • A new bond, chain or ring starts on a grid point. On a square grid the bond keeps its length and its 15 degree steps, so only the first atom lands on a point.
  • On an isometric or hexagonal grid whose spacing is the bond length, every atom of a chain or a six-membered ring lands on a grid point: bonds follow the grid's directions and rings turn to fit it. That is the quickest way to draw neat zig-zag chains and fused rings.
  • Moving a selection snaps the atom or the end you grabbed, and a whole structure stays on the grid. Dragging arrow ends, line points and box corners snaps too, and new arrows, shapes, brackets, tables and TLC plates start and end on points.
  • Hold Alt (Option on macOS) to place freely. Shift keeps its usual meaning (level or upright moves, angle steps), and snapping waits while it constrains.
  • Rotating and the scale corners do not snap.

Rulers

View > Show Rulers shows rulers along the top and left edges in the drawing's units (click the corner square to switch between pt, mm, cm and in). Drag out of a ruler to place a guide, drag it back to remove it, or use View > Clear Guides. Guides belong to the window, are not saved, and tools do not snap to them.

Making structures larger or smaller

Zoom only changes your view. To make the drawing itself larger on the sheet:

  • Corner handles. Select structures with the selection or lasso tool: four square handles appear at the corners of the selection. Drag one to scale; the opposite corner stays put. Alt scales about the centre, Shift in 10 percent steps, and Escape cancels. A label beside the pointer shows the scale and the bond length ("Scale 150%", "Bond 21.6 pt"), and hovering a corner shows the current bond length.
  • Arrange > Scale... sets a percent or a target bond length, for the selection or, with nothing selected, for every structure on the page, each about its own centre so a scheme keeps its layout.
  • Arrange > Scale Up 10% and Scale Down 10% (Ctrl+Alt+= and Ctrl+Alt+-, Cmd+Option on macOS) step the same way; the two cancel exactly.
  • Arrange > Scale Labels and Text with Structures (on by default; also in the Scale dialog and in Preferences > Drawing > Scaling): on, line widths, atom labels, arrows and text grow with the drawing; off, they keep the drawing's style and only the geometry changes.

Each scale is one undo step, the chemistry (SMILES, stereo, wedges) never changes, and the status line says the result, such as "Scaled to 92.6%, bond length 20.0 pt". Scaling and scaling back leaves no trace in the file.

For agents

dark-page {on?}, show-grid {on?}, snap-to-grid {on?}, grid-type {type, scope?}, grid-spacing {value, unit?, scope?}, grid-settings {...}, the radio commands grid-lines to grid-hex-dots, scale-selection {percent | bond_length, labels?}, scale-up, scale-down and scale-labels run through run_command; scope: "default" changes the default grid instead of the drawing's. See Agents.

Clone this wiki locally