User:Angel Herraez/Sandbox 11
From Proteopedia
< User:Angel Herraez(Difference between revisions)
| (One intermediate revision not shown.) | |||
| Line 2: | Line 2: | ||
<StructureSection load='' size='350' side='right' caption='test for Joel' scene=''> | <StructureSection load='' size='350' side='right' caption='test for Joel' scene=''> | ||
| - | Echo works super in Jmol 14.31.8 running offline on my mac. | + | Echo offset works super in Jmol 14.31.8 running offline on my mac. |
| - | but on Proteopedia it seems NOT work | + | but on Proteopedia it seems NOT work. |
| - | + | ||
| - | + | ||
| - | + | ||
------------ | ------------ | ||
| - | set echo id e232CB {232:A.CB}; | + | set echo id e232CB {232:A.CB}; |
| - | set echo e232CB offset {1.5 1.5 1.5}; | + | set echo e232CB offset {1.5 1.5 1.5}; |
| - | echo F232; | + | echo F232; |
| - | color echo black; | + | color echo black; |
| - | font echo 14 serif bold; | + | 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 | + | 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; |
------------ | ------------ | ||
| - | when I add these | + | In the state, the offset line is saved like this: |
| - | but when I save the page | + | set echo ID "e232cb" offset [-1.0,1.5,1.5,1.5,0.0,0.0,0.0]; |
| - | it | + | ------------ |
| + | |||
| + | 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. | ||
| - | the | + | 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_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> | ||
</StructureSection> | </StructureSection> | ||
Current revision
Your Heading Here (maybe something like 'Structure')
| |||||||||||
