User:Angel Herraez/Sandbox 11
From Proteopedia
< User:Angel Herraez(Difference between revisions)
(New page: ==Your Heading Here (maybe something like 'Structure')== ==Your Heading Here (maybe something like 'Structure')== <StructureSection load='1stp' size='340' side='right' caption='Caption fo...) |
|||
| (7 intermediate revisions not shown.) | |||
| Line 1: | Line 1: | ||
==Your Heading Here (maybe something like 'Structure')== | ==Your Heading Here (maybe something like 'Structure')== | ||
| + | <StructureSection load='' size='350' side='right' caption='test for Joel' scene=''> | ||
| - | + | Echo offset works super in Jmol 14.31.8 running offline on my mac. | |
| - | + | but on Proteopedia it seems NOT work. | |
| - | + | ||
| - | + | ||
| - | == Function == | ||
| - | + | ------------ | |
| + | set echo id e232CB {232:A.CB}; | ||
| + | set echo e232CB offset {1.5 1.5 1.5}; | ||
| + | echo F232; | ||
| + | color echo black; | ||
| + | font echo 14 serif bold; | ||
| + | moveto 1.0 { -332 -779 532 160.16} 260.69 -7.22 28.34 {-24.587502 -13.0755 -28.055} 43.375126 {0 0 0} 0 0 0 3 0 0; | ||
| + | ------------ | ||
| + | In the state, the offset line is saved like this: | ||
| + | set echo ID "e232cb" offset [-1.0,1.5,1.5,1.5,0.0,0.0,0.0]; | ||
| + | ------------ | ||
| - | + | when I add these lines to script without echo in SAT using the console all looks perfect | |
| + | but when I save the page it looses all info about echo and orientation (moved) | ||
| - | == | + | The script works in application and in JSmol, when issued from the console or drag-dropped. |
| + | |||
| + | But not when the scene is saved. JSmol chokes at the square bracket of the offset line. Same conmand works fine from JSmol console. | ||
| + | |||
| + | <scene name='82/824596/Test_joel_1/1'>Script entered in console then saved to scene</scene> | ||
| + | |||
| + | <scene name='82/824596/Test_joel_2/1'>Script entered in console then saved to scene (11 Apr)</scene> | ||
| - | This is a sample scene created with SAT to <scene name="/12/3456/Sample/1">color</scene> by Group, and another to make <scene name="/12/3456/Sample/2">a transparent representation</scene> of the protein. You can make your own scenes on SAT starting from scratch or loading and editing one of these sample scenes. | ||
</StructureSection> | </StructureSection> | ||
| - | == References == | ||
| - | <references/> | ||
Current revision
Your Heading Here (maybe something like 'Structure')
| |||||||||||
