Drawing Molecules#

Molecules are built and edited with the Draw Tool, which allows for “free-hand” sketching of new molecules.

Tip

New in 2.0 You can also use the new Template Tool which makes it easier to attach functional groups or assemble inorganic and organometallic complexes.

Draw Tool (pencil icon) circled in the toolbar, with the Draw pane below showing Element, Bond Order, and Adjust Hydrogens

With the Draw Tool selected, left-clicking on the view pane will begin your journey into molecule creation. A left-click will create a carbon atom. A right-click on the atom will delete it.

Avogadro window with the Draw Tool active and a single carbon atom drawn, shown as methane with its added hydrogens

Left-clicking the initial atom and dragging your mouse will create a second carbon atom with a bond from the initial atom.

Ethane drawn by clicking a first carbon (1) and dragging to place a second bonded carbon (2), with an arrow showing the drag direction

Avogadro uses carbon as the default element. A different element can be selected through the Element drop-down menu in the Draw Pane. While the Draw Tool is active, typing an atomic symbol (e.g. O for oxygen, or As for arsenic) is a shortcut for changing the selected element.

Element drop-down menu in the Draw pane, open with Carbon (6) checked and other common elements listed

Let’s say you wanted to create water. You can either type in O, or select “Oxygen (8)” from the drop-down menu, and then click on the (by default black) view pane.

Left-clicking on an atom that has already been generated will also change the element. In this case, clicking on the initial carbon atom changed it into an oxygen atom.

Water molecule drawn with Oxygen (8) selected as the element, with two hydrogens added to the oxygen

If the Adjust Hydrogens box in the Draw Pane is checked, hydrogen atoms in the molecule will be automatically added and removed to satisfy valency (as shown above).

Adjust Hydrogens checkbox in the Draw pane, circled and checked

The bond order of newly created bonds is set in the Bond Order drop-down menu of the Draw Pane, or by typing the numbers “1”, “2”, or “3”. The order of an existing bond can be changed by left-clicking on it, which cycles through single, double, and triple bonds. Right-clicking on a bond deletes the bond completely.

Bond Order drop-down menu, circled and open, listing Automatic (checked), Single, Double, and Triple

Tip

New in 2.0 The default bond order is “Automatic,” which means the order will adjust appropriately as you increase or decrease the length of the bond you are creating.

Creating carbon dioxide#

Begin drawing the “O-C-O” structure. After the structure is drawn, all you need to do is left-click in the middle of the bonds. Left-clicking on the bonds will create a double bond, as shown below. (Clicking on a bond changes the bond order from single ⇒ double ⇒ triple ⇒ single, etc.)

Step 1: O–C–O drawn with single bonds, with hydrogens added to each atom (methanediol) Step 2: the first C–O bond (1) clicked to make a double bond, giving formic acid Step 3: both C–O bonds (1 and 2) are now double bonds, giving a bent, not-yet-optimized carbon dioxide

Tip

New in 2.0 When clicking on an atom to change the element or clicking on a bond to change the bond order, Avogadro will attempt to adjust the bond length if one end of the bond is “free” (e.g., only connected to hydrogen atoms).

The molecule you have drawn will probably not look very tidy or realistic. Once you’ve created your molecule, you can quickly optimize its geometry using an Extension. Selecting the Extensions menu, and clicking Optimize Geometry will provide your molecule with proper bond lengths and angles.

Extensions menu open, with Optimize Geometry highlighted at the top

You now know the basics of drawing a molecule in Avogadro!

See Also#