honeybee_ies.reader module

honeybee_ies.reader.model_from_gem(gem_str: str, model_id: str = 'Unnamed', model_name: str = None) Model[source]

Create a Honeybee Model from the string contents of a VE GEM file.

Parameters:
  • gem_str – Text string representation of the contents of a GEM file.

  • model_id – Text string to be applied as the Model identifier. Typically, this is derived from the GEM file name. (Default: Unnamed).

  • model_name – Text string to be applied as the Model identifier. If None, this will be the same as the model_id. (Default: None).

Returns:

A Honeybee Model derived from the GEM file contents.

honeybee_ies.reader.model_from_ies(gem: str) Model[source]

Create a Honeybee Model from a VE GEM file.

Parameters:

gem – String for the path to a VE GEM file.

Returns:

A Honeybee Model derived from the GEM file contents.