Hello,
Regarding the use of the mixed-dimensional branch, I would suggest building your mesh using an external software such as Gmsh. This post gives more details on how to convert a Gmsh mesh using meshio and how to import it into FEniCS using xdmf format.