Angle_Between_Two_Vectors.vbs
Description
This
script requires that four nodes are selected to define two vectors and computes
the angle between these vectors. The
first vector is defined as from the first selected node to the second, and the
second vector is defined from the third selected node to the fourth. These vectors are normalised and output to
the text window. Then the angle between
the vectors for the original mesh, for the deformed mesh and the change in
angle is also given in the Text Output window.
Notes
1.
THIS SCRIPT IS NOT PART
OF LUSAS SOFTWARE AND AS SUCH IS NOT QUALITY APPROVED OR SUPPORTED. IT IS
PROVIDED ON AN AS IS BASIS FOR DEMONSTRATION PURPOSES ONLY.
2.
Four nodes only must be
selected prior to running the script.
3.
The angles are reported
to the Text Output window.