Hi all,

Bob, your suggestion was right on, exactly what I needed.
The duplicates are working fine, however, I'm having
trouble when rotating them. I'm using the rotateSelected
command with the AXISANGLE option, and although
the duplicate is the only one that rotates, it does so
around what it seems to be a different axis than the
one that is defined. I tried setting the center to the origin
but that didn't help. I know the rotation axis is correct
(I'm drawing it). Most likely I'm missing something, but
I don't know what else to try.

Here's what I'm doing:

select :A.Ca/2.1;
x = data("selected","pdb");
DATA "append @x";
frame all;display 1.1,2.1,3.1;refresh;
centerAt ABSOLUTE {0.0,0.0,0.0};
select */3.1;
draw five_fold_01 ARROW 110 DIAMETER 1 {0.0,0.0,0.0} {0.0,70.0,113.4};
rotateSelected AXISANGLE {0.0,70.0,113.4} 72.0;
trace 0.5;

To see it in action:
http://viperdb.scripps.edu/info_page_big_jmol.php?VDB=1dnv&tnumber=1

after the model loads, clicking on the "exp" checkbox will
run the script above. If you zoom out and rotate with the mouse,
you'll see what I mean; the original model in blue, the duplicate
in gray and the axis in orange. The duplicate should be rotating
72 degrees around the defined axis (right?), but instead it seems
to be doing it "in place".

Thanks for your help.

-- 
        0     |  Mauricio Carrillo Tripp, PhD
     /         |     Department of Molecular Biology, TPC6
 0            |     The Scripps Research Institute
     \         |     10550 North Torrey Pines Road
        0     |     La Jolla, California 92037
     /         |     [EMAIL PROTECTED]
 0            |  http://www.scripps.edu/~trippm

** Aut tace aut loquere meliora silentio **
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to