On Thu, Oct 4, 2012 at 9:07 AM, Rolf Huehne <rhue...@fli-leibniz.de> wrote:
> Hi Jmol users,
>
>
> ------- Example script ----------------
> ca2 = {26:B.CA/1}.xyz + {26:B.CA/1}.xyz - {27:B.CA/1}.xyz;
> draw boundary_1_B PLANE PERP 180 @ca2 (26:B.CA/1) translucent 0.2 red;
>
> draw boundary_2_B PLANE PERP 100 (52:B.CA/1) (54:B.CA/1);
> offset1 = $boundary_2_B - {53:B.CA/1}.xyz;
> point1 = $boundary_2_B[1] - @offset1;
>
Oh, I think this is your problem. Take out the "@"
You are saying, "subtract the value of the variable *whose name* is in
variable offset1." It's an indirect reference.
This was an early bug in Jmol that was fixed along the way. You want:
point1 = $boundary_2_B[1] - offset1;
That will work in all versions of Jmol, including your original.
Bob
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
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
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users