This module contains utility functions specific to blender but not assosiated with blenders internal data.
Returns a list of paths to external files referenced by the loaded .blend file.
Parameters: | absolute (boolean) – When true the paths returned are made absolute. |
---|---|
Returns: | path list. |
Return type: | list of strings |
Load scripts and run each modules register function.
Parameters: |
|
---|
Load all modules in a path and return them as a list.
Parameters: |
|
---|---|
Returns: | all loaded modules. |
Return type: | list |
Returns a list of paths for a specific preset.
Register a subclass of a blender type in (Panel, Menu, Header, Operator, KeyingSetInfo, RenderEngine).
If the class has a register class method it will be called before registration.
Note
ValueError exception is raised if the class is not a subclass of a registerable blender class.
Return the base path for storing system files.
Parameters: |
|
---|---|
Returns: | the resource path (not necessarily existing). |
Return type: | string |
Returns a list of valid script paths from the home directory and user preferences.
Accepts any number of string arguments which are joined to make a path.
Returns an SMPTE formatted string from the frame: “HH:MM:SS:FF”.
If fps and fps_base are not given the current scene is used.
Returns an SMPTE formatted string from the time in seconds: “HH:MM:SS:FF”.
If the fps is not given the current scene is used.
Unload the python class from blender.
If the class has an unregister class method it will be called before unregistering.
Return a user resource path (normally from the users home directory).
Parameters: |
|
---|---|
Returns: | a path. |
Return type: | string |