magnet.io.save_mesh#

magnet.io.save_mesh(self: AggMesh, output_path: str) None#

Save mesh to file.

Parameters:

output_path (str) – File path where the mesh will be saved.

Return type:

None

Notes

In the 3D case, vtkXMLUnstructuredGridWriter is used to write to file, so use the XML Unstructured Grid Reader to read the mesh.