honeybee_openstudio.cli.translate module

honeybee-openstudio translation commands.

honeybee_openstudio.cli.translate.append_to_osm(osm_file, model_file, output_file=None)[source]

Append a Honeybee Model to a OSM file.

Parameters:
  • osm_file – Full path to an OpenStudio Model file (OSM).

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

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

honeybee_openstudio.cli.translate.model_to_osm(model_file, output_file=None)[source]

Translate a Honeybee Model to an OSM file.

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

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

honeybee_openstudio.cli.translate.osm_to_idf(osm_file, output_file=None)[source]

Translate a Honeybee Model to an OSM file.

Parameters:
  • osm_file – Full path to an OpenStudio Model file (OSM).

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