thank you very much, this is helpful (and logic, actually...) !
would maybe the create_conn_graph function from the safety.discrete.fem.mesh module  do the trick as well? I would prefer not having to exit my pipeline, as the geometries are created within python and would best be handed directly to sfepy.
(will look into possibly integrating gmsh into the notebook, too.)
best wishes, and thanks again -christian