🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Translate node at 90 degree

User: "Jouher_20929"
Altair Community Member
Updated by Jouher_20929

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.

 

 

 image.png.540e8602ceabd16d7ce022f2b9886587.png

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Pandurang"
    Altair Community Member
    Updated by Pandurang

    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