honeybee_plus.radiance.factory module¶
Material utility.
-
honeybee_plus.radiance.factory.
material_from_json
(mat_json)[source]¶ Create Honeybee Radiance material from string.
- Parameters
mat_json – A radiance modifier string. The input can be a multi-line string.
- Returns
A list of Honeybee Radiance materials.
-
honeybee_plus.radiance.factory.
material_from_string
(mat_string)[source]¶ Create Honeybee Radiance material from string.
- Parameters
mat_string – A radiance modifier string. The input can be a multi-line string.
- Returns
A list of Honeybee Radiance materials.
-
honeybee_plus.radiance.factory.
primitive_from_json
(prm_json)[source]¶ - Parameters
prm_json – A radiance modifier as a dictionary.
- Returns
A list of Honeybee Radiance primitives. If input includes polygons and materials, materials will be added to polygons as modifiers. This method will return all the polygons and only the materials that are not used.
-
honeybee_plus.radiance.factory.
primitive_from_string
(prm_string)[source]¶ Create Honeybee Radiance primitives from string.
- Parameters
prim_string – A radiance modifier string. The input can be a multi-line string.
- Returns
A list of Honeybee Radiance primitives. If input includes polygons and materials, materials will be added to polygons as modifiers. This method will return all the polygons and only the materials that are not used.