Translate node at 90 degree
Jouher_20929
Altair Community Member
Help me to translate white circled node at an angle of 90 degree to other two nodes using tcl sript.
Actually my requirement is to translate black circled node to red position using tcl. but vector selection is a constraint.
0
Answers
-
1. create vector user end nodes : *vectorcreate_twonode node1 node2
2. get the normal of blue element : hm_getelementnormal
3. get cross product of the two : ::hwat::math::VectorCrossProduct
4 translate node : *translatemark
0