This module has a similar scope to os.path, containing utility functions for dealing with paths in Blender.
Returns the absolute path relative to the current blend file using the “//” prefix.
Returns a name with characters replaced that may cause problems under various circumstances, such as writing to a file. All characters besides A-Z/a-z, 0-9 are replaced with “_” or the replace argument if defined.
Creates a display string from name to be used menus and the user interface. Capitalize the first letter in all lowercase names, mixed case names are kept as is. Intended for use with filenames and module names.
Return the path with the extension added its its not alredy set.
Parameters: |
|
---|
Returns the path relative to the current blend file using the “//” prefix.
Parameters: |
|
---|
Resolve a case insensitive path on a case sensitive system, returning a string with the path if found else return the original path.