User:Angel Herraez/Sandbox 11

From Proteopedia

< User:Angel Herraez(Difference between revisions)
Jump to: navigation, search
(test)
Current revision (09:53, 11 April 2025) (edit) (undo)
 
(3 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=''>
<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.
 +
 +
 +
------------
 +
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>
</StructureSection>
</StructureSection>

Current revision

Your Heading Here (maybe something like 'Structure')

test for Joel

Drag the structure with the mouse to rotate

Proteopedia Page Contributors and Editors (what is this?)

Angel Herraez

Personal tools