digeo.load_mesh_from_file#

digeo.load_mesh_from_file(filename, device='cpu', dtype=torch.float32)[source]#

Load a mesh from a file. The file type is determined from the extension.

Parameters:

filename (str | Path) – Path to the mesh file

Returns:

The loaded mesh

Return type:

Mesh