honeybee_idaice.shade module¶
- honeybee_idaice.shade.shade_meshes_to_idm(shades: List[ShadeMesh], tolerance: float, decimal_places: int = 3)[source]¶
Convert a list of Shades to a IDM string.
- Parameters:
shades – A list of Honeybee ShadeMeshes.
tolerance – The maximum difference between X, Y, and Z values at which point vertices are considered distinct from one another.
decimal_places – An integer for the number of decimal places to which coordinate values will be rounded. (Default: 3).
- Returns:
A formatted string that represents this shade in IDM format.
- honeybee_idaice.shade.shades_to_idm(shades: List[Shade], tolerance: float, decimal_places: int = 3)[source]¶
Convert a list of Shades to a IDM string.
- Parameters:
shades – A list of Honeybee Shade objects.
tolerance – The maximum difference between X, Y, and Z values at which point vertices are considered distinct from one another.
decimal_places – An integer for the number of decimal places to which coordinate values will be rounded. (Default: 3).
- Returns:
A formatted string that represents this shade in IDM format.