netgen icon indicating copy to clipboard operation
netgen copied to clipboard

Edges taging

Open Vilo176 opened this issue 3 years ago • 1 comments

Hi friends,

I'm using NetGen to surface mesh a planar parametric object. My entry point is an OCCT Brep file containing :

Solid #1
----> Shell #1
--------> Face #1
------------> Wire #1
----------------> Edges #1..N
Solid #2
----> Shell #2
--------> Face #2
------------> Wire #2
----------------> Edges #N+1..M

Result is good, but whatever the export format I choose, I only have in the export file :

  • Points XYZ
  • Triangles ABC + Tag (tag = index # of the parent Face in the input BRep)

Is it somehow possible to have NetGen exporting mesh Edges (Edge AB + Tag), so that it is possible to get the link between "mesh Edge" and "BRep Edge" ? Thanks !

Vilo176 avatar Jan 03 '23 09:01 Vilo176

OCCGeometry(dim = 2) did the trick

Olivier-Bastide-Numfem avatar Feb 14 '23 16:02 Olivier-Bastide-Numfem