honeybee_iesve.cli.translate module¶
honeybee iesve translation commands.
- honeybee_iesve.cli.translate.model_from_gem(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_iesve.cli.translate.model_to_gem(model_file, project_info=None, 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).
project_info – Full path to a ladybug ProjectInfo JSON that describes criteria about the project site. When specified, this will result in the north and location written into the GEM.
output_file – Optional GEM file path to output the GEM string of the translation. If None, the string will be returned from this function.