Bob, Thanks, I figured the zoom problem people said was fixed in 10.9.85 was what I was writing about, and indeed it is. My old scripts worked fine in that regard now. I assumed the spin problem might be related to zoom/move stuff, but with 10.9.85 I still saw the same problems. And I now think, unlike the zoom stuff, my spin problem here is more of a 'user' problem due to the difference between 10.2 and 10.9.83/5. I had left in a rotate command to try and get the molecule arranged the orientation I wanted it at the start and it ends with 'rotate x -90' which I now see must trigger 10.983/5 to spin in the x direction when a 'spin on' command is next used. Apparently 10.2 still kept going with y direction as the default for a 'spin on' command? All is well now.
An script: var presclearSpt = "wireframe off; spacefill off;\ cartoon off; rocket off; trace off; backbone off;\ model 1;\ rotate z -97;rotate y -5;rotate x -90;\ translate x 3;zoom 110;\ center all;\n"; var rnaandproteinscript = "select all;" + presclearSpt + "select protein,nucleic;\ cartoon;\ select protein;\ color cartoon [Xcbbe8a];\ select nucleic;\ color cartoon [Xfd0162];\ spin on;\n"; Thanks, Wayne --------------------------------------------------------------- > I had to revamp all the spin and zoom commands when I converted from 10.2 > to 10.9.83. > a. For some reasons the spin would go into spinning in a different > orientation (x it seemed) in a second script in 10.9.83 when it had been > spining in the y correctly in the first script. In 10.2 both spun in y > direction like I had written things. To get around this I had to add > 'spin y 7' in front of each 'spin on' command to get it to snap back to > spinning in a consistent manner. Please send script/molecule examples. It is true that spinning is done somewhat differently in 10.9.83 spin on #by default rotates in y direction spin off #terminates spinning set spin x 20 set spin y 10 spin on these all still work as in 10.2 in my hands. What is different is that when a new model is loaded, spin is turned OFF. I'm not aware of any other changes. But there are still some oddities with this "set spin x|y|z" business. For example, the settings stay set and there is no way to get back to the defaults except by reloading the page/restarting the application. This is the way it was in 10.2 and still is. Mostly I recommend not using "set spin" and instead using spin x deg spin y deg spin z deg which are more predictable. But you tell me precisely what 10.9.83 is doing wrong, and I'll take a look. > > b. The 'move' command seems super sensitive in 10.9.83 now when zomming in > or out. I had to reduce the degree of zoom about 10 fold when converting > between 10.2 and 10.9.83. That's a bug in 10.9.83. Thanks for spotting this; sorry if you now have to change those moves back. It's fixed for 10.9.85. I should have caught this; I always use moveTo instead of move, and it goes through a different routine. Very sorry! Bob ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Jmol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-developers
