From: Mauricio C. T. <tr...@sc...> - 2008-03-11 23:44:08
|
BEAUTIFUL!! you're the man & Jmol ROCKS BTW, I was also wondering the same as Lin Yi asked this morning, it's a shame it can not be done. Now that I have my duplicates, I would like to have a way to remove them, not just hide them... Just out of curiosity, can we expect this (unload/delete an specific model) on a future release of Jmol? Thanks again! Mauricio, you are just missing the keyword MOLECULAR on that > rotateSelected command. Without that, Jmol is using the window > coordinates, not the molecular coordinates. Sorry if that's not clear > from the documentation. > > Bob > > Mauricio Carrillo Tripp wrote: > > > > > sorry Bob, I just tried both 11.5.14 and 11.4.RC10 > > and still get the same odd behavior. > > Could it be something else in the script? > > thanks again for your help... > > > > > > this is fixed for 11.5.14 and 11.4.RC10. > > > > Mauricio Carrillo Tripp wrote: > > > > > 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 > > < > http://viperdb.scripps.edu/info_page_big_jmol.php?VDB=1dnv&tnumber=1> > > > > > < > http://viperdb.scripps.edu/info_page_big_jmol.php?VDB=1dnv&tnumber=1 > > < > 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 / | tr...@sc... 0 | http://www.scripps.edu/~trippm <http://www.scripps.edu/%7Etrippm> ** Aut tace aut loquere meliora silentio ** |