Molecular Playground/Procedures: Difference between revisions
From Proteopedia
Jump to navigationJump to search
Eric Martz (talk | contribs) |
Eric Martz (talk | contribs) |
||
| Line 55: | Line 55: | ||
'''Display the state script: ''' Display your scene in Proteopedia. Toggle spinning OFF. Orient the molecule as you would like it to first appear, by rotating it with the mouse. Click on "Jmol" (or right click) to open Jmol's menu, and select Show, Current state. | '''Display the state script: ''' Display your scene in Proteopedia. Toggle spinning OFF. Orient the molecule as you would like it to first appear, by rotating it with the mouse. Click on "Jmol" (or right click) to open Jmol's menu, and select Show, Current state. | ||
</li><li><!-- sublist --> | </li><li><!-- sublist --> | ||
'''Save the state script into a file:''' Block select the entire state script in the upper frame of the Jmol Script Console window. (On Macs, | '''Save the state script into a file:''' Block select the entire state script in the upper frame of the Jmol Script Console window. (On '''Macs, use Ctrl-C''' instead of Cmd-C!.) Copy the entire state script into a text editing program. (On '''Macs, use Ctrl-V''' instead of Cmd-V!.) Save the state script into a file named e.g. yourMolecule_state.spt in the yourMolecule folder. The file type '''.spt''' signifies that this is a Jmol script. Be sure to save it as '''[[Help:Plain text editors|plain text]]'''. | ||
</li><li><!-- sublist --> | </li><li><!-- sublist --> | ||
'''Disable the ''load'' command:''' Put a hash sign (#) before the load command in the state script. You will find this command at the end of the second block of commands, namely, at the end of the block that begins "function _setFileState() {". Prefixing "#" comments it out, disabling it. The result should look something like this: | '''Disable the ''load'' command:''' Put a hash sign (#) before the load command in the state script. You will find this command at the end of the second block of commands, namely, at the end of the block that begins "function _setFileState() {". Prefixing "#" comments it out, disabling it. The result should look something like this: | ||