Re: [Jmol-users] Nasty interaction between JSmol and Cytoscape.js

2014-09-30 Thread Roberto Mosca
Dear Robert, thanks for your help! I tried the patched code in the zip that you included but I get an error when I load the page: Uncaught TypeError: undefined is not a function (package.js:14) If I use an older version of JSmol I don't get this error. Any idea? Thanks again a lot for your

Re: [Jmol-users] Nasty interaction between JSmol and Cytoscape.js

2014-09-30 Thread Rolf Huehne
On 09/30/2014 01:35 PM, Roberto Mosca wrote: Dear Robert, thanks for your help! I tried the patched code in the zip that you included but I get an error when I load the page: Uncaught TypeError: undefined is not a function (package.js:14) If I use an older version of JSmol I don't get this

Re: [Jmol-users] Nasty interaction between JSmol and Cytoscape.js

2014-09-30 Thread Roberto Mosca
Yep, I just realized it. Thanks again, now I can use the two libraries together. :) Best regards, Roberto Roberto Mosca, Ph.D. *Interactome3D* - http://interactome3d.irbbarcelona.org Structural Bioinformatics and Network Biology Institute for Research in Biomedicine (IRB Barcelona) Parc

[Jmol-users] exporting x3d files with specifications

2014-09-30 Thread Christian Baerlocher
Dear Bob, One of my users wants to export x3d files for 3d printing. It works, but he has a question. He writes: Our 3-D printer expert would like the X3D file with mm units and scaled so the longest side is under 200 mm? Is that possible? Can I specify this somehow? Thanks for your help

Re: [Jmol-users] exporting x3d files with specifications

2014-09-30 Thread Scalfani, Vincent
Dear Christian: I use the set exportScale. Somewhere in the 10-20 range seems to work well for 3D printing sizes. Not sure if you can set exact dimensions. Example: set exportScale (10.0) - Vincent F. Scalfani, Ph.D. Assistant Professor Science and Engineering

Re: [Jmol-users] exporting x3d files with specifications

2014-09-30 Thread Christian Baerlocher
Thanks a lot Vincent, I found it now also in the Jmol documentation. In your experience, does this scaling number depend on the size of the model, i.e. is there some relation between size of the model in Angstroms and the printed size in mm? Christian On 30. Sep, 2014, at 17:25, Scalfani,

Re: [Jmol-users] exporting x3d files with specifications

2014-09-30 Thread Angel Herráez
Christian, I believe that in VRML format everything is assumed to be in some units (meters?) by the printing software. I'm not sure about X3D, but it's probably the same. So I'd say yes, there will be a relation betwen angstroms in the model and the printed size. We discussed the problem time

Re: [Jmol-users] exporting x3d files with specifications

2014-09-30 Thread Robert Hanson
You can rotate a model to have its longest dimension along the x axis and then determine that dimension size using: select all rotate selected best boundbox {selected} show boundbox print smallest dimension is + getProperty(boundboxInfo.vector).z + Angstroms print largest dimension is +

[Jmol-users] Start jsmol viewer after clicking on button

2014-09-30 Thread Thomas Hrabe
Hi everyone, I want to start a jsmol view on a click. I have a thumbnail placeholder for the view inside of a div. Here’s my code. img src=./images/wait.gif id=thumbnailView/ div id=structureView script type=text/javascript id='jsmolScript' // ViewInfo.width =

[Jmol-users] (no subject)

2014-09-30 Thread pino.stricc...@libero.it
Bob, i updated the Jsmol to the version 14.3.7 and the installation works like here http://pinostriccoli.altervista.org/html5/simple2.htm. It disappear all when i run from my site. U can check any page http://pinostriccoli.altervista. org/?p=4681 As if no files loaded in head section that is

Re: [Jmol-users] (no subject)

2014-09-30 Thread Otis Rothenberger
Pino, I'm not sure I understand all of your .js files, but this one appears to be missing: src=http://pinostriccoli.altervista.org/wp-content/Jmol2.js; Otis pino.stricc...@libero.it mailto:pino.stricc...@libero.it September 30, 2014 at 6:56 PM Bob, i updated the Jsmol to the version 14.3.7

Re: [Jmol-users] (no subject)

2014-09-30 Thread Robert Hanson
I'm sorry. I broke JSmol.min.nojq.js on Aug. 30 when I modified the way the date/version business is passed to JSmol. http://chemapps.stolaf.edu/jmol/zip/jmol-14.3.7_2014.09.30.zip Or remove the first-line references to Jmol.___ (three commands) inJSmol.min.nojq.js Bob ​

[Jmol-users] Jmol usage stats

2014-09-30 Thread Robert Hanson
FYI Statistics for use of sites that allow the Google Analytics tag to register their site that uses JSmol: 60.000 sessions/week 500,000 page views/month 141,000 unique users/month (63% new users) browser: Chrome(63%), FF(26%), Safari(6%) OS: Windows(63%), Macintosh(21%), android(5%),