honeybee_ies.types module

class honeybee_ies.types.GEM_TYPES(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

Enumeration for different object types in GEM.

There is no public documentation for GEM files but here is our understanding based on the sample files.

| object | CATEGORY | TYPE | SUBTYPE | LAYER | COLOR | COL-RGB | KEYWORD |

Rooms/Spaces | 1 | 1 | 2001 | 1 | 0 | 16711680 | IES |
UnCond Space | 1 | 1 | 2002 | 1 | 0 | 16711680 | IES |
Trans Shades | 1 | 1 | 2102 | 64 | 0 | 0 | IES |
Nghbr Bldg | 1 | 2 | 0 | 62 | 0 | 16711935 | IES |
PV | 3 | 202 | 0 | 1 | 0 | 32767 | PVP |
Tree | 1 | 3 | 0 | 65 | 0 | 2399294 | LAN |
Topography | 1 | 3 | 0 | 63 | 0 | 38400 | IES |
Local Shades | 1 | 4 | 0 | 64 | 62 | 65280 | IES |
Local Shades | 1 | 4 | 2101 | 66 | 1 | 65280 | IES |
category()[source]
color(rgb=False)[source]
classmethod from_info(category: str, type_: int, subtype: int, keyword: str)[source]
classmethod from_user_data(user_data: Dict)[source]

Get type from user_data.

keyword()[source]
layer()[source]
subtype()[source]
to_gem(name: str, identifier: str, vertices: str, faces: str = '', vertices_count: int = 0, face_count: int = 0)[source]

Get a formatted GEM string.

type()[source]
ContextBuilding = '1-002-0000-62-00-16711935-IES'
PV = '3-202-0000-01-00-32767-PVP'
Shade = '1-004-0000-64-62-65280-IES'
Shade_2 = '1-004-2101-66-01-65280-IES'
Space = '1-001-2001-01-00-16711680-IES'
Topography = '1-003-0000-63-00-38400-IES'
TranslucentShade = '1-001-2102-64-00-0-IES'
Tree = '1-003-0000-65-00-2399294-LAN'