VMD-L Mailing List
From: baogen duan (duanbaogen_at_yahoo.com.cn)
Date: Thu Oct 27 2005 - 22:32:59 CDT
- Next message: John Stone: "Re: tcl/python and readline not working"
- Previous message: John Stone: "Re: MacOS 10.4 problems"
- Next in thread: John Stone: "Re: add a new file type to VMD on linux(FC4)"
- Reply: John Stone: "Re: add a new file type to VMD on linux(FC4)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi,
I want to VMD to read a new file type(*.vmf).
My steps are as follows:
(1)I downloaded Linux opengl,source code from the
website.
(2)I wrote a plugin(vmfplugin.c) according to
mol2plugin.c. There are two directories in source
code. One is plugins,the other is vmd-1.8.3.
I copied vmfplugin.c to
./../plugins/molfile_plugin/src
then cd to ../../plugins,typed 'make';'make LINUX'.
vmfplugin.so was created in ../../plugins/compile/
Lib_Linux/molfile.
(3)I copied vmfplugin.so to
./../vmd-1.8.3.bin.Linux.opengl.tar.gz_FILES/vmd-1.8.3
/plugins/Linux/molfile.
(4)cd
to../../vmd-1.8.3.bin.Linux.opengl.tar.gz_FILES
/vmd-1.8.3,then'./configure',cd src 'make install'.
(5)When I operated File->New Molecule->determine
file
type->vmf->filename(*.vmf)->load.The interfaces of VMD
disapear at once.
My questions are as follows:
(1)Is this method feasible to embed a new file type
to
VMD?
(2)How does VMD recognize an atom's type(C_3,H_
etc.in
*.vmf) and a bond's type(S,D in *.vmf)?
(3)How is every atom linked?
(4)would you like to give me some advives about my
program(vmfplugin.c).
(5)What shall I do in order to embed a new file type
to
VMD except writing a plugin(vmfplugin.c)?
Attachments are vmfplugin.c and ch3oh.vmf.
Thanh you very much!
___________________________________________________________
雅虎免费G邮箱-中国第一绝无垃圾邮件骚扰超大邮箱
http://cn.mail.yahoo.com
- text/x-c++src attachment: 3839761103-vmfplugin.C
- application/octet-stream attachment: 1201912512-ch3oh.vmf
- Next message: John Stone: "Re: tcl/python and readline not working"
- Previous message: John Stone: "Re: MacOS 10.4 problems"
- Next in thread: John Stone: "Re: add a new file type to VMD on linux(FC4)"
- Reply: John Stone: "Re: add a new file type to VMD on linux(FC4)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]