Assimp
v3.1.1 (June 2014)
|
Functions | |
def | get_bounding_box |
def | get_bounding_box_for_node |
def | hasattr_silent |
def | search_library |
def | transform |
def | try_load_functions |
def | vec2tuple |
Variables | |
list | path_dirs = os.environ['PATH'] |
def pyassimp.helper.get_bounding_box | ( | scene | ) |
def pyassimp.helper.get_bounding_box_for_node | ( | node, | |
bb_min, | |||
bb_max, | |||
transformation | |||
) |
def pyassimp.helper.hasattr_silent | ( | object, | |
name | |||
) |
Calls hasttr() with the given parameters and preserves the legacy (pre-Python 3.2) functionality of silently catching exceptions. Returns the result of hasatter() or False if an exception was raised.
def pyassimp.helper.search_library | ( | ) |
Loads the assimp library. Throws exception AssimpError if no library_path is found Returns: tuple, (load from filename function, load from memory function, export to filename function, release function, dll)
def pyassimp.helper.transform | ( | vector3, | |
matrix4x4 | |||
) |
Apply a transformation matrix on a 3D vector. :param vector3: array with 3 elements :param matrix4x4: 4x4 matrix
def pyassimp.helper.try_load_functions | ( | library_path, | |
dll | |||
) |
Try to bind to aiImportFile and aiReleaseImport Arguments --------- library_path: path to current lib dll: ctypes handle to library Returns --------- If unsuccessful: None If successful: Tuple containing (library_path, load from filename function, load from memory function, export to filename function, release function, ctypes handle to assimp library)
def pyassimp.helper.vec2tuple | ( | x | ) |
Converts a VECTOR3D to a Tuple
list pyassimp.helper.path_dirs = os.environ['PATH'] |