This old version of Proteopedia is provided for student assignments while the new version is undergoing repairs. Content and edits done in this old version of Proteopedia after March 1, 2026 will eventually be lost when it is retired in about June of 2026.


Apply for new accounts at the new Proteopedia. Your logins will work in both the old and new versions.


User:Jaime Prilusky/Test/saveScene

From Proteopedia

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
-
<StructureSection load='' size='340' side='right' caption='' scene='91/918478/1pov/2'>
+
<StructureSection load='' size='340' side='right' caption='' scene='91/918478/1pov_nohet/1'>
This is the result of dropping the file 1pov-nohet-distance.spt on SAT's Jmol applet, then running on Jmol Console ''set defaultLoadFilter "*.CA;biomolecule 1;bmchains;/=2"'', and saving the scene.
This is the result of dropping the file 1pov-nohet-distance.spt on SAT's Jmol applet, then running on Jmol Console ''set defaultLoadFilter "*.CA;biomolecule 1;bmchains;/=2"'', and saving the scene.
 +
 +
'''Automatic''' extraction of FILTER from dropped file <scene name='91/918478/1pov/2'>1pov-nohet-distance.spt</scene>. After that use SAT as always and save scene.
 +
 +
 +
<!--
 +
 +
This almost works. Jmol state has two places with 'set defaultLoadFilter': one inside function _setFileState, where it is set to empty, and another in function _setParameterState, where it gets the value we assign from SAT's console. Problem is that when loading a scene, Jmol executes _setFileState (loads the file with an empty loadFilter) and then _setParameterState, where the defaultLoadFilter has no effect.
This almost works. Jmol state has two places with 'set defaultLoadFilter': one inside function _setFileState, where it is set to empty, and another in function _setParameterState, where it gets the value we assign from SAT's console. Problem is that when loading a scene, Jmol executes _setFileState (loads the file with an empty loadFilter) and then _setParameterState, where the defaultLoadFilter has no effect.
Line 7: Line 14:
For this scene I modified by hand the script, server side, setting the desired value to 'set defaultLoadFilter' inside function _setFileState
For this scene I modified by hand the script, server side, setting the desired value to 'set defaultLoadFilter' inside function _setFileState
-
 
+
-->
<!--
<!--
'''Newer option:''' <scene name='91/918478/1pov/3'>1pov wobble</scene>, made by dropping 1pov-nohet-distance.spt on SAT's Jmol applet and setting FILTER before saving. Then, value of FILTER is conserved.
'''Newer option:''' <scene name='91/918478/1pov/3'>1pov wobble</scene>, made by dropping 1pov-nohet-distance.spt on SAT's Jmol applet and setting FILTER before saving. Then, value of FILTER is conserved.
-->
-->
-
'''Automatic''' extraction of FILTER from dropped file <scene name='91/918478/1pov/9'>1pov-nohet-distance.spt</scene>. After that use SAT as always and save scene.
 
<!-- set <scene name='91/918478/1pov/2'>set defaultLoadFilter</scene> "*.CA;biomolecule 1;bmchains;/=2" -->
<!-- set <scene name='91/918478/1pov/2'>set defaultLoadFilter</scene> "*.CA;biomolecule 1;bmchains;/=2" -->

Revision as of 12:43, 31 July 2022

Drag the structure with the mouse to rotate

References

Proteopedia Page Contributors and Editors (what is this?)

Jaime Prilusky

Personal tools