Molecular drawing 
The Free drawing constructor of Ascalaph 
can be accessed via the  Build > 
Free drawing  menu or toolbar button 
 .  
  
Edit mode works even if Free drawing panel is not active (overlapped by other panel). 
If Free drawing panel is closed then edit mode turns off. 
Hold Shift+Ctrl key combination during editing operations.
Clicking on empty space  creates a new atom. Clicking on 
an atom changes the element. Bonds can be dragged from atoms. 
If the button is released near a different atom, the bond is connected to it. 
Clicking on the bond sets its order. 
It is  recommended to start molecular drawing from a Kernel formula rather 
than from scratch.  Doing so sets of the model scale, which can  be beneficial 
for its optimization later. 
In the  standard mode, the current charge and elements correspond to those 
specified on  the panel. In the Clone mode, after dragging a bond 
from an atom, the new atom  has the same charge, element, and molecular 
mechanics type. This mode is  convenient to draw a molecule composed 
of numerous atoms of the same type. 
Let us draw  perfluoroalkane as an example. Assume we want CT type 
carbon atoms, F type  fluorine atoms, and -0.1 charge. 
The atom model is to be saved in hin format. 
Select  methane as a primer by clicking the 
  button in the Kernel box.
 
  
Click on hydrogen (while holding Shift+Ctrl) to convert it to carbon. 
  
Save the model as C8F18.hin.
 
forcefield amber94
sys 0
mol 1
atom 1 - C ** - -0.64  0         0         0        4 2 s 3 s 4 s 5 s
atom 2 - C ** -  0     1.08621   0         0        1 1 s
atom 3 - H ** -  0.16 -0.362068 -0.886883  0.512042 1 1 s
atom 4 - H ** -  0.16 -0.362068  0        -1.02408  1 1 s
atom 5 - H ** -  0.16 -0.362068  0.886883  0.512042 1 1 s
endmol 1
 
Specify the  desired elements, types, and charges: 
forcefield amber94
sys 0
mol 1
atom 1 - C CT -  0.3   0         0         0        4 2 s 3 s 4 s 5 s
atom 2 - C CT -  0.2   1.08621   0         0        1 1 s
atom 3 - F F  - -0.1  -0.362068 -0.886883  0.512042 1 1 s
atom 4 - F F  - -0.1  -0.362068  0        -1.02408  1 1 s
atom 5 - F F  - -0.1  -0.362068  0.886883  0.512042 1 1 s
endmol 1
 
and reopen  the file. 
  
Set the F element and -0.1 charge on the panel. 
Activate the Clone mode  and drag a chain of desired length. 
  
Deactivate the Clone mode and press the Add hydrogen button.
 
  
Now click  on all hydrogen atoms to convert them to fluorine. We could mouse 
drag fluorine  atoms from carbon atoms; however, the resulting geometry will 
be inaccurate  and hard to optimize. 
  
Set to the carbon element and +0.30 charge on the panel and click on the 
terminal carbon atom to correct its charge. The resulting model has -0.1 
charge on the fluorine atom, +0.2 on the -CF2 carbon, and +0.3 
on -CF3 terminal carbon atoms. Request the model information 
to make sure it was correctly made (Analyse > Information).
 
  
The  model has correct molecular formula and zero total charge. 
 
The atom model can be optimized to provide for a sensible geometry.
Preliminary optimization can be carried out in a crude force field. 
The crude force field that requires no molecular mechanics type assignment
to atoms mode can be switched on by checking the Ad hoc option in the 
Compute menu. Open the optimization panel in the
Computå > Optimize menu and press the Run button
 . 
Optimizer eliminates considerable overlaps of atoms and sets reasonable bond
lengths. After crude optimization, the geometry should be further refined, 
e.g., using semiempirical quantum mechanics. 
 
Open the Quantum mechanics  panel (toolbar button 
 ), select the OPTIMIZE task 
(upper left button), and  select the semiempirical calculation 
(PM3 basis) in the Assemble section. Start  the optimization 
by pressing the Run button to have a model with a good  geometry 
in several minutes. 
  
Save the  model. Since the fluorine atoms were not cloned, their molecular 
mechanics type  was not specified, which should be done by editing the file. 
Other types and  partial charges on atoms were specified correctly. 
This  example demonstrates that the Free drawing constructor allows rapid 
drawing of  molecules. However, it is not completely automatic and care should 
be taken to correctly specify the types and charges on atoms as well as bond 
orders. 
                 |