honeybee_ies.cli.translate module

honeybee ies translation commands.

honeybee_ies.cli.translate.gem_to_model(gem_file, output_file=None)[source]

Translate an IES GEM file to a HBJSON model.

Parameters:
  • gem_file – Full path to an IES VE GEM file.

  • output_file – Optional HBJSON file path to output the JSON string of the translation. If None, the string will be returned from this function.

honeybee_ies.cli.translate.model_to_gem(model_file, shade_thickness=0, output_file=None)[source]

Translate a Model JSON file to an IES GEM file.

Parameters:
  • model_file – Full path to a Honeybee Model file (HBJSON or HBpkl).

  • shade_thickness – Optional value for shade thickness in meters. This value will be used to extrude shades with no group id. IES does not consider the effect of shades with no thickness in SunCalc. This function extrudes the geometry to create a closed volume for the shade. (Default: 0).

  • output_file – Optional GEM file path to output the GEM string of the translation. If None, the string will be returned from this function.