ChemDoodleWeb is a very nice 2D sketcher. While it has components that allow
it to be used with a server for 3D rendering, It turns out it is trivial to
connect it to a client-side Jmol applet. See
http://chemapps.stolaf.edu/jmol/docs/examples-12/ChemDoodleWeb/samples/sketcher_Jmol.html
The added extension to ChemDoodleWeb is simply this:
ChemDoodle.toJmol = function(mol) {
var moldata2d = ChemDoodle.writeMOL(mol);
jmolScript("load DATA \"model\"\n" + moldata2d + "\nend \"model\"
filter '2D'")
};
with the call from a "toJmol" button being:
function get3DModel(){
ChemDoodle.toJmol(sketcher.getMolecule());
}
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users