It's just that the command is "axes" not "axis"
Francois, I'm starting to see where having atom types in more than mol2
files is of interest. You posted something about that.
Where are these cml files coming from? Peter can tell us what the story is
on adding something like atom type to the cml specification. Can you send us
one of these CML files to look at?
Bob
On Fri, Oct 31, 2008 at 4:33 PM, FyD <[EMAIL PROTECTED]> wrote:
> Dear All,
>
> I use Jmol 11.6.1. under fedora linux 32-bits with Opera 9.61.
>
> If I use the following script, the corresponding loop works fine:
>
> jmolApplet(200, "load ./DMSO1.cml; set echo top left;color echo
> black;font echo 10 serif bold;echo Atomic charges;select all;label
> %-8.3P;font label 10 serif bold;zoom 120; spin on; delay 5; load
> ./DMSO2.cml; set echo top left;color echo black;font echo 10 serif
> bold;echo Force field atom types;select all;label %B;font label 10
> serif bold;zoom 120; spin on; delay 5; load ./DMSO3.cml; set echo top
> left;color echo black;font echo 10 serif bold;echo Atom names;select
> all;label %a;font label 10 serif bold;zoom 120; spin on; delay 5; loop
> 1")
>
Interesting loop -- this is perhaps a bit cleaner:
load caffeine.xyz
message _loop
set echo top left
color echo black
font echo 10 serif bold
echo Atomic charges
select all
label %-8.3P
font label 10 serif bold
zoom 120
spin on
delay 5
set echo top left
color echo black
font echo 10 serif bold
echo Force field atom types
select all
label %B
font label 10 serif bold
zoom 120
spin on
delay 5
set echo top left
color echo black
font echo 10 serif bold
echo Atom names
select all
label %a
font label 10 serif bold
zoom 120
spin on
delay 5
goto _loop
>
> If I add 3 times the "axis 0.01" command in the loop, the loop does
> not start/work:
>
> jmolApplet(200, "load ./DMSO1.cml; axis 0.01; set echo top left;color
> echo black;font echo 10 serif bold;echo Atomic charges;select
> all;label %-8.3P;font label 10 serif bold;zoom 120; spin on; delay 5;
> load ./DMSO2.cml; axis 0.01; set echo top left;color echo black;font
> echo 10 serif bold;echo Force field atom types;select all;label
> %B;font label 10 serif bold;zoom 120; spin on; delay 5; load
> ./DMSO3.cml; axis 0.01; set echo top left;color echo black;font echo
> 10 serif bold;echo Atom names;select all;label %a;font label 10 serif
> bold;zoom 120; spin on; delay 5; loop 1")
>
> Same problem with adding 3 times "isosurface molecular map MEP; color
> isosurface translucent;"
>
> On the contrary, with "boundbox", the loop works fine.
>
> Any idea why ?
>
> Thanks, regards, Francois
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users