It would be a courtesy to Windows users to put up a ZIP file in addition
to tar.gz. Is this too difficult?
I know -- go get an application that can read tar.gz files. Nonetheless,
why the hassle for Windows users, probably our biggest user set?
Bob Hanson
Miguel wrote:
Jmol prerelease 10.00.47 is now availble for download from:
http://www.jmol.org/files
This release includes script language extentions that give one control
over bonds between atoms.
Note that this is the first prerelease that includes these extensions.
Therefore, users are encouraged to look for problems with these commands.
Also, be aware that these commands are subject to change ... based upon
feedback from the user community.
Bond selections
---------------
There is no new functionality in the area of bond selections ... but a
reminder on the mechanism is in order.
There is no explicit command for selecting bonds. Rather, bonds are
implicitly selected based upon the atom selections.
There is an underlying 'bondmode' variable that can be set to AND or OR.
The default is AND.
When the bondmode is set to AND a bond is considered selected only if both
the atoms that it connects are selected.
When the bondmode is set to OR then a bond is considered selected if
either atom is selected.
One generally selects a subset of bonds in order to set the size and/or
color of the selected bonds.
With these new extenstions, on can set bond order. Alternatively, one can
delete unwanted bonds.
Bond order
----------
Bond order for specific bonds can now be specified through scripts. The
following are now valid:
wireframe single;
wireframe double;
wireframe triple;
wireframe aromatic;
wireframe hbond;
Deleting bonds
--------------
Selected bonds can now be deleted through the command:
wireframe delete
Recalculating connectivity
--------------------------
RasMol/Chime contains a mechanism to recalculate the 'autobonding'.
connect on;
connect off;
When this command is executed, any underlying connectivity information is
thrown away and the connectivity is recalculated using 'autobond'.
The RasMol documentation states that the boolean value determines whether
a 'fast' or 'slow' algorithm is used.
For backwards compatibility with RasMol/Chime, Jmol now implements this
command. The value of the boolean argument is not used ... Jmol always
uses the same algorithm.
Adding new bonds
----------------
I have added the ability to create new bonds through script commands.
Because the 'connect' command already existed I decided to implement this
as an extension of the current 'connect' command.
The general syntax is:
select <sourceAtomSet>;
connect {<maxDistance>} (<targetAtomSet>);
The idea is that you select a source set of atoms. Atoms in the source set
are connected with every atom in the target set that falls within the
optional maxDistance Angstroms from the source.
If maxDistance is not specified then the distance is essentially infinite
... 1 meter ;-)
Atoms will not be connected with themselves.
If an atom in the source set is already bonded to an atom in the target
set then no change is made to the exis
If no bond is made between a source atom and a target atom then a new
single-order bond is created between the two atoms.
No atom will be connected with itself.
Note that it is easy to turn your molecule into a highly-connected-graph.
Note that the target atom set must be contained within parentheses.
Some examples:
# various ways to link atom #1 with atom#2
select atomno=1; connect (atomno=2);
select atomno=1,atomno=2; connect (selected);
# connect all carbons with hydrogens that are within 1.5 angstroms
select carbon; connect 1.5 (hydrogen);
# connect every atom with every other atom;
select all; connect (all);
# connect every atom with every other atom that is within 5 angstroms;
select all; connect 5 (all);
Please play with this and let me know what you think.
Miguel
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users