how to obtain 1D entity information pre-meshing (post gmsh.model.occ.removeAllDuplicates())
Hi,
I have come across an issue using Gmsh. I use the function gmsh.model.occ.removeAllDuplicates() to get rid of duplicate entities using Boolean Fragments. This creates all new entities with new tags. I wish to then get information about these new 1D entities such as: what their lengths are, what 0D entities lie on them or form their ends, what the distance is between their end points, what 2D entities they form the boundaries of etc...
I can find no functions in the documentation that allow a user to get this information. However Gmsh must be storing it. Currently my only way of working out which 1D entity is which is to plot the mesh using the Gmsh GUI where it can be visualised and some of the above info can be viewed (see image).
But how do I access this information without having to go into the Gmsh GUI? (I need to know which 1D element is which prior to meshing so that I can set transfinite meshing constraints)
Thank you very much for your time!