Classes | |
| class | WaveData |
Functions | |
| def | calculate_hash_for_file |
| def | is_existing_file |
| def | script_path |
| def | run_blender |
| def | collect_python3_paths |
| def | get_referenced_file_ids |
| def | abspath |
| def | get_metadatavalue_fieldname |
| def | get_metadatavalue_type |
| def | pretty_print_metadatavalue |
| def | pretty_print_asset_id |
| def | pretty_print_asset_descr |
| def | pretty_print_file_id |
| def | pretty_print_file_description |
| def | find_asset_ids_in_file_descr |
| def | find_asset_id_in_file_descr |
| def | get_asset_names_in_file_descr |
| def | unique_asset_id_reference |
| def | unique_asset_id_reference_from_fields |
General utilities.
| def damn_at.utilities.abspath | ( | path, | |
file_descr = None |
|||
| ) |
Return an absolute path using the given FileDescription as reference.
| def damn_at.utilities.calculate_hash_for_file | ( | an_uri | ) |
Returns a sha1 hexdigest for the given file. :param an_uri: the URI pointing to the file :rtype: string
| def damn_at.utilities.collect_python3_paths | ( | ) |
Collect python3's 'dist-packages' paths to create PYTHONPATH with

| def damn_at.utilities.find_asset_id_in_file_descr | ( | file_descr, | |
| asset_name, | |||
| asset_mimetype | |||
| ) |
Find an AssetId by name in the given FileDescription :param file_descr: :py:class:`damn_at.FileDescription` :param asset_name: string the asset to look for :rtype: list of :py:class:`damn_at.AssetId`

| def damn_at.utilities.find_asset_ids_in_file_descr | ( | file_descr, | |
| asset_name | |||
| ) |
Find an AssetId by name in the given FileDescription :param file_descr: :py:class:`damn_at.FileDescription` :param asset_name: string the asset to look for :rtype: list of :py:class:`damn_at.AssetId`

| def damn_at.utilities.get_asset_names_in_file_descr | ( | file_descr | ) |
Get all asset names in the given FileDescription :param file_descr: :py:class:`damn_at.FileDescription` :rtype: list<string> of asset names contained
| def damn_at.utilities.get_metadatavalue_fieldname | ( | type_name | ) |
Return the name of the field holding the value in MetaDataValue :param type_name: string of :py:class:`damn_at.MetaDataType` :rtype: string

| def damn_at.utilities.get_metadatavalue_type | ( | value | ) |
Return the name of the type and the value of the MetaDataValue :param value: :py:class:`damn_at.MetaDataValue` :rtype: tuple<string,string>


| def damn_at.utilities.get_referenced_file_ids | ( | file_descr | ) |
Collect all FileIds in a FileDescription
| def damn_at.utilities.is_existing_file | ( | an_uri | ) |
Returns whether the file exists and it is an actual file. :param an_uri: the URI pointing to the file :rtype: bool
| def damn_at.utilities.pretty_print_asset_descr | ( | asset_descr, | |
indent = 0 |
|||
| ) |
Pretty print a given AssetDescription :param asset_id: :py:class:`damn_at.AssetDescription` :param indent: indentation level


| def damn_at.utilities.pretty_print_asset_id | ( | asset_id, | |
indent = 0 |
|||
| ) |
Pretty print a given AssetId :param asset_id: :py:class:`damn_at.AssetId` :param indent: indentation level


| def damn_at.utilities.pretty_print_file_description | ( | file_descr | ) |
Pretty print a given FileDescription :param asset_id: :py:class:`damn_at.FileDescription` :param indent: indentation level

| def damn_at.utilities.pretty_print_file_id | ( | file_id, | |
indent = 0 |
|||
| ) |
Pretty print a given FileId :param asset_id: :py:class:`damn_at.FileId` :param indent: indentation level

| def damn_at.utilities.pretty_print_metadatavalue | ( | key, | |
| value, | |||
indent = 0 |
|||
| ) |
Pretty print a given MetaDataValue :param key: the name of the MetaDataValue :param value: :py:class:`damn_at.MetaDataValue` :param indent: indentation level


| def damn_at.utilities.run_blender | ( | an_uri, | |
| script_uri, | |||
arguments = None |
|||
| ) |
Runs blender with the given file and script

| def damn_at.utilities.script_path | ( | filename | ) |
b-script-'+__file__+'.py :param filename: __file__ :rtype: string
1.8.6