User:Angel Herraez/Sandbox Advanced Scenes
From Proteopedia
How to import Jmol renderings prepared outside Proteopedia into a scene
(For advanced users that are proficient in Jmol scripting out of Proteopedia)
If you have prepared a complex visualisation in the Jmol application (or copied it from some webpage, with permission from its author) and want to incorporate it in a Proteopediia scene, this is the way:
- Make a note of the PDB ID involved
- Prepare the model with the rendering you like
- From Jmol pup-up menu, choose
File > Save > Save script with state
--or in the console, typeshow state
and copy all the output. - In your Proteopedia page, open the SAT and create a new scene
- Load the file by its PDB ID (this will load it from the copy at Proteopedia and prevents subsequent errors in properly handling the scene)
- Open the Jmol Script Console (via the pop-up menu in the JSmol within the SAT)
- Paste the full state script that you obtained in step #3
- Save your scene, paste its code into the page as usual, then close the SAT and test the green link in your page