honeybee_3dm.material module

Functions to work with the radiance material file

honeybee_3dm.material.mat_to_dict(path)[source]

Create a dictionary from a .mat file.

This function reads every material in the .mat file and outputs a dictionary with a identifier : modifier structure.

Parameters

path – A text string for the path to the .mat file

Returns

A dictionary with radiance identifier to radiance modifier mapping.

honeybee_3dm.material.to_string(str_lst)[source]

Get a joined string from a list of strings.

Parameters

str_lst – A list of strings

Returns

A string.