Can you export faces with corresponding node ids from a model in HyperView?

Jonas Kneifl
Jonas Kneifl New Altair Community Member
edited December 2021 in Community Q&A

Hi together,

I want to animate a model outside of Hyperview and therefore need information about the faces and the corresponding nodes/vertices.
Is it possible to export this information, e.g., in the form of a list of all node ids building a face?

Thanks in advance

Tagged:

Answers

  • Adriano_Koga
    Adriano_Koga
    Altair Employee
    edited December 2021

    what do you mean by 'faces'? do you need the element connectivity? (elements/nodes)?

    if yes, you can export them from HM easily, by using 'faces' command, and export displayed.

  • Jonas Kneifl
    Jonas Kneifl New Altair Community Member
    edited December 2021

    Thanks for your fast response. Unfortunately, this is not exactly what I am seeking for. 
    Face definition from Wikipedia: "In solid geometry, a face is a flat surface (a planar region) that forms part of the boundary of a solid object;" 

    I tried to demonstrate it on the following picture:

    image

    However, it is not clear which nodes of the element form a face from the element connectivity.

  • Adriano_Koga
    Adriano_Koga
    Altair Employee
    edited December 2021

    Thanks for your fast response. Unfortunately, this is not exactly what I am seeking for. 
    Face definition from Wikipedia: "In solid geometry, a face is a flat surface (a planar region) that forms part of the boundary of a solid object;" 

    I tried to demonstrate it on the following picture:

    image

    However, it is not clear which nodes of the element form a face from the element connectivity.

    despite of wikipedia's definition, people can think on faces as many different definitions :D

    anyway:

    can you describe what exactly do you need as an output?

    just nodes from a particular face? or coordinates as well?

    You can get this using a script, but you need to have a sample output file.

     

    The attached scripts could be tuned to perform what you need in HyperMesh/HyperWorks.

    You just need to use the 'by face' selection.

  • Jonas Kneifl
    Jonas Kneifl New Altair Community Member
    edited December 2021

    Yeah that is true :D I hope that it is clear now.

    I just need the node ids of all faces.
    Supposing there are n faces with x nodes each, it could look like this:

    face node id 1 ...  node id x
    1 1 ... 3
    2 3 ... 5
    ... ... ... ...
    n 100 ... 114

    I would be very glad, if I could get this information with a script. 
    Unfortunately, I'm not able to find your attached script. Where can I find them?

  • Adriano_Koga
    Adriano_Koga
    Altair Employee
    edited December 2021

    Yeah that is true :D I hope that it is clear now.

    I just need the node ids of all faces.
    Supposing there are n faces with x nodes each, it could look like this:

    face node id 1 ...  node id x
    1 1 ... 3
    2 3 ... 5
    ... ... ... ...
    n 100 ... 114

    I would be very glad, if I could get this information with a script. 
    Unfortunately, I'm not able to find your attached script. Where can I find them?

    sorry about that.

    now they're attached here.

    you could adapt these scripts to get what you want.