Mesh - Geometry mapping

  • Anonymous - 2013-02-21

    I'm using the nglib with OpenCascade to create a surface mesh from a step file. Is there any way to map mesh triangles with the original geometry surfaces? In the header file I haven't found any function to do that. It looks like the .vol file format support this feature, is saving in this format and reading the information contained the only way to do that using nglib?

  • Víctor SV

    Víctor SV - 2013-03-06


    I think I'am doing something similar to your needs, i expain my solution for this, but i don't know if it is the best solution (i'am a newbie :) ).

    Once you have meshed the geometry, with nglib, you can do a loop and get any surface element with Ng_GetSurfaceElement, then with OCC you can project each surface element over any face of the geometry.

    To do that i use the GeomAPI package. You can read some info  in the following link (in a browser):

    Hopes it will be usefull.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks