Debian Codegraph @

doc/drawing.html

raw
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
5
6 <link rel="stylesheet" type="text/css" href="../ch5m3d.css" />
7
8 <title>CH5M3D</title>
9 </head>
10
11 <body >
12
13
14 <p class="QCHeader">
15 CH<sub>5</sub>M<sub>3D</sub>
16 </p>
17 <ul id="Toolbar">
18
19 <li><a href="../index.html">CH5M3D Home</a><ul>
20 </ul></li>
21
22 <li>Documentation<ul>
23 <li><a href="introduction.html">Introduction</a></li>
24 <li><a href="installation.html">Installation</a></li>
25 <li><a href="browser.html">Web Browsers</a></li>
26 <li><a href="view.html">User Interface</a></li>
27 <li><a href="keyboard.html">Keyboard/Mouse</a></li>
28 <li><a href="drawing.html">Drawing</a></li>
29 <li><a href="fileformat.html">File Format</a></li>
30 <li><a href="../documentation.pdf">PDF Manual</a></li>
31 </ul></li>
32 <li>Variations<ul>
33 <li><a href="description.html">Description</a></li>
34 <li><a href="../variations/serverView.html">Pre-Load</a></li>
35 <li><a href="../variations/chooser.html">Chooser</a></li>
36 <li><a href="../variations/gallery.html">Gallery</a></li>
37 <li><a href="../variations/viewer300.html">Viewer (only)</a></li>
38 <li><a href="../variations/viewer2x.html">View 2 Windows</a></li>
39 <li><a href="../variations/two.html">Two Windows</a></li>
40 <li><a href="../variations/api.html">Javascript</a></li>
41 <li><a href="../qchem/qchem.php">Quantum Interface</a></li>
42 </ul></li>
43 <li>Information<ul>
44 <li><a href="about.html">About</a></li>
45 <li><a href="http://sourceforge.net/projects/ch5m3d/">Project Homepage</a></li>
46 <li><a href="apidoc.html">Library API Info</a></li>
47 <li><a href="https://www.gnu.org/licenses/gpl.html">GNU License</a></li>
48 </ul></li>
49
50 </ul>
51
52
53 <h1>Drawing Molecules</h1>
54 <p class="indent">
55 In Draw Mode, you have the option of adding or deleting atoms and/or bonds to any structure shown in the
56 display window. The image below shows the buttons initially displayed when first entering Draw Mode.
57 </p>
58 <p class="center">
59 <img src="DrawButtons.png" width="234" height="406" alt="Draw Mode Buttons" />
60 </p>
61
62 <h3>Rotating the Entire Molecule</h3>
63 <p class="indent">
64 In draw mode, you can rotate the molecule in the same manner as performed in View mode by selecting a
65 blank portion of the screen and "dragging" the pointer.
66 </p>
67
68 <h3>Adding Atoms</h3>
69 <p class="indent">
70 Initially, a subset of the periodic table is shown, with Carbon highlighted. To add a methyl group to the
71 methane molecule shown, click on any of the hydrogen atoms. By default, the atom added is assumed to be
72 sp<sup>3</sup> hybridized. To add a CH<sub>2</sub> group, select
73 <input type='button' value="sp2" />
74 before clicking on an H.
75 </p>
76 <p class="indent">
77 In general, clicking on any atom will convert the atom into the selected element type shown on the
78 periodic table. If the selected atom has only one bond, the new atom is added with a reasonable value
79 for the bond length and the appropriate number of hydrogen atoms added. If the selected atom has two or
80 more bonds, it is replaced with the new atom type, but bond distances are not changed and additional
81 hydrogen atoms are not added.
82 </p>
83 <p class="indent">
84 Hydrogen is an exception to this pattern. If H is selected on the periodic table, clicking on any atom
85 will add a single H atom (it will not replace the atom with H).
86 </p>
87
88 <h3>Adding Metals</h3>
89 <p class="indent">
90 Initially, only a subset of the periodic table is shown, with main group elements (excluding the noble gases)
91 displayed. To add any of the remaining elements, select the <strong>Metals</strong> link above Oxygen/Fluorine.
92 To revert back to showing only main group elements, select the <strong>Organic</strong> link.
93
94 <h3>Deleting Atoms</h3>
95 <p class="indent">
96 To delete an atom, select the
97 <input type='button' value="Delete Atom" />
98 button, then click on the atom to be removed. This atom and any hydrogen atoms attached to this atom
99 should be removed.
100 </p>
101
102 <h3>Adding Bonds</h3>
103 <p class="indent">
104 To add a bond, place the pointer on the first atom and press down (but do not release). Drag the pointer
105 to the second atom, then release the mouse. A bond should be shown connecting these atoms. Note that when
106 adding bonds, the number of bonded atoms increases, so it may be necessary to delete one or more atoms.
107 </p>
108
109 <h3>Removing Bonds</h3>
110 <p class="indent">
111 Deleting bonds is done in a similar manner. Select
112 <input type='button' value="Delete Bond" />,
113 then place the pointer on the first atom and press down (but do not release). Drag the pointer
114 to the second atom, then release the mouse. The bond connecting these atoms should be removed.
115 </p>
116
117 <h3>Rotating Around a Bond</h3>
118 <p class="indent">
119 It is also possible to rotate around bonds. To do this, first press the
120 <input type='button' value="Rotate Bond" />
121 button. Then move the mouse pointer over the first atom, press and hold the mouse button, "drag" to
122 the second bonded atom and release the mouse button. (Note that if the atoms are not bonded, rotation
123 will not behave as expected). A new view of the molecule will be displayed with the molecule oriented
124 so that you are looking "down" the selected bond. The second atom selected will be in front, eclipsing
125 the first atom selected.
126 </p>
127 <p class="indent">
128 To rotate around this bond, use the mouse pointer to select a blank portion of the drawing window and
129 "drag" the pointer while holding the mouse button down. To get out of bond rotation mode, press the
130 <input type='button' value="Rotate Bond" />,
131 which should change color to indicate that it is no longer active.
132 </p>
133
134 <h3>Undo</h3>
135 <p class="indent">
136 When significant changes are made to the molecule (atoms added, atoms deleted, rotation about bonds, etc.),
137 the molecular coordinates are saved. Currently, ten sets of saved coordinates are saved. Pressing the
138 <input type='button' value="Undo" />
139 button restores the most recent set of coordinates. This may be repeated up to the the limit of saved
140 sets of coordinates. There is also a
141 <input type='button' value="Redo" />
142 button, that reverses the effects of the <strong>Undo</strong>.
143 </p>
144
145 <h3>Structure Optimization</h3>
146 <p class="indent">
147 At the bottom of the Draw mode window is an
148 <input type='button' value="Optimize Structure" />
149 button. This button will cause a crude geometry optimization to be performed. It is not necessary to use
150 this, but it can be useful when significant changes have occurred. This is most common when H atoms have
151 been added or when bonds have been added or removed. At this point, the optimization routine is very crude,
152 and it may be necessary to optimize a structure multiple times before a reasonable structure is obtained.
153 </p>
154
155
156 <div class="Footer" id="Footer">
157 The chem3d.js library copyright © 2013 by Clarke Earley<br />
158 and is distributed under the terms of the
159 <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>.
160 </div>
161
162 </body>
163 </html>