I'm trying to move the way Sagemath handles 3-D data to use more standard Jmol
formats. However, I've run into a discrepancy on how Jmol.jar and JmolData.jar
behave. I'm testing with 13.0.9.
If I have a simple pmesh file XXX.pmesh I can load it into Jmol with a number
of commands for example assuming I am working in the directory with this file:
pmesh XXX.pmesh;
isosurface pmesh XXX.pmesh;
If I run JmolData.jar instead, I get file not found errors such as:
java.io.FileNotFoundException:
/Users/gutow/Desktop/sage0-size500-359165447.jmol/obj_102506.pmesh; (No such
file or directory)
A further difference in behavior can be seen when trying to load a PNGJ file,
which loads into Jmol.jar fine, but yields the following errors in
JmolData.jar.
file://Users/gutow/Downloads/test.jmol.png|Jmol_version_13.0.9__2012-11-23_13.17
file://Users/gutow/Downloads/test.jmol.png|obj_102506.pmesh
file://Users/gutow/Downloads/test.jmol.png|state.spt
file://Users/gutow/Downloads/test.jmol.png
file://Users/gutow/Downloads/test.jmol.png|JmolManifest.txt
addshapeprop select {}
addshapeprop fileType Pmesh
addshapeprop fileName /Users/gutow/Downloads/test.jmol.png|obj_102506.pmesh
eval ERROR: invalid argument
----line 5 command 5 of function _setmodelstate:
isosurface id "isosurface1" select ({}) pmesh >>
"/Users/gutow/Downloads/test.jmol.png|obj_102506.pmesh" <<
----line 6 command 6 of function _setstate:
_setmodelstate
----line 257 command 9 of /Users/gutow/Downloads/test.jmol.png|state.spt:
_setstate
----
load "/Users/gutow/Downloads/test.jmol.png"
I think this worked back in version 12 or am I confused.
Thanks,
Jonathan
Dr. Jonathan H. Gutow
Chemistry Department [email protected]
UW-Oshkosh Office:920-424-1326
800 Algoma Boulevard FAX:920-424-2042
Oshkosh, WI 54901
http://www.uwosh.edu/facstaff/gutow/
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers