Karl, this is great! Congratulations. I'm delighted the connect command
is working so well for you.
Suggestion to compact it a bit:
1) you don't need "1.0" unless you really think there are connections
shorter than that that you DON'T want to bond.
2) You no longer need to select, but if you use it, you don't have to
specify it over and over. The following should work:
select *;
connect 2.7 (oxygen) ;
connect 3.0 (fluorine) ;
connect 2.9 (bromine);
connect 3.0 (iodine);
connect 3.3 (sulfur or selenium) ;
connect 2.9 (sodium) (chlorine);
connect 3.8 (caesium) (chlorine);
(if that wasn't in 10.00.48, it's in
3) putting those radio buttons in a select box would be friendier! :)
4) for polyhedra, I'd select one or the other of the elements such as Na
or Cl, but not both. That way they won't overlap. One possibility would
be to select all the anions prior to the polyhedrons command:
select chlorine or fluorine or .....
polyhedra bonds
5) for fun, I just modified the polyhedra command so that it allows you
to specify the number of bonds to allow. so if you say
polyhedra bonds 6
then ONLY octahedra will show. Does that sound useful?
Something else that might be useful: since connect can dynamically
change the bonding, you can now connect some atoms, create polyhedra,
unconnect them, connect others, make new polyhedra, etc.
If you find that aspects of the polyhedra command need improvement,
please do ask. I'm VERY interested in this.
Bob Hanson