, file_type=None, resolver=None, **kwargs)

Use the pyassimp library to load a mesh from a file object and type or file name if file_obj is a string

  • file_obj (str, or file object) – File path or object containing mesh data

  • file_type (str) – File extension, aka ‘stl’

  • resolver (trimesh.visual.resolvers.Resolver) – Used to load referenced data (like texture files)

  • kwargs (dict) – Passed through to mesh constructor


scene – Native trimesh copy of assimp scene

Return type