honeybee_iesve.reader module

honeybee_iesve.reader.model_from_gem(gem_str, model_id='Unnamed', model_name=None)[source]

Create a Honeybee Model from the string contents of an IESVE 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 – Optional 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.