# 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 select all cartoon color chain select ligand color cpk spacefill # 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 */ 2.0 ... # 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.