Confusing result from model.getBoundary for torus
I have imported a torus as a STEP file (as attached) in Gmsh using the Python interface and then queried Gmsh for the boundary entities of the face. Surprisingly I get en empty result which I would consider to be wrong. Does Gmsh guarantee in such cases, that the end of the face is exactly defined by the parameterization bounds, so that I can identify the curves by comparing their positions with the position of the face?
import gmsh
gmsh.initialize()
gmsh.model.occ.importShapes('C:\\Desktop\\Torus.stp')
gmsh.model.occ.synchronize()
print(gmsh.model.getBoundary([[2, 1]]))