honeybee_display.door module¶
Method to translate a Door to a VisualizationSet.
- honeybee_display.door.door_to_vis_set(door, color_by='type')[source]¶
Translate a Honeybee Door to a VisualizationSet.
- Parameters:
door – A Honeybee Door object to be converted to a VisualizationSet.
color_by –
Text for the property that dictates the colors of the Door geometry. (Default: type). Choose from the following:
type
boundary_condition
- Returns:
A VisualizationSet object that represents the Door with a single ContextGeometry.
- honeybee_display.door.door_to_vis_set_wireframe(door, include_shades=True, color=None)[source]¶
Get a VisualizationSet with a single ContextGeometry for the door wireframe.
- Parameters:
door – A Honeybee Door object to be translated to a wireframe.
include_shades – Boolean for whether the wireframe should include shades of the Door. (Default: True).
color – An optional Color object to set the color of the wireframe. If None, the color will be black.
- Returns:
A VisualizationSet with a single ContextGeometry and a list of DisplayLineSegment3D for the wireframe of the Door.