assimp_loader¶
pyassimp-backed importer: parse a model file into a
SceneData.
pyassimp is a thin ctypes wrapper around the native Open Asset Import
Library (assimp). The Python package (pip install pyassimp) does not
ship that native library, so a clear, actionable error is raised if it is
missing rather than a bare ctypes failure. On Windows install the native
DLL (e.g. conda install -c conda-forge assimp and put assimp*.dll on the
PATH, or drop it beside the app); on Linux/mac install libassimp from the
system package manager.
Only the static-geometry portion of the IR is required by the current import phase; bones and animation channels are extracted here too so the later skeletal / morph phases have their inputs without a loader change.
Functions