Tutorial
Contents
Tutorial Overview...............................................................................5
Section 1: Building an Inorganic Structure.........................................................7
Structural Data.....................................................................................7
Entering Crystal Data..........................................................................8
Changing Atom Colours & Radii......................................................11
Defining Bonds...................................................................................12
Adding Notes.....................................................................................13
Getting Help......................................................................................14
Saving a Crystal File...........................................................................14
Section 2: Displaying a Crystal..........................................................................15
Opening a CrystalMaker File.............................................................15
Resize The Plot...................................................................................15
Changing the Plot Range...................................................................16
Changing The Background Colour.....................................................17
Rotating With The Mouse..................................................................18
Rotating With The Trackpad..............................................................19
Specifying A Rotation Angle..............................................................20
Defining a View Direction.................................................................21
Changing the Crystal Model..............................................................22
Atom Styles........................................................................................23
Bond Styles.........................................................................................24
Polyhedral Styles.................................................................................25
Site Browser........................................................................................26
Section 3: Probing the Crystal...........................................................................27
Tools Palette.......................................................................................27
Zooming an Area of Interest..............................................................28
Atom Info Tips...................................................................................28
Measuring Distances and Angles........................................................29
Working with Lattice Planes..............................................................30
Angles between Planes & Vectors.......................................................31
Hiding Atoms.....................................................................................32
Local Coordination Environments.....................................................33
Local Embellishments........................................................................34
Generating a Distances & Angles File................................................35
Publishing a Web Page.......................................................................36
Summary............................................................................................37
Dynamic Visualization.......................................................................37
Learning Resources.............................................................................37
Preface
Tutorial Overview
We recommend that you follow all the steps (indicated by the numbered
boxes, 1 )in order to build up your understanding.
Building an Inorganic
Structure
Structural Data
Building a crystal doesnt have to be as painful as it might seem. This is
because CrystalMaker can use any symmetry (including lattice translations)
to build a complete unit cell from a much smaller, asymmetric unitso
you wont generally need to type in the coordinates of every single atom! To
display more extensive structures, CrystalMaker can tile multiple unit cells.
In this tutorial, well build a structural model of spinel, MgAl2O4, an
important oxide mineral. Here are the essential data well need:
Structural data for spinel
Crystal system:
Cubic
Spacegroup: F d 3 m (origin choice 2)
Unit cell dimensions:
a = 8.08
Fractional coordinates of atoms in the asymmetric unit:
element
Mg
0.125
0.125
0.125
Al
0.500
0.500
0.500
0.262
0.262
0.262
Well start by entering these data into the program, using the Crystal Editor.
If the Spacegroup field isnt already highlighted, press the tab key to
highlight it.
3
F d 3 m [origin 2]
If youve entered the spacegroup symbol correctly, all but one of the lattice
parameter fields will vanish! CrystalMaker has recognized that your
spacegroup symbol corresponds to a cubic crystal and that only the a unit cell
parameter is required (for the cubic system, a = b = c; = = = 90).
Press the tab key on your keyboard to move to the a field and type: 8.08.
The editor window should resemble the following:
4
5 We shall now add three sites in the crystals asymmetric unit. Note that
CrystalMaker requires the following information for each site:
A unique site label. (Maximum of six characters, which must not include
any spaces).
One or more chemical element(s) and fractional occupancy values.
(CrystalMaker uses element symbols to decide the atomic radius and the
colour of an atom plotted for a particular site; element symbols can be
one or two alphabetical characters.)
Fractional coordinates, xyz for the site. These can be entered as fractions
(1/2) or as decimals (0.5).
Press the return key to highlight the site lable (or simply click on the
label to highlight it). Type a new label (up to six characters with no spaces)
well choose: Al(1). Then press the tab key to move to the next editable field.
7
Enter values of 0.5 in the x, y, and z fields, pressing the tab key to
move between fields (ignore the U11, U22 fields). Your editor window
should now look like this:
9
10
11
You can now proceed to enter site data for the Mg and O sites, as
given in the table at the beginning of this tour. Remember to click the +
button to create a new list entry or, to delete an entry, select that row and
click the button.
12 When you have finished entering the crystal data, check that your editor
window resembles the one illustrated below:
Complete structural data entry for
spinel
13
14
CrystalMaker will now generate all atoms in the crystal, using the data you
have supplied, indicating its progress in the status window. Once these steps
are completed, a group of atoms inside a cube-shaped frame (the unit cell) is
displayed in the Graphics window.
One unit cell of spinel, displayed in
CrystalMaker.
10
If you wish to include other atom types in your crystal, or would like to
override CrystalMakers default settings, you can explicitly define atom
colours and radiifor the current structureusing the Site Browser, which
can usually be found in the Graphics windows Sidebar.
1 If the Site Browser isnt visible, use the Window> Show Sidebar command
to show the Sidebar. If for some reason the Site Browser still isnt visible,
choose the Window > Sidebar > Site Browser command.
2 Well edit the atom colours. The Colour column of the Site Browser
contains buttons which allow us to change colours for individual sites, or for
particular elements (i.e., one or more sites).
3 Click one of the coloured buttons and choose a new colour using the
colour picker.
Well now edit the atomic radii, so we need to look at the radius
column, which is labelled r [] to emphasize that radii are measured here in
ngstrm units.
4
11
Defining Bonds
We can ask CrystalMaker to search for, and generate, bonds and polyhedra
automatically. One way of doing this is to specify bonds by entering atom
symbols and maximum bond lengths in the Bond Editor.
1
Choose the Edit > Bonding command. The Bond Editor appears.
3 We require AlO bonds, so choose Al from the From popup menu, and O
from the To popup menu.
We could type in minimum and maximum bond lengths for AlO bonds,
but instead well ask CrystalMaker to choose sensible values, based on
existing atom data built into the program. (CrystalMaker automatically
calculates maximum bond distances as 1.15 (rA + rB) where rA and rB are
the radii of the from and to atoms.)
The maximum bond distance should be displayed in the Bmax field and the
resulting coordination environments encompassed by this bond specification
and indicated on the right-hand side, i.e.,
This summary will be useful when you need to refine bond specifications for
new structures: you can experiment with min/max bond distances without
having to constantly replot your structure.
4 Repeat steps 23, but requesting MgO bonds. When you have finished,
the window should resemble the one shown below:
The Bond Editor, showing AlO and
MgO bond specifications
5 Click the OK button to replot your structure with bonds. Your structure
should now resemble the one shown in the next section.
Missing Bonds? Notice that for this, single-cell view, not all atoms appear to be fully bonded. The
missing bonds are to atoms that lie outside the current plot range, and which are therefore hidden. We shall investigate ways of fixing this in Section B!
12
Adding Notes
You can use the Notes pane in the Graphics window to store information
about the structure. You can use the contextual menu in this pane to set
colours, font sizes and other text attributes.
1 If the Notes pane is not visible, use the Window> Sidebar > Notes
command to display it.
2
Click inside the Notes pane so that the insertion point becomes visible.
Use the Edit > Select All command to select all of the text.
Change the font. If you are using a Mac, you can use the Font Panel (Edit
> Font > Show Fonts); Windows users will need to right-click to display a
contextual menu and choose the Font command.
6 Select part of your text, then change its size, style and colour, using the
contextual menu.
A Graphics window showing
one unit cell of the spinel
structure. Notice the Sidebar,
with formatted text in the
Notes pane on lower right
13
Getting Help
CrystalMaker includes a highly comprehensive and searchable online help
system. This can be accessed:-
On the Mac, help topics are displayed in the standard Help Viewer
application and you can search for additional topics by typing keywords or
phrases in that applications Search field.
The Windows version of CrystalMaker uses a similar help viewer, which
appears as a floating palette window.
Tooltips are available for buttons in the Tools palette and some window
controls.
14
Displaying a Crystal
Click the windows zoom box (Mac) or its maximize button (Windows).
Choose the Window > Set Plot Size command and enter an explicit size for
the Graphics pane.
Click and drag the windows resize box or its frame edge.
Use the Tools palettes window size buttons
to toggle between
standard and full screen modes. The full screen mode provides
maximum plot area, and is good if you want to present your structure,
or show an animated sequence of structures or views. In this mode,
unnecessary clutter is hidden (move the mouse to the top or bottom of
the screen to show the menubar or the dock/taskbar).
15
2 The first text field is for xmin: the minimum x fractional coordinate for
atoms to be plotted. Type 0.1 in this box.
3 Press the tab key to move to the next field (xmax). This represents the
maximum x fractional coordinate for atoms to be plotted. Type 1.1 in this
box.
Expand Range: A quick way to
expand the plot range along all
axes is simply to click the Expand
button.
16
4 Apply the same range (0.1 to +1.1) for the y and z axes, pressing tab to
move between fields.
Click the Apply button to replot your model with extra atoms and bonds.
You can now close the Plot Range window.
5
Background Presets: The Background Inspector includes a number of preset colour and gradient
themes that you can immediately
apply to your structure.
3 Locate the Fill Pattern group, ensure that Plain Background is specified (as
shown above) and click the Colour button.
17
Rotate Tool
1 Ensure that the Rotate tool is active by clicking its tool button
left-hand corner of the Tools palette).
(top
Move the mouse pointer over your structure. If the window is active, then
the cursor changes to an open hand: this indicates that interactive rotation is
possible.
2
Click and hold the mouse button down. Drag the mouse down the
screen so that the crystal rotates.
3
Rotation Pad
r
Z-
ot
at
ion
Toggle Z-Rotation: You can switch
from XY to Z rotation (and vice versa), without releasing the mouse
button: just hold down, or release
the shift key on your keyboard and
continue moving the mouse.
18
Hold down the shift key then drag the mouse around the edge of the
window, in a clockwise or anti-clockwise path.
19
Z X +Z
+Y
+Z +X Z
9
6
Click one of the +Z buttons in the rotator pad (or press 1 or 9 on your
numeric keypad). The crystal rotates about an axis out of the screen.
3
20
Let us view the spinel structure down the [111] lattice vector:
1 Choose Transform > Set View Direction to display the View Direction sheet
(Mac) or dialog (Windows).
Set View Direction window.
A [111] lattice vector has
been entered as the new view
direction
Click OK to continue.
The window vanishes and the crystal is replottedviewed along the [111]
lattice vector.
Preset View Directions: A faster way to set the view direction is to use the Presets popup, which
you can display by clicking its popup menu button, on the right-hand side of the three text fields.
Alternatively, you could use the View direction popup menu button in the Window toolbar.
21
For each plot type, you can also choose whether to display:
Experiment with different plot types by selecting their names from the
Model menu.
(Note that the Thermal Ellipsoid item cannot be selected, because we have
not specified the requisite dataatomic displacement parametersfor this
structure.)
22
Atom Styles
We shall now investigate the range of atom styles available.
1
A list of all the sites in the asymmetric unit is shown, grouped by element.
You can open or close the element groups, to show individual sites. For each
element and site row the corresponding atom sphere, thermal ellipsoid and
polyhedral styles are previewed.
You can change a style by clicking it and selecting a new style from a popup
menu.
4 Experiment with different atom styles for each site. The structure is
automatically replotted each time.
23
Bond Styles
We shall now select different bond styles for different bond types. We have
a choice of photo-realistically rendered cylinders, plainer colour- or patternfilled cylinders, or various line styles.
1 Switch to the Bonds Inspector by clicking the Bonds button (
Model Inspectors button bar.
) in the
A list of bonds appears, including our new AlO and MgO bonds, and
showing their current bond styles and colours.
To edit the MgO bond style, click on its bond style icon and choose a
new style from the popup menu that appears.
2
24
Polyhedral Styles
We shall now emphasize the different Mg and Al sites in spinel by assigning
them different polyhedral styles.
1 Use the Model > Polyhedral command to replot your structure as a
polyhedral model.
Switch back to the Atoms Inspector by clicking the Atoms button in the
Model Inspectors button bar. Notice the scrolling list with icons for sphere,
ellipsoid and polyhedral styles.
3
Locate the Al element row. Click, and hold down the mouse button on
the polyhedron icon. A popup menu of different polyhedral styles appears.
4
6 Now click the Mg polyhedron icon and select the Plain Solid style from
the popup menu:
Choosing a new
polyhedral style
Spinel plotted as a
polyhedral model
7 Ensure that the Oxygen (O) polyhedral style is set to Blank: a red cross
should be shown.
You will now have a stylized polyhedral model with plain coloured Mg
tetrahedra and stripe-filled Al octahedra.
25
Site Browser
The Site Browser provides a key to the atoms in your plot. It lists all sites in
your structure, grouped by element type. You can change site and element
colours, apply labelling, or hide sites.
Changing an atoms colour:
1
Switch to a Ball & Stick model (Model > Ball & Stick).
2 If the Site Browser is not visible, make the window sidebar visible
(Window > Sidebar > Show Sidebar), then ensure that this contains the Site
Browser (Window > Sidebar > Site Browser).
3 Locate the Al element row, and click its colour button. The colour picker
appears, prompting you for a new element colour.
4 Choose a new colour from the colour picker and click its OK button to
continue. The crystal is replotted using your new colour.
To bring back the hidden atoms, click the O element Vis checkbox again.
The structure is replotted, with the oxygen atoms visible.
7
10
26
Tools Palette
CrystalMakers Tools palette comprises lots of different buttons, organized
by function, into various groups. Buttons for manipulation, selection and
measurement are located at the top of the palette, with screen size, scaling
and rotation buttons towards the bottom.
Organisation of
the Tools Palette
Manipulation
Selection
Measurement
Screen Size
Scaling
Rotation Pad
Rotation Mode
27
2 Locate an aluminium (Al) atom which has some bonds plotted. (You can
identify atoms by their colours, as listed in the Site Browser.)
3 Choose the Magnify tool
from the Tools palette. (If the Tools palette
isnt visible, choose Window> Palettes > Tools to make it visible.)
Reverse Zoom: You can zoom out
with the Magnify tool by holding
down the shift or option/alt keys as
you click.
Place the mouse pointer over an aluminium atom and click to zoom.
Continue zooming in on the aluminium atom until it, and its bonded
atoms just fill the Graphics window.
5
Move the mouse over the Al atom. The atom is highlighted, and after
a short delay, an Info Tip appears, displaying the site label, its chemical
occupancy (element type) and atom number.
2
Click inside the tip to expand it and reveal more detailed information.
Click the Site, Bonds and Angles buttons. You should see detailed data
printed in the Log pane of the Overview window (at the bottom of the
screen).
4
28
3 Move the mouse over other atoms in your structure. As you move, the
inter-atomic distances are displayed.
4 Click a second atom. The distance measurement is now locked and
data are printed in the Log pane of the Overview window. These include the
distance, plus the bond vector, as components of the a, b, and c axial vectors.
9 Click in the Graphics pane and release the mouse button. The clicked
point is marked with a cross.
10 Now move the mouse, keeping it within the Graphics pane. As the
mouse moves, a line is drawn connecting it to the first clicked point, with the
distance shown.
11 Click another point in the Graphics pane. The distance measurement is
now locked, and is printed to the Log.
29
Choose: Transform > Set Plane Properties. The Lattice Plane window
appears:
1
Notice that, by default, the lattice plane is shown centred, relative to the
crystal model. The Miller Indices of the lattice plane define its relative
orientation, not its absolute position. Well experiment with moving the lattice
plane through the structure in the next section.
Click in the Graphics pane, and drag with the mouse. The plane moves
forwards or backwards along its normal.
30
Choose Transform > Lattice Plane > Hide. The structure is replotted without
the lattice plane.
6
2 Enter the indices 111 in the Direction 1 fields, and specify that this is a
Plane Normal, using the radio buttons below. Direction 1 now represents the
normal to the (111) plane.
Enter the indices 0 0 1 in the Vector 2 fields and specify that this is a
Lattice Vector, using the radio buttons below. Direction 2 now represents the
[001] lattice vector. The angle between the two directions is displayed at the
bottom of the window.
3
Brush Up Your Crystallography: If you are unfamiliar with the (hkl) notation for lattice planes, or
the [UVW] notation for lattice vectors, these are described in Appendix D: Basic Crystallography of
the CrystalMaker Users Guide.
31
Hiding Atoms
Earlier in the tours you defined a plot range (Transform > Set Range) in
terms of fractional distances along the crystallographic axes. CrystalMakers
selection tools give you additional flexibility in modifying this initial plot
range, letting you carve out a precise chunk of crystal, or zap individual
atoms.
Hiding Groups of Atoms
The Arrow, Polygon and Lasso tools allow you to select different-shaped
regions in your structure.
1
Click in the Graphics pane and, with the mouse button still down, drag
over a number of atoms, defining a rectangle. Then release the mouse button.
2
The structure is replotted. All atoms within your rectangle now have yellow
or red haloes, indicating that they are selected.
Well now opt to hide all unselected atoms.
Choose the Selection > Hide > Unselected Atoms command. The structure
is replotted, showing just selected atoms.
3
Choose Selection > Show All to replot the structure with all the original
atoms.
4
7 Choose the Selection > Show All command to replot the structure with all
atoms shown (alternatively, if you have only zapped one atom, you can use
the Edit > Undo command).
32
Choose: Transform > Define Cluster. The Define Cluster window appears.
Select Al in the first list, followed by the corresponding site, Al(1) in the
second list.
3
4 We wish to display all atoms that lie within 2.5 of this site, so you
should ensure that the Inner Radius field is set to zero and the Outer Radius is
set to 2.5 , as shown below:
Defining a cluster around
an Al site.
33
Local Embellishments
We shall use our AlO6 cluster to experiment with individual atom and bond
styles.
1 Select the central Al atom, by clicking on it with the Arrow tool so it
appears highlighted.
Go to the Selection menu and locate the Atoms > Style sub-menu. Choose
a new style from this menu; the central Al atom will be redrawn with the
new atom style.
2
Using the method above, choose a new atom style for one of the oxygen
atoms in the cluster.
3
Well now change the appearance of the bond between your two custom
atoms:
4
Select the custom oxygen atom by clicking on it with the Arrow tool.
Hold down the shift key on your keyboard and click on the (custom)
central Al atom. Both the custom atoms should now be shown highlighted
(selected).
5
Choose the Selection > Bonds > Style command. The Bond Style dialog
appears, prompting you to choose a new bond style and colour.
6
7 Choose the dashed-line bond style from the popup menu, and use the
colour button to change the line colour to black.
8
Click the OK button to replot your structure with the custom bond style.
34
2 Use the dialog to specify a filename and location, then click the Save
button to continue. CrystalMaker generates a list of atoms and bonds, and
saves these to disc.
3 Try opening the file using a text editor program such as TextEdit (Mac)
or Notepad (Windows).
35
Locate your new web page and try opening it in your favourite web
browser.
4
36
Summary
Youve now reached the end of the CrystalMaker tutorial. Well done!
Youve seen how to build a crystal, from scratch; define bonding (and hence
coordination polyhedra), display an extended structure, and use selection
tools to isolate regions of interest. Youve explored different representations
of the structure, and found how to customize atomic radii and colours. You
measured interatomic distances and angles, and found out how to export
these data, in a Distances & Angles text file. Finally, you brought data and
graphics together, in the form of a web page.
Dynamic Visualization
Theres much more to CrystalMaker than just the nuts-and-bolts of building
structures. The program also features rapid visualization of raw data files,
with high-quality graphics and video, including the ability to create multistructure animations.
Animation is a great way to visualize relationships between structures,
transformation behaviour within the same structure, or for assessing the
trajectory (successive frames) of a computer simulation. Remember that
crystal and molecular structures are not dusty, static models: they are dynamic
systems in their own right, and your visualization software, CrystalMaker, is
equipped to show this
Learning Resources
For more detail on the various features that youve used, and to learn about
new features not discussed in this tutorial, please refer to the CrystalMakers
Users Guide (Help > CrystalMaker Users Guide). This is the definitive reference
to the program, and comes with an index, as well as being fully searchable
(try the Search command in your PDF reader).
For a quick, general reference, use Online Help (Help > CrystalMaker Help).
We have also provided some video guides to common workflows, which you
can access via the Help > Video Tours command, or directly, by visiting:
http://crystalmaker.com/crystalmaker/tours
37
CrystalMaker
S O F T W A R E
CrystalMaker Software Ltd
Centre for Innovation & Enterprise
Oxford University Begbroke Science Park
Woodstock Road, Begbroke, Oxfordshire, OX5 1PF, UK
1994 2016
22 Years of
Innovation
http://crystalmaker.com