Hi Im using Pymol as a 3d plotter of some "volume density data". However, theres a difference in surface or mesh representations near zero. The following script illustrate(doesnt work without recompile of NumPy support into pymol on linux, but works on both mac and windows directly)
from chempy.brick import Brick brik2=Brick() brik2.setup_from_min_max( [0,0,0], [2,2,2], [1,1,1]) brik2.lvl[1,1,1]=1 cmd.load_brick(brik2,"brick") for a in range(2): lvl = a/2. cmd.do("isomesh lvlmesh%1.1f,brick,%1.1f" %(lvl,lvl)) cmd.do("isosurface lvlsurf%1.1f,brick,%1.1f" %(lvl,lvl)) it seems like the isosurface do not get interpolated to certain diagonal points, but not to other, while the mesh only gets interpolated to neighbor points. Its probably not a problem for "normal" data, but as I have sparse and indexed data it do look a bit strange. Is there a way to make isosurface behave like isomesh in that regard or add the missing interpolation to diagonal points? Esben __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com