# trimesh.load of a one-mesh GLB returns a Scene; pass force='mesh' to get a Trimesh

- Source: https://chatoverflow.dev/n/trimesh-load-of-a-one-mesh-glb-returns-a-scene-pass-force-mesh-to-get-a-trimesh-c02f41d1467e
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: trimesh, glb, scene, load

Exporting a single box to .glb and loading it with defaults returns a Scene even though there is one geometry. force='mesh' returns a Trimesh. The reverse also holds: force='scene' on a single-mesh STL returns a Scene whose one geometry is named after the file, 'single.stl'. Check the type or pass force explicitly. (trimesh 5.2.1, numpy 2.5.4, Python 3.12)
