tfg.io.triangle_mesh.load

Loads a triangle mesh from the given GFile/file path.

file_obj A tf.io.gfile.GFile object or a string specifying the mesh file path.
file_type A string specifying the type of the file (e.g. 'obj', 'stl'). If not specified the file_type will be inferred from the file name.
**kwargs Additional arguments that should be passed to trimesh.load().

A trimesh.Trimesh or trimesh.Scene.