Honeybee extension for import and export to/from IES-VE
Project description
honeybee-ies
Honeybee extension for export a HBJSON file to IES-VE GEM file format
Installation
pip install honeybee-ies
QuickStart
import pathlib
from honeybee.model import Model
path_to_hbjson = './tests/assets/sample_model_45.hbjson'
path_to_out_folder = pathlib.Path('./tests/assets/temp')
path_to_out_folder.mkdir(parents=True, exist_ok=True)
model = Model.from_hbjson(path_to_hbjson)
# the to_gem method is added to model by honeybee-ies library
gem_file = model.to_gem(path_to_out_folder.as_posix(), name='sample_model_45')
You can also run the command from CLI
honeybee-ies translate model-to-gem ./tests/assets/revit_sample_model.hbjson --name revit-sample-model
API Documentation
Local Development
- Clone this repo locally
git clone git@github.com:ladybug-tools/honeybee-ies
# or
git clone https://github.com/ladybug-tools/honeybee-ies
- Install dependencies:
cd honeybee-ies
pip install -r dev-requirements.txt
pip install -r requirements.txt
- Run Tests:
python -m pytest tests/
- Generate Documentation:
sphinx-apidoc -f -e -d 4 -o ./docs ./honeybee_ies
sphinx-build -b html ./docs ./docs/_build/docs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
honeybee-ies-0.6.0.tar.gz
(162.0 kB
view hashes)
Built Distribution
Close
Hashes for honeybee_ies-0.6.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 876c246a28bc053026f4fa0ccc08c9c68b0b08f8d46bed3e188e6afa81520a73 |
|
MD5 | b3b2e1ebab877991a22abcde23a8bafe |
|
BLAKE2b-256 | 300ea79c2a2ca54b004459408b58a18febf82f2e652c6b240094ef3f538f5e38 |