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.
Mesh and normal to the elements
Moderator: GiD Team
Re: Mesh and normal to the elements
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)
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)