计算化学公社

 找回密码 Forget password
 注册 Register

How to draw a cone correctly to form an arrow in VMD ?

查看数: 845 | 评论数: 3 | 收藏 Add to favorites 0
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2023-9-14 01:18

正文摘要:

If you please, i would like to know if there is a rule to draw a cone along with a cylinder to draw an arrow, because i draw the cylinder and the cone easily using the following commands: draw cylinde ...

回复 Reply

sobereva 发表于 Post on 2023-9-14 20:36:27
vitalys 发表于 2023-9-14 20:07
Thank you very much, but what i don't understand is how to determine the coordinates (endx2 endy2  ...

Assume that unit vector of the cylinder is u and the cylinder has length of k, and the beginning point of the cone is a, then the ending point of the cone should be a+0.1*k*u
sobereva 发表于 Post on 2023-9-14 02:51:49
This is my script defining "drawarrow" command, you can consult its content

drawarrow.tcl (981 Bytes, 下载次数 Times of downloads: 2)

This command is used by an example of Multiwfn program manual to draw dipole moment vector of two molecules and the whole system:


手机版 Mobile version|北京科音自然科学研究中心 Beijing Kein Research Center for Natural Sciences|京公网安备 11010502035419号|计算化学公社 — 北京科音旗下高水平计算化学交流论坛 ( 京ICP备14038949号-1 )|网站地图

GMT+8, 2026-2-24 09:08 , Processed in 0.189331 second(s), 25 queries , Gzip On.

快速回复 返回顶部 返回列表 Return to list