Mesh and normal to the elements

Moderator: GiD Team

Post Reply
kullboys
Posts: 1
Joined: Tue Jun 19, 2018 10:47 am

Mesh and normal to the elements

Post by kullboys »

Hello everyone
at this time, I export the informations from GiD via text file: geometry, mesh, an easy problem-tipe by which I add informations such as materials, ports, analysis parameters; but I would like to export also the normals to the mesh elements: how I can do this without .bas file and TCL commands?
Thanks.
User avatar
escolano
Posts: 1922
Joined: Sun Sep 05, 1982 10:51 pm

Re: Mesh and normal to the elements

Post by escolano »

Usually all problemtypes define the procedure to write the format that it exactly require. Do it is easy.
The .bas template/s or Tcl procedure is invoked when you press Calculate, or use Files->Export->Calculation file.

You can also compute in your code the element normal as the normal of the plane defined by three element nodes.

If do you have a mesh of triangles can export it as STL with
Files->Export->Using template .bas->STL
this format is writing also the face normal (calculated simply from the 3 nodes location)
Post Reply