I can't reproduce your error. Draw PLANE PERP works fine for me. Please
send the pngj file from

write toBob.pngj



On Fri, Oct 5, 2012 at 4:37 AM, Rolf Huehne <[email protected]> wrote:

> On 10/04/2012 07:10 PM, Robert Hanson wrote:
> > On Thu, Oct 4, 2012 at 9:07 AM, Rolf Huehne <[email protected]>
> 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
> >
> That might be part of the problem, but the draw command executed before
> 'offset1' is calculated also doesn't show anything ("draw boundary_2_B
> PLANE PERP 100 (52:B.CA/1) (54:B.CA/1);"). And since the result is used
> to build the actual plane needed, still nothing is drawn.
>
> Jmol 11.6.8 still works as before after applying the proposed changes.
>
> Regards,
> Rolf
>
> --
>
> Rolf Huehne
> Postdoc
>
> Leibniz Institute for Age Research - Fritz Lipmann Institute (FLI)
> Beutenbergstrasse 11
> 07745 Jena, Germany
>
> Phone:   +49 3641 65 6205
> Fax:     +49 3641 65 6210
> E-Mail:  [email protected]
> Website: http://www.fli-leibniz.de
>
>            Scientific Director: Prof. Dr. K. Lenhard Rudolph
>         Head of Administration: Dr. Daniele Barthel
> Chairman of Board of Trustees: Dennys Klein
>
> VAT No: DE 153 925 464
> Register of Associations: No. 296, Amtsgericht Jena
> Tax Number: 162/141/08228
>
>
>
> ------------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>



-- 
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to