计算化学公社

 找回密码 Forget password
 注册 Register
Views: 842|回复 Reply: 3
打印 Print 上一主题 Last thread 下一主题 Next thread

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

[复制链接 Copy URL]

22

帖子

0

威望

219

eV
积分
241

Level 3 能力者

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 cylinder {xyz} {x'
y ' z'} <radius> value resolution <value>
draw cone {xyz} {x' y' z'} <radius> value resolution <value>
But i always get a distorted arrow (please see attached image). The cylinder is fine to draw, but i failed to draw the cone directly Adhesive to cylinder.









6万

帖子

99

威望

6万

eV
积分
125155

管理员

公社社长

2#
发表于 Post on 2023-9-14 02:51:49 | 只看该作者 Only view this author
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:


北京科音自然科学研究中心http://www.keinsci.com)致力于计算化学的发展和传播,长期开办极高质量的各种计算化学类培训:初级量子化学培训班中级量子化学培训班高级量子化学培训班量子化学波函数分析与Multiwfn程序培训班分子动力学与GROMACS培训班CP2K第一性原理计算培训班,内容介绍以及往届资料购买请点击相应链接查看。这些培训是计算化学从零快速入门以及进一步全面系统性提升研究水平的高速路!培训各种常见问题见《北京科音办的培训班FAQ》
欢迎加入北京科音微信公众号获取北京科音培训的最新消息,并避免错过网上有价值的计算化学文章!
欢迎加入人气极高、专业性特别强的理论与计算化学综合交流群思想家公社QQ群(群号见此链接),合计达一万多人。北京科音培训班的学员在群中可申请VIP头衔,提问将得到群主Sobereva的最优先解答。
思想家公社的门口Blog:http://sobereva.com(发布大量原创计算化学相关博文)
Multiwfn主页:http://sobereva.com/multiwfn(十分强大、极为流行的量子化学波函数分析程序)
Google Scholar:https://scholar.google.com/citations?user=tiKE0qkAAAAJ
ResearchGate:https://www.researchgate.net/profile/Tian_Lu

22

帖子

0

威望

219

eV
积分
241

Level 3 能力者

3#
 楼主 Author| 发表于 Post on 2023-9-14 20:07:06 | 只看该作者 Only view this author
sobereva 发表于 2023-9-14 02:51
This is my script defining "drawarrow" command, you can consult its content

Thank you very much, but what i don't understand is how to determine the coordinates (endx2 endy2 endz2) ? I know that (endx1 endy1 endz1) are the same for the cylinder and the cone.




6万

帖子

99

威望

6万

eV
积分
125155

管理员

公社社长

4#
发表于 Post on 2023-9-14 20:36:27 | 只看该作者 Only view this author
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
北京科音自然科学研究中心http://www.keinsci.com)致力于计算化学的发展和传播,长期开办极高质量的各种计算化学类培训:初级量子化学培训班中级量子化学培训班高级量子化学培训班量子化学波函数分析与Multiwfn程序培训班分子动力学与GROMACS培训班CP2K第一性原理计算培训班,内容介绍以及往届资料购买请点击相应链接查看。这些培训是计算化学从零快速入门以及进一步全面系统性提升研究水平的高速路!培训各种常见问题见《北京科音办的培训班FAQ》
欢迎加入北京科音微信公众号获取北京科音培训的最新消息,并避免错过网上有价值的计算化学文章!
欢迎加入人气极高、专业性特别强的理论与计算化学综合交流群思想家公社QQ群(群号见此链接),合计达一万多人。北京科音培训班的学员在群中可申请VIP头衔,提问将得到群主Sobereva的最优先解答。
思想家公社的门口Blog:http://sobereva.com(发布大量原创计算化学相关博文)
Multiwfn主页:http://sobereva.com/multiwfn(十分强大、极为流行的量子化学波函数分析程序)
Google Scholar:https://scholar.google.com/citations?user=tiKE0qkAAAAJ
ResearchGate:https://www.researchgate.net/profile/Tian_Lu

本版积分规则 Credits rule

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

GMT+8, 2026-2-24 07:37 , Processed in 0.298982 second(s), 23 queries , Gzip On.

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