mne.
write_bem_surfaces
Write BEM surfaces to a fiff file.
Filename to write.
The surfaces, or a single surface.