Heureka!!! I've got it!!! On Tue, Oct 26, 2010 at 10:56, Oliver Stueker <[email protected]> wrote: > Thanks Bob! > > Interestingly: When instead of using > draw @plane_i FIXED {...@faceatoms[1]} {...@faceatoms[2]} > {...@faceatoms[3]} ; > draw @line_i �...@{">" + i} FIXED LENGTH 15.0 WIDTH 1.0 PERP $...@plane_i > ; > > I use > draw @plane_i FIXED @{faceAtoms[1]} @{faceAtoms[2]} @{faceAtoms[3]} ; > draw @line_i �...@{">" + i} FIXED LENGTH 15.0 WIDTH 1.0 PERP > $...@plane_i ; > > all vectors point into the same direction (in both 12.0.19 and the > current Jmol-12.zip to the middle) and not 12 in one way and 8 in the > opposite. > I think that's a clue because the former case the direction of the > vectors coincides with the orientation of my planes.
It actually was! After I have changed: var q1 = quaternion( @thisFace[1] , @thisFace[2] , @thisFace[3] ); var q2 = quaternion( @thisPoly[1] , @thisPoly[2] , @thisPoly[3] ); to: var q1 = quaternion( thisFace[1] , thisFace[2] , thisFace[3] ); var q2 = quaternion( thisPoly[1] , thisPoly[2] , thisPoly[3] ); all my triangles are orientated the way I want them to be. :-) Thanks you for all of your help and the great additions to Jmol!!! Oliver ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

