honeybee-core 1.62.2__tar.gz → 1.62.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {honeybee_core-1.62.2/honeybee_core.egg-info → honeybee_core-1.62.4}/PKG-INFO +3 -3
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/aperture.py +7 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/door.py +7 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/model.py +18 -18
- {honeybee_core-1.62.2 → honeybee_core-1.62.4/honeybee_core.egg-info}/PKG-INFO +3 -3
- honeybee_core-1.62.4/honeybee_core.egg-info/requires.txt +5 -0
- honeybee_core-1.62.4/requirements.txt +3 -0
- honeybee_core-1.62.2/honeybee_core.egg-info/requires.txt +0 -5
- honeybee_core-1.62.2/requirements.txt +0 -3
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/.github/workflows/ci.yaml +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/.github/workflows/dependency-release.yaml +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/.gitignore +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/.releaserc.json +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/CODE_OF_CONDUCT.md +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/CONTRIBUTING.md +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/LICENSE +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/MANIFEST.in +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/README.md +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/deploy.sh +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/dev-requirements.txt +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/docs/_build/.nojekyll +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/docs/_build/README.md +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/docs/_build/docs/README.md +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/docs/_static/custom.css +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/docs/_templates/layout.html +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/docs/cli/index.rst +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/docs/conf.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/docs/index.rst +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/__init__.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/__main__.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/_base.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/_basewithshade.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/_lockable.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/altnumber.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/boundarycondition.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/checkdup.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/cli/__init__.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/cli/compare.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/cli/create.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/cli/edit.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/cli/lib.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/cli/setconfig.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/cli/validate.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/colorobj.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/config.json +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/config.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/dictutil.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/extensionutil.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/face.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/facetype.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/logutil.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/orientation.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/properties.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/room.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/search.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/shade.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/shademesh.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/typing.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/units.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/writer/__init__.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/writer/aperture.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/writer/door.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/writer/face.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/writer/model.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/writer/room.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/writer/shade.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee/writer/shademesh.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee_core.egg-info/SOURCES.txt +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee_core.egg-info/dependency_links.txt +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee_core.egg-info/entry_points.txt +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/honeybee_core.egg-info/top_level.txt +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/setup.cfg +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/setup.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/__init__.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/aperture_test.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/boundary_condition_test.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/cli_compare_test.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/cli_create_test.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/cli_edit_test.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/cli_validate_test.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/colorobj_test.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/config_test.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/dictutil_test.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/door_test.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/face_test.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/facetype_test.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/json/ShoeBox.json +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/json/bad_geometry_model.hbjson +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/json/colliding_room_volumes.hbjson +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/json/compare_model_1.hbjson +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/json/compare_model_2.hbjson +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/json/complex_polyfaces.json +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/json/minor_geometry/existing_model.hbjson +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/json/minor_geometry/updated_model.hbjson +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/json/mismatched_area_adj.hbjson +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/json/model_with_adiabatic.hbjson +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/json/model_with_holes.hbjson +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/json/model_without_adjacency.hbjson +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/json/nonascii_face.json +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/json/polygons_for_gap_boundary.json +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/json/room_for_window_offset.hbjson +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/json/single_family_home.hbjson +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/lockable_test.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/model_test.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/orientation_test.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/room_test.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/search_test.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/shade_test.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/shademesh_test.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/stl/cube_ascii.stl +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/stl/cube_binary.stl +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/typing_test.py +0 -0
- {honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/units_test.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: honeybee-core
|
|
3
|
-
Version: 1.62.
|
|
3
|
+
Version: 1.62.4
|
|
4
4
|
Summary: A library to create 3D building geometry for various types of environmental simulation.
|
|
5
5
|
Home-page: https://github.com/ladybug-tools/honeybee-core
|
|
6
6
|
Author: Ladybug Tools
|
|
@@ -18,8 +18,8 @@ Classifier: Programming Language :: Python :: Implementation :: IronPython
|
|
|
18
18
|
Classifier: Operating System :: OS Independent
|
|
19
19
|
Description-Content-Type: text/markdown
|
|
20
20
|
License-File: LICENSE
|
|
21
|
-
Requires-Dist: ladybug-core==0.44.
|
|
22
|
-
Requires-Dist: ladybug-geometry-polyskel==1.7.
|
|
21
|
+
Requires-Dist: ladybug-core==0.44.23
|
|
22
|
+
Requires-Dist: ladybug-geometry-polyskel==1.7.32
|
|
23
23
|
Requires-Dist: honeybee-schema==1.59.1; python_version >= "3.7"
|
|
24
24
|
Dynamic: author
|
|
25
25
|
Dynamic: author-email
|
|
@@ -94,6 +94,13 @@ class Aperture(_BaseWithShade):
|
|
|
94
94
|
assert data['type'] == 'Aperture', 'Expected Aperture dictionary. ' \
|
|
95
95
|
'Got {}.'.format(data['type'])
|
|
96
96
|
|
|
97
|
+
# remove any invalid holes from the geometry
|
|
98
|
+
geo_dict = data['geometry']
|
|
99
|
+
if 'holes' in geo_dict and geo_dict['holes'] is not None:
|
|
100
|
+
for i, hole_list in enumerate(geo_dict['holes']):
|
|
101
|
+
if len(hole_list) < 3:
|
|
102
|
+
geo_dict['holes'].pop(i)
|
|
103
|
+
|
|
97
104
|
# serialize the aperture
|
|
98
105
|
is_operable = data['is_operable'] if 'is_operable' in data else False
|
|
99
106
|
if data['boundary_condition']['type'] == 'Outdoors':
|
|
@@ -96,6 +96,13 @@ class Door(_BaseWithShade):
|
|
|
96
96
|
assert data['type'] == 'Door', 'Expected Door dictionary. ' \
|
|
97
97
|
'Got {}.'.format(data['type'])
|
|
98
98
|
|
|
99
|
+
# remove any invalid holes from the geometry
|
|
100
|
+
geo_dict = data['geometry']
|
|
101
|
+
if 'holes' in geo_dict and geo_dict['holes'] is not None:
|
|
102
|
+
for i, hole_list in enumerate(geo_dict['holes']):
|
|
103
|
+
if len(hole_list) < 3:
|
|
104
|
+
geo_dict['holes'].pop(i)
|
|
105
|
+
|
|
99
106
|
# serialize the door
|
|
100
107
|
is_glass = data['is_glass'] if 'is_glass' in data else False
|
|
101
108
|
if data['boundary_condition']['type'] == 'Outdoors':
|
|
@@ -3607,22 +3607,21 @@ class Model(_Base):
|
|
|
3607
3607
|
report = 'Input Model for validation is not a Model object, ' \
|
|
3608
3608
|
'file path to a Model or a Model HBJSON string.'
|
|
3609
3609
|
|
|
3610
|
-
# get the function to call to do checks
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
kwargs = {'raise_exception': False}
|
|
3610
|
+
if report == '': # get the function to call to do checks
|
|
3611
|
+
if '.' in check_function: # nested attribute
|
|
3612
|
+
attributes = check_function.split('.') # get all the sub-attributes
|
|
3613
|
+
check_func = model
|
|
3614
|
+
for attribute in attributes:
|
|
3615
|
+
if check_func is None:
|
|
3616
|
+
continue
|
|
3617
|
+
check_func = getattr(check_func, attribute, None)
|
|
3618
|
+
else:
|
|
3619
|
+
check_func = getattr(model, check_function, None)
|
|
3620
|
+
assert check_func is not None, \
|
|
3621
|
+
'Honeybee Model class has no method {}'.format(check_function)
|
|
3622
|
+
# process the arguments and options
|
|
3623
|
+
args = [] if check_args is None else [] + list(check_args)
|
|
3624
|
+
kwargs = {'raise_exception': False}
|
|
3626
3625
|
|
|
3627
3626
|
# create the report
|
|
3628
3627
|
if not json_output: # create a plain text report
|
|
@@ -3632,8 +3631,9 @@ class Model(_Base):
|
|
|
3632
3631
|
ver_msg = 'Validating Model using honeybee-core=={} and ' \
|
|
3633
3632
|
'honeybee-schema=={}'.format(c_ver, s_ver)
|
|
3634
3633
|
# run the check function
|
|
3635
|
-
|
|
3636
|
-
|
|
3634
|
+
if report == '':
|
|
3635
|
+
kwargs['detailed'] = False
|
|
3636
|
+
report = check_func(*args, **kwargs)
|
|
3637
3637
|
# format the results of the check
|
|
3638
3638
|
if report == '':
|
|
3639
3639
|
full_msg = ver_msg + '\nCongratulations! Your Model is valid!'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: honeybee-core
|
|
3
|
-
Version: 1.62.
|
|
3
|
+
Version: 1.62.4
|
|
4
4
|
Summary: A library to create 3D building geometry for various types of environmental simulation.
|
|
5
5
|
Home-page: https://github.com/ladybug-tools/honeybee-core
|
|
6
6
|
Author: Ladybug Tools
|
|
@@ -18,8 +18,8 @@ Classifier: Programming Language :: Python :: Implementation :: IronPython
|
|
|
18
18
|
Classifier: Operating System :: OS Independent
|
|
19
19
|
Description-Content-Type: text/markdown
|
|
20
20
|
License-File: LICENSE
|
|
21
|
-
Requires-Dist: ladybug-core==0.44.
|
|
22
|
-
Requires-Dist: ladybug-geometry-polyskel==1.7.
|
|
21
|
+
Requires-Dist: ladybug-core==0.44.23
|
|
22
|
+
Requires-Dist: ladybug-geometry-polyskel==1.7.32
|
|
23
23
|
Requires-Dist: honeybee-schema==1.59.1; python_version >= "3.7"
|
|
24
24
|
Dynamic: author
|
|
25
25
|
Dynamic: author-email
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/json/minor_geometry/existing_model.hbjson
RENAMED
|
File without changes
|
{honeybee_core-1.62.2 → honeybee_core-1.62.4}/tests/json/minor_geometry/updated_model.hbjson
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|