simnibs.
write_msh
Writes a gmsh ‘msh’ file
msh (simnibs.msh.Msh) – Mesh structure
file_name (str (optional)) – Name of file to be writte. Default: msh.fn
mode ('binary' or 'ascii':) – The mode in which the file should be read