Add Volume from Surface
Good morning prof @geuzaine. In issue #2254 I was importing a step file and I was not able to get the solid mesh. In fact, as you said, I checked on the file and I realized that the geometry in the step file consisted of just a bunch of surfaces
surfaces = gmsh.model.getEntities(2)
print(surfaces)
surfacesTags = [x[1] for x in surfaces]
print(surfacesTags)
surface_loop = gmsh.model.occ.addSurfaceLoop(surfacesTags, 1, True)
print(surface_loop)
solid = gmsh.model.occ.addVolume([surface_loop], 1)
print(solid)
This is what I get: meaning that 3dimensional entities are not there. In fact, when I hope the model:
Do you know why this happens? I also used gmsh.model.geo.addSurfaceLoop and gmsh.model.geo.addVolume and I got the same result
Thank you!!!