Selection of Opposite / Perpendicular Node

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Hi all,

 

i am trying to extract the opposite node of selected node.

 

initially, user had selected only 'one node' on one layer 1 and form that extracted the component name as well as elements definition.

 

now i trying to extract the opposite / perpendicular node on the another layer 2 and layer 3.

 

 

no surface interaction is required. as of now it is possible to catch the nodes from surface but i want only element reference.

 

there is no surface definition. only elements are present its can be shell or solid.

 

pleas let me know if there is an feasible solution.

 

please refer the attached image for more clarification.

 

Regards

 

Adams.

 

<?xml version="1.0" encoding="UTF-8"?>post-5813-0-49192600-1404896659_thumb.pn

Tagged:

Answers

  • tinh
    tinh Altair Community Member
    edited July 2014

    Humm...

    You have to think more about geometry relations and do not keep your mind obeying only one approach

    if N1N2 is perpendicular to element plane => then distance N1N2 is shortest. so do not think about surface or some reference entities

    let's take the closest node of N1,  we get N2 on layer 2, and N3 on layer 3

    hm_getclosestnode will be helpful

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited July 2014

    Hi tinh

     

    with this, developing algorithm is quiet easy & got the solution.

     

    actually before this, i was thinking in different way and trying to capture the nodal information through surface..while creating surface from element...though i got answer but it was lengthy as well as algorithm is too slow.

     

     

    thanks image/emoticons/default_smile.png' alt=':)' srcset='/emoticons/smile@2x.png 2x' width='20' height='20'> 

     

     

    regards

     

    adams