|
Assimp
v4.1. (December 2018)
|
Functions | |
| def | get_bounding_box (scene) |
| def | get_bounding_box_for_node (node, bb_min, bb_max, transformation) |
| def | hasattr_silent (object, name) |
| def | search_library () |
| def | transform (vector3, matrix4x4) |
| def | vec2tuple (x) |
Variables | |
| additional_dirs | |
| ext_whitelist | |
| logger | |
| numpy | |
| 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,
export to blob 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.vec2tuple | ( | x | ) |
Converts a VECTOR3D to a Tuple
| pyassimp.helper.additional_dirs |
| pyassimp.helper.ext_whitelist |
| pyassimp.helper.logger |
| pyassimp.helper.numpy |