Alingned Node Coordinate Value (TCL Script)

Hi,
How can I determine the node coordinates aligned from two nodes without need to use a temporary node technique.
A function type:
Input1: two nodes N1 and N2 ( For Vector Definition)
Input2: Node N3 ( To be projected perpendicularly to N1 and N2 vector )
output: Aligned N3 (New Coordinate ==> X,Y and Z )
Thanks in Advance,
Felipe

Hi Tinh,
I really appreciated your code, but unfortunately HM could not found the ::math::linearalgebra package. It is possible be installed our use an similar hypermesh library?
Thanks,
Felipe

Hi Tinh,
I found a similar functions in hypermesh:
::hwat::math::VectorCrossProduct {vector1} {vector2}
::hwat::math::VectorNormalize {valuelist} normvalue
It solved now.
Thanks very much!
Felipe

I want to get the coordinates of a node and use it in defining the base point (while projecting). Can you please tell me how to do this?
Hi
I don't remember transforming matrix. But use vectors to find V04:
(N4 is projected of N3)
<?xml version="1.0" encoding="UTF-8"?>
From V13 you can utilize built-in package math::linearalgebra
<?xml version="1.0" encoding="UTF-8"?>