some suggestions...
On Fri, Nov 12, 2010 at 5:41 AM, Matthew Saderholm <
matthew_saderh...@berea.edu> wrote:
> Greetings,
>
> I am sure that I am missing something, but I can't get a particular
> animation script to work. I want to do the following set of steps:
>
>
> 1. load the iconic DNA transcription factor structure (1d66)
> 2. rotate it to align the helix along the Z axis (in/out of screen)
> 3. color & spacefill the atoms by structure
> 4. turn on slab
> 5. translate the structure along the Z axis so that the front edge of the
> molecule is slowly clipped off, showing the spiraling DNA strands and bound
> protein.
>
> I can get my script to visually do everything but clip off the front. I
> thought that using a command like this would do the trick:
>
> reset; move 0 0 90 0 0 0 0 0 0.5; move 0 60 0 0 0 0 0 0 0.5; move 0 0 180 0
> 0 0 0 0 0.5;
> (rotates structure to line up on Z axis)
>
> select all; color chain; delay .1; wireframe 30; spacefill 30; delay .1;
> spacefill 50; delay .1; spacefill 75; delay .1; spacefill 100; delay .1;
> spacefill 125; delay .1; spacefill 150; delay .1; spacefill 175; delay .1;
> spacefill 200; delay .1; spacefill 225; delay .1; spacefill 250; delay .1;
> spacefill 275; delay .1; spacefill 300; delay .1; spacefill 325; delay .1;
> spacefill 350; delay .1; spacefill 375; delay .1; spacefill 400; delay .1;
> spacefill;
> (animates the structure to go up to spacefill from wireframe)
>
>
for (var i = 30; i <= 400; i+= 5) { spacefill @i; delay .1 }
lets you adjust it more easily
slab on; slab 100;
> (I think this is the correct setting)
>
> move 0 0 0 0 0 0 100 0 5
> (does not work, or at least I don't see any change)
>
The script as written works nicely up to when it is is supposed to slowly
> slice off the structure. I can manually slab through the molecule at this
> point, so I am pretty sure there should be a way to put this into a script.
> It sure seems like a simple Z translation is all that is called for, but I
> can't get a "move" or a "translate z" to make any difference. I hope I am
> just overlooking something obvious. If anyone can help figure out how, I'd
> appreciate it.
>
>
You might try just animating the slab:
for (var i = 100; i >= 0; i-=5) { slab @i; delay .1 }
Bob
Thanks,
>
> Matt
> --
> Matthew J. Saderholm
> Associate Professor of Chemistry
> Berea College,
> Berea, KY 40404
> 859-985-3322
>
>
>
>
>
> ------------------------------------------------------------------------------
> Centralized Desktop Delivery: Dell and VMware Reference Architecture
> Simplifying enterprise desktop deployment and management using
> Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
> client virtualization framework. Read more!
> http://p.sf.net/sfu/dell-eql-dev2dev
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107
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
------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users