This - taken from the Jmol wiki - does work under RC26, but not with RC28
for (var i=0; i<240; i=i+1)
write image 200 200 @{"movie" + ("0000" + i)[-3][0] + ".gif"}
/* 200 and 200 are width and height */
rotate axisangle {1 0 0} 1.5
/* axis is defined by X Y Z lengths between braces; this one is at
45 degrees
and 3 (degrees) is angle of rotation, so the 120-loop gives a
full turn
*/
end for
Erreur du compilateur de script: ) attendu
----line 29 command 25 of yml72.jmol:
write image 200 200 @{"movie" + ("0000" + i)[-3][0] + ".gif"} <<<<
Scipt compiler error: ) expected. Where and why not in RC26?
This is what precedes the for-loop:
**************
load yml72i1pf_11.cif
unitcell off
axes off
select *
center selected
color background [xD2DFEF]
ellipsoid ON
set ellipsoidAxes True
set ellipsoidaxisdiameter 0.05
set ellipsoidArcs True
set ellipsoidfill
spacefill adpmin 50%
ellipsoid 50%
select H*
spacefill adpmin 10%
ellipsoid 10%
select *
connect (C6) (O1) delete
connect (C2) (C3) gray translucent
rotate z -133.47
rotate y 69.07
rotate z 139.66
zoom 140
**************
Arie
Robert Hanson wrote the following on 25/07/2010 07:11:
> Looks like RC27 is a loss. Here's RC28:
>
> http://chemapps.stolaf.edu/jmol/docs/examples-11/Jmol-11.zip
>
>
> version=12.0.RC28
>
> # bug fix: DATA statement broken
> # bug fix: Jmol Model Kit broken
> # bug fix: PROMPT command need not require @{...}
> # bug fix: a = {} needs to default to ({}) (empty bitset) but also
> serve as basis for associative array
> # bug fix: alternative select @b[a] instead of @{b[a]}
> # bug fix: allowance for ranges for associative array elements:
> b["test"][1][3]
>
> --
> 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 Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
--
***************************************************************************
A. van der Lee
Institut Européen des Membranes
CNRS - UMR 5635
Université de Montpellier II - Case Courrier 047
Place E. Bataillon
34095 MONTPELLIER Cedex 5 - FRANCE
Tel : 33 (0) 4 67 14 91 35
Fax : 33 (0) 4 67 14 91 19
Website X-ray scattering facility ICG/IEM:
http://www.iemm.univ-montp2.fr/xrayweb/main_uk.html
****************************************************************************
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users