From: javacfish (javacfish_at_yahoo.com.cn)
Date: Wed Nov 28 2012 - 14:21:16 CST

Hello everyone, I want to draw the surface of molecule, so I used the comand "draw trinorm". For example: draw trinorm  {   11.852   -8.927   18.754 }  {   11.809   -9.048   18.807 }  {   11.952   -9.307   18.986 }  { -0.40246  0.50000  0.76683 }  { -0.29389  0.50904  0.80902 }  { -0.35202  0.30902  0.88351 }   draw trinorm  {   11.952   -9.307   18.986 }  {   11.809   -9.048   18.807 }  {   11.779   -9.269   18.917 }  { -0.35202  0.30902  0.88351 }  { -0.29389  0.50904  0.80902 }  { -0.30902  0.39934  0.86316 }   draw trinorm  {   11.779   -9.269   18.917 }  {   11.809   -9.048   18.807 }  {   11.466   -9.275   18.864 }  { -0.30902  0.39934  0.86316 }  { -0.29389  0.50904  0.80902 }  { -0.20725  0.50000  0.84086 }   draw trinorm  {   11.466   -9.275   18.864 }  {   11.809   -9.048   18.807 }  {   11.378   -8.918   18.567 }  { -0.20725  0.50000  0.84086 }  { -0.29389  0.50904  0.80902 }  { -0.24886  0.66913  0.70024 }   draw trinorm  {   11.378   -8.918   18.567 }  {   11.809   -9.048   18.807 }  {   11.852   -8.927   18.754 }  { -0.24886  0.66913  0.70024 }  { -0.29389  0.50904  0.80902 }  { -0.40246  0.50000  0.76683 }   draw trinorm  {   11.378   -8.918   18.567 }  {   11.852   -8.927   18.754 }  {   11.479   -8.623   18.255 }  { -0.24886  0.66913  0.70024 }  { -0.40246  0.50000  0.76683 }  { -0.20103  0.80902  0.55234 }   draw trinorm  {   11.479   -8.623   18.255 }  {   11.852   -8.927   18.754 }  {   11.908   -8.784   18.700 }  { -0.20103  0.80902  0.55234 }  { -0.40246  0.50000  0.76683 }  { -0.50000  0.49196  0.71272 }   draw trinorm  {   11.908   -8.784   18.700 }  {   11.852   -8.927   18.754 }  {   11.952   -9.307   18.986 }  { -0.50000  0.49196  0.71272 }  { -0.40246  0.50000  0.76683 }  { -0.35202  0.30902  0.88351 }   I know the first three values are the coordinate of points, the second three values are the normals. It is very easy to obtain the first three values. But the normals seems very hard. Is any formula or script to calculate the normals value as above? Thanks! Sincerely Yours, Javacfish