I just checked in code which is partially successful in displaying files which are read into the CDK library.
You can run this by executing ./jmol -Dcdkmodel This will tell Jmol to use the cdk.io.ReaderFactory instead of using the jmol.io package. I say "partially successful" because the following atom properties are not being defined by cdk: vanderwaals radius covalent bonding radius atomicNumber (at least for .xyz files) atom Color Therefore, they are showing up in Jmol as pink atoms which are highly connected. More details: - the Jmol rendering and script execution is now packaged under org.openscience.jmol.viewer - The former jmol.DisplayControl is now called jmol.viewer.JmolViewer - The adapter interface for connecting an external molecular representation is jmol.viewer.JmolModelAdapter - the Jmol implementation of this is jmol.adapters.DeprecatedJmolModelAdapter - the Cdk implementation of this is jmol.adapters.CdkJmolModelAdapter >From the Jmol side, all changes to get Jmol to properly work with cdk should be restricted to jmol/adapters/CdkJmolModelAdapter.java Miguel ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Jmol-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-developers
