Hi,

Do you have an example on how to load/display data from
a .dxf (DX) file on Jmol 11.5.51 ? 

This is what I have (and it's not working)

<script language='Javascript' type='text/javascript' 
src='/wiki/extensions/Jmol/Jmol.js'></script>
<script language='Javascript' type='text/javascript'>
  jmolInitialize('/wiki/extensions/Jmol');
  jmolApplet(400, 'isoSurface file "/wiki/support/g_slide1.dx"');
</script>

Java Console reports:

data file type was determined to be Cube
  0
SECTION

java.lang.ArrayIndexOutOfBoundsException: 1
Exception in thread "QueueThread0" java.lang.NullPointerException
        at org.jmol.jvxl.readers.VolumeFileReader.readVolumetricHeader(Unknown 
Source)
        at org.jmol.jvxl.readers.VolumeFileReader.readVolumeParameters(Unknown 
Source)
        at org.jmol.jvxl.readers.VoxelReader.createIsosurface(Unknown Source)
        at org.jmol.jvxl.readers.SurfaceGenerator.generateSurface(Unknown 
Source)
        at org.jmol.jvxl.readers.SurfaceGenerator.setParameter(Unknown Source)

If the javascript syntax is Ok, do you have a working DX file I can use for 
testing?

Thanks in advance,
Jaim
-- 
 Dr Jaime Prilusky                      | [EMAIL PROTECTED]
 Head of Bioinformatics ISPC            |
 R&D Bioinformatics and Data Management |
 Weizmann Institute of Science          | fax: 972-8-9344113
 76100 Rehovot - Israel                 | tel: 972-8-9344959

 OCA, http://oca.weizmann.ac.il (the protein structure/function database)
 Proteopedia, http://www.proteopedia.org (because life has more than 2D)
 ------------------------------------------------------------------------

-------------------------------------------------------------------------
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