Get node/point coordinates w.r.t local coordinate system on a cad

ATLURI BHARATH KUMAR
ATLURI BHARATH KUMAR Altair Community Member
edited April 9 in Community Q&A

Hi, 

I have a cad, on which I want to create a local coordinate system. 

Also, i need to retrieve the node/point coordinates on cad w.r.t local coordinate system.

 

Thanks in advance

 

Answers

  • Jason_Craanen
    Jason_Craanen
    Altair Employee
    edited April 4

    Hello,

    First may I ask why you want to put a user system on CAD?

    Thanks

    jason

  • ATLURI BHARATH KUMAR
    ATLURI BHARATH KUMAR Altair Community Member
    edited April 4

    Hello,

    First may I ask why you want to put a user system on CAD?

    Thanks

    jason

    Firstly Thank you Jason for considering my query

    Actually, I want to get the bounding points that represents the CAD using script

  • Jason_Craanen
    Jason_Craanen
    Altair Employee
    edited April 4

    Firstly Thank you Jason for considering my query

    Actually, I want to get the bounding points that represents the CAD using script

    Maybe it would be helpful if you described what your end goal is. I want to first determine if we have a direct solution instead of reinventing it.

  • ATLURI BHARATH KUMAR
    ATLURI BHARATH KUMAR Altair Community Member
    edited April 4

    Maybe it would be helpful if you described what your end goal is. I want to first determine if we have a direct solution instead of reinventing it.

    I have a bolt CAD from which I want bolt head diameter, head height, shank diameter and shank length dimensions
  • Jason_Craanen
    Jason_Craanen
    Altair Employee
    edited April 4

    I have a bolt CAD from which I want bolt head diameter, head height, shank diameter and shank length dimensions

    This sounds like something better suited through an actual CAD software. I will let someone else comment about the scripting portion.

    But I guess the question still remains as to what you plan on doing with that information since Hypermesh is an FEA PreProcessor and not CAD.

    At some point you need to realize that CAD into FE entities. And we have tools to do that directly. THat is what I am trying to figure out.

  • Kiyoshi Tsujimoto
    Kiyoshi Tsujimoto Altair Community Member
    edited April 9

    Hello. Nice to meet you.

    In the attached video, I tried to get the point coordinates in the local coordinate system.

    Is this what you want to do?

    "x", "y" and "z" indicate the coordinate values on the set coordinate system.

    https://help.altair.com/hwdesktop/hwd/topics/reference/hm/data_names-nodes.htm

    If it helps you, I will be happy.