# BEGIN initial-view.spt #console on #set debugscript # RENDER AND COLOR INITIAL VIEW. # Remove these commands if you are using your own custom script. reset restrict none select protein or hem spacefill color chain select ligand color cpk # OPTIONALLY, HAVE MOLECULE ROTATE AND ZOOM INTO VIEW # These 3 lines prepare the molecule to roll and zoom into view. # Remove the # (comment) marks to activate these commands. rotate y -90 zoom 15 delay 0.3 # Now, use "show orientation" to generate a "moveto" command, and copy it here for the final orientation and zoom. moveto /* time, axisAngle */ 1.0 { 63 592 -803 168.4} \ /* zoom, translation */ 100.0 0.0 0.0 /* \ center, rotationRadius */ {10.878 13.011 40.310497} 39.9; # After the moveto, pause for a moment before spinning may start. delay 0.3 # ECHO "CLICK AND DRAG TO ROTATE MOLECULE" message echo-drag2rotate # END initial-view.spt.