Surface / plane intersection and move closest node of the surface to the intersection

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

Hello, 

i am looking for a mesh modification with TCL. Let me present my concern.

- i have a geometry i don’t want to modify.

- I want to create multiple plane at different Z location

- I want to determine closest node to the intersection surface / plane and move the nodes to this intersection following the surface curve.

does anybody has any clue to do that with HyperMesh functions ?

thanks in advance

best regards

Tagged:

Answers

  • tinh
    tinh Altair Community Member
    edited October 2018

    Could you show some screenshoots?

    can you do it with GUI? why you need to do it by TCL?

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited November 2018

    Sorry, I didn't see you replied me.

    I don't want to use the GUI, only TCL to do it automatically.

    I took another way that is to calculate the min distance between nodes on lines and the objective.

    But, I am stick on the node selection : 

    set Line_Peau_Sup_Milieu ' 1 5 135 150'

    eval *createmark nodes 1 'by lines' $Line_Peau_Sup_Milieu 

     

    Hypermesh does not found any node.

     

    Do you have an advise. I don't see ma mistake.

    Thanks a lot

    Best Regards
     

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited November 2018

    I also tested without success : 

    set Line_Peau_Sup_Milieu {1 5 135 150}

  • tinh
    tinh Altair Community Member
    edited November 2018

    Should be

    eval *createmark nodes 1 {'by lines'} $Line_Peau_Sup_Milieu

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited November 2018

    Thanks a lot. I will test !