Build Ethanol

The following code illustrates how to create a molecule by creating individual atoms and bonds and associating them with a Molecule object.
The example illustrate how to:

  • Allocate an empty Molecule object
  • Populate a Molecule object with Atoms
  • Create chemical bonds between Atoms in a Molecule
  • Populate a molecule with Hydrogens
  • Obtain a Bond object from a Molecule
  • Rotate structure around an individual bond
  •