Bob,

  I'm finding that my state script doesn't properly reproduce the scale of
the arcs.  They should be the same size as the disks (see the attached the
Jmol state file).  If this has been fixed since RC_12 then ignore this.

Dean
# Jmol state version 11.6.RC12_dev  2008-08-14 16:55;
  # fullName = "jmolApplet0__9161665542644184__";
  # documentBase = "http://dhj-macbook.local/~djohnston/symmetry/gallery3.html";;
  # codeBase = "http://dhj-macbook.local/~djohnston/symmetry/gallery/Jmol/";;


function _setWindowState();
# height 586;
# width 586;
  stateVersion = 1106000;
  backgroundColor = "[xffffff]";
  axis1Color = "[xff0000]";
  axis2Color = "[x008000]";
  axis3Color = "[x0000ff]";
  ambientPercent = 45;
  diffusePercent = 84;
  specular = true;
  specularPercent = 22;
  specularPower = 40;
  specularExponent = 6;
  statusReporting  = true;
end function;

function _setFileState();

  set allowEmbeddedScripts false;
  set autoBond false;
  set appendNew true;
  set appletProxy "";
  set applySymmetryToBonds false;
  set bondRadiusMilliAngstroms 150;
  set bondTolerance 0.45;
  set defaultDirectory "";
  set defaultLattice {0.0 0.0 0.0};
  set defaultLoadScript "";
  set defaultVDW Jmol;
  set forceAutoBond false;
  set loadFormat "http://www.rcsb.org/pdb/files/%FILE.pdb";;
  set minBondDistance 0.4;
  set pdbSequential false;
  set pdbGetHeader false;
  set percentVdwAtom 20;
  set smartAromatic true;
  data "model inline"
22
bicyclo[2.2.2]octane
C    0.0000   -1.4402    0.7646
C    0.0000    0.0000    1.2819
C    0.0001   -1.4403   -0.7645
C   -1.2472    0.7202    0.7646
C    1.2474    0.7200    0.7646
C    0.0000    0.0000   -1.2819
C   -1.2473    0.7202   -0.7646
C    1.2473    0.7200   -0.7646
H   -0.8821   -1.9815    1.1567
H    0.0000   -1.9816    1.1567
H    0.0000    0.0000    2.3959
H   -0.8820   -1.9815   -1.1567
H    0.8818   -1.9816   -1.1566
H   -1.2750    1.7546    1.1567
H   -2.1570    0.2271    1.1567
H    2.1570    0.2269    1.1567
H    1.2752    1.7545    1.1567
H    0.0000    0.0000   -2.3960
H   -1.2751    1.7546   -1.1567
H   -2.1570    0.2271   -1.1567
H    2.1570    0.2269   -1.1567
H    1.2753    1.7544   -1.1567
end "model inline";;

end function;

function _setVariableState();

   set defaultanglelabel "%VALUE %UNITS";
   set defaultcolorscheme "Jmol";
   set defaultdirectory "";
   set defaultdistancelabel "%VALUE %UNITS";
   set defaultdrawarrowscale 0.5;
   set defaultlattice "{0 0 0}";
   set defaultloadscript "";
   set defaulttorsionlabel "%VALUE %UNITS";
   set defaulttranslucent 0.5;
   set defaultvdw "Jmol";
  set allowembeddedscripts true;
  set allowrotateselected false;
  set appletproxy "";
  set applysymmetrytobonds false;
  set autobond false;
  set autofps false;
  set axes window;
  set axesmode 0;
  set axesscale 2.0;
  set bondmodeor false;
  set bondradiusmilliangstroms 150;
  set bondtolerance 0.45;
  set cartoonrockets false;
  set chaincasesensitive false;
  set dataseparator "~~~";
  set delaymaximumms 0;
  set dipolescale 1.0;
  set disablepopupmenu false;
  set displaycellparameters true;
  set dotdensity 3;
  set dotsselectedonly false;
  set dotsurface true;
  set drawhover false;
  set drawpicking false;
  set dynamicmeasurements false;
  set ellipsoidarcs false;
  set ellipsoidaxes false;
  set ellipsoidaxisdiameter 0.02;
  set ellipsoidball true;
  set ellipsoiddotcount 200;
  set ellipsoiddots false;
  set ellipsoidfill false;
  set forceautobond false;
  set greyscalerendering false;
  set hbondsbackbone false;
  set hbondssolid false;
  set helppath "http://www.stolaf.edu/academics/chemapps/jmol/docs/index.htm";;
  set hermitelevel 0;
  set hidenameinpopup false;
  set hidenavigationpoint false;
  set highresolution false;
  set historylevel 0;
  set hoverdelay 0.5;
  set isosurfacepropertysmoothing true;
  set justifymeasurements false;
  set loadformat "http://www.rcsb.org/pdb/files/%FILE.pdb";;
  set measureallmodels false;
  set measurementlabels true;
  set messagestylechime false;
  set minbonddistance 0.4;
  set navigationperiodic false;
  set navigationspeed 5.0;
  set pdbgetheader false;
  set pdbsequential false;
  set percentvdwatom 20;
  set pickingspinrate 10;
  set picklabel "";
  set pointgroupdistancetolerance 0.2;
  set pointgrouplineartolerance 8.0;
  set propertyatomnumberfield 0;
  set propertycolorscheme "roygb";
  set propertydatafield 0;
  set quaternionframe "c";
  set rangeselected false;
  set ribbonaspectratio 16;
  set ribbonborder false;
  set rocketbarrels false;
  set selectallmodels true;
  set selecthetero true;
  set selecthydrogen true;
  set sheetsmoothing 1.0;
  set showhiddenselectionhalos false;
  set showhydrogens true;
  set showmeasurements true;
  set showmultiplebonds true;
  set shownavigationpointalways false;
  set smartaromatic true;
  set solventprobe false;
  set solventproberadius 1.2;
  set ssbondsbackbone false;
  set stereodegrees 5;
  set strandcountformeshribbon 7;
  set strandcountforstrands 5;
  set testflag1 false;
  set testflag2 false;
  set testflag3 false;
  set testflag4 false;
  set tracealpha true;
  set usenumberlocalization true;
  set vectorscale 1.0;
  set vibrationperiod 1.0;
  set vibrationscale 1.0;
  set wireframerotation false;
  set zoomlarge true;
  set zshade false;

#user-defined variables; 
# --none--;

# label defaults;
  select none;
  color label none;
  background label none;
  set labelOffset 4 4;
  set labelAlignment left;
  set labelPointer off;
  font label 13.0 SansSerif Plain;

end function;

function _setModelState();
  connect ({0}) ({1}) single;
  connect ({0}) ({2}) single;
  connect ({0}) ({8}) single;
  connect ({0}) ({9}) single;
  connect ({1}) ({3}) single;
  connect ({1}) ({4}) single;
  connect ({1}) ({10}) single;
  connect ({2}) ({5}) single;
  connect ({2}) ({11}) single;
  connect ({2}) ({12}) single;
  connect ({3}) ({6}) single;
  connect ({3}) ({13}) single;
  connect ({3}) ({14}) single;
  connect ({4}) ({7}) single;
  connect ({4}) ({15}) single;
  connect ({4}) ({16}) single;
  connect ({5}) ({6}) single;
  connect ({5}) ({7}) single;
  connect ({5}) ({17}) single;
  connect ({6}) ({18}) single;
  connect ({6}) ({19}) single;
  connect ({7}) ({20}) single;
  connect ({7}) ({21}) single;

  measures delete;
  select *; set measures nanometers;
  font measures 15.0 SansSerif Plain;
  select measures ({null});

  draw delete;
  draw ID "p_axis0" fixed {0.0 0.0 -3.44} {0.0 0.0 3.44}"C<sub>3</sub>";
  draw ID "p_axis0" fill noMesh noDots notFrontOnly fullylit;
  color draw opaque [xffa500];
  draw ID "p_axis1" fixed {0.0 -3.44 0.0} {0.0 3.44 0.0}"C<sub>2</sub>";
  draw ID "p_axis1" fill noMesh noDots notFrontOnly fullylit;
  color draw opaque [xffa500];
  draw ID "p_axis2" fixed {-2.9791431 -1.72 0.0} {2.9791431 1.72 
0.0}"C<sub>2</sub>";
  draw ID "p_axis2" fill noMesh noDots notFrontOnly fullylit;
  color draw opaque [xffa500];
  draw ID "p_axis3" fixed {2.9791431 -1.72 0.0} {-2.9791431 1.72 
0.0}"C<sub>2</sub>";
  draw ID "p_axis3" fill noMesh noDots notFrontOnly fullylit;
  color draw opaque [xffa500];
  draw ID "i_axis0" fixed {0.0 0.0 -3.64} {0.0 0.0 3.64}"S<sub>3</sub>";
  draw ID "i_axis0" fill noMesh noDots notFrontOnly fullylit;
  color draw opaque [xffa500];
  draw ID "plane0_disk" fixed diameter 6.1453 CYLINDER {0.0 0.0 0.03} {0.0 0.0 
-0.03};
  draw ID "plane0_disk" fill noMesh noDots notFrontOnly fullylit;
  color draw translucent 128 [xffa500];
  draw ID "plane0_ring" diameter 0.035 ARC {0.0 0.0 1.0} {0.0 0.0 -1.0} {0.03 
0.03 -0.97} {0.0 360.0 0.5};
  draw ID "plane0_ring" fill noMesh noDots notFrontOnly fullylit;
  color draw opaque [xffa500];
  draw ID "plane1_disk" fixed diameter 6.1453 CYLINDER {0.03 0.0 0.0} {-0.03 
0.0 0.0};
  draw ID "plane1_disk" fill noMesh noDots notFrontOnly fullylit;
  color draw translucent 128 [xffa500];
  draw ID "plane1_ring" diameter 0.035 ARC {1.0 0.0 0.0} {-1.0 0.0 0.0} {-0.97 
0.03 0.03} {0.0 360.0 0.5};
  draw ID "plane1_ring" fill noMesh noDots notFrontOnly fullylit;
  color draw opaque [xffa500];
  draw ID "plane2_disk" fixed diameter 6.1453 CYLINDER {-0.015 0.026 0.0} 
{0.015 -0.026 0.0};
  draw ID "plane2_disk" fill noMesh noDots notFrontOnly fullylit;
  color draw translucent 128 [xffa500];
  draw ID "plane2_ring" diameter 0.035 ARC {-0.5 0.866 0.0} {0.5 -0.866 0.0} 
{0.53 -0.836 0.03} {0.0 360.0 0.5};
  draw ID "plane2_ring" fill noMesh noDots notFrontOnly fullylit;
  color draw opaque [xffa500];
  draw ID "plane3_disk" fixed diameter 6.1453 CYLINDER {0.015 0.026 0.0} 
{-0.015 -0.026 0.0};
  draw ID "plane3_disk" fill noMesh noDots notFrontOnly fullylit;
  color draw translucent 128 [xffa500];
  draw ID "plane3_ring" diameter 0.035 ARC {0.5 0.866 0.0} {-0.5 -0.866 0.0} 
{-0.47 -0.836 0.03} {0.0 360.0 0.5};
  draw ID "plane3_ring" fill noMesh noDots notFrontOnly fullylit;
  color draw opaque [xffa500];

  set echo off;
  set echo bottom left; echo "Point Group = D<sub>3h</sub>";
  font echo 15.0 SansSerif Italic; color echo [x808080];

  boundBox off;

  frank on;
  font frank 16.0 SansSerif Bold;
  set fontScaling false;

end function;

function _setPerspectiveState();
  set perspectiveModel 11;
  set scaleAngstromsPerInch 0.0;
  set perspectiveDepth false;
  set visualRange 5.0;
  set cameraDepth 3.0;
  boundbox corners {-2.1569998 -1.9816002 -2.396} {2.1569998 1.7545999 
2.3958998} # volume = 77.23567;
  center {-0.040072717 -9.130348E-6 4.570593E-6};
  moveto 0.0 { -948 203 247 57.44} 100.0 0.0 0.0 {-0.040072717 -9.130348E-6 
4.570593E-6} 3.6933072 {0.0 0.0 0.0} 0.5151638 -0.06444104 50.0;;
  slab 100;depth 0;
  set spinX 0; set spinY 30; set spinZ 0; set spinFps 30;
end function;

function _setSelectionState();
  select ({0:21});
  set hideNotSelected false;
end function;

function _setState();
  initialize;
  set refreshing false;
  _setWindowState;
  _setFileState;
  _setVariableState;
  _setModelState;
  _setPerspectiveState;
  _setSelectionState;
  set refreshing true;
  set antialiasDisplay false;
  set antialiasTranslucent true;
  set antialiasImages true;
end function;

_setState;
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to