honeybee-core 1.61.22__py2.py3-none-any.whl → 1.61.24__py2.py3-none-any.whl

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/face.py CHANGED
@@ -1749,16 +1749,24 @@ class Face(_BaseWithShade):
1749
1749
  at which point the vertex is considered colinear. Default: 0.01,
1750
1750
  suitable for objects in meters.
1751
1751
  """
1752
+ # set up lists to track sub-faces to remove
1753
+ del_ap_i, del_dr_i = [], []
1754
+ # remove degenerate apertures
1752
1755
  for i, ap in enumerate(self._apertures):
1753
1756
  try:
1754
1757
  ap.remove_colinear_vertices(tolerance)
1755
1758
  except ValueError:
1756
- self._apertures.pop(i)
1759
+ del_ap_i.append(i)
1760
+ for del_i in reversed(del_ap_i):
1761
+ self._apertures.pop(del_i)
1762
+ # remove degenerate doors
1757
1763
  for i, dr in enumerate(self._doors):
1758
1764
  try:
1759
1765
  dr.remove_colinear_vertices(tolerance)
1760
1766
  except ValueError:
1761
- self._apertures.pop(i)
1767
+ del_dr_i.append(i)
1768
+ for del_i in reversed(del_dr_i):
1769
+ self._doors.pop(del_i)
1762
1770
 
1763
1771
  def is_geo_equivalent(self, face, tolerance=0.01):
1764
1772
  """Get a boolean for whether this object is geometrically equivalent to another.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: honeybee-core
3
- Version: 1.61.22
3
+ Version: 1.61.24
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
@@ -14,8 +14,8 @@ Classifier: License :: OSI Approved :: GNU Affero General Public License v3
14
14
  Classifier: Operating System :: OS Independent
15
15
  Description-Content-Type: text/markdown
16
16
  License-File: LICENSE
17
- Requires-Dist: ladybug-core==0.44.16
18
- Requires-Dist: ladybug-geometry-polyskel==1.7.27
17
+ Requires-Dist: ladybug-core==0.44.17
18
+ Requires-Dist: ladybug-geometry-polyskel==1.7.28
19
19
  Requires-Dist: honeybee-schema==1.59.0; python_version >= "3.7"
20
20
 
21
21
  ![Honeybee](https://www.ladybug.tools/assets/img/honeybee.png)
@@ -13,7 +13,7 @@ honeybee/config.py,sha256=auH_ooOyqMKAeBZxUc2NGUehUcYg8SHya98b5hfNlvM,13836
13
13
  honeybee/dictutil.py,sha256=cOqkhgJSQ3MviIkqOPv8MRb-N-BeDv07cVcNg7w7nLY,1992
14
14
  honeybee/door.py,sha256=xbdefvnPPhwWzU66SpNL1C1A1YW5CNC8sLRabFZUf4E,28571
15
15
  honeybee/extensionutil.py,sha256=DDQYhM7tFD3avRSCOjwTzLqX9ldUxl5GzY79V3_sATE,9644
16
- honeybee/face.py,sha256=j_0YPI-dZGQQZ8CJNUtmO2LC-IfpVA_Fwp7ivOoBl6Y,107622
16
+ honeybee/face.py,sha256=nHQ4WZnUTrbRgCxMWgz2Td71dGFGi1krxDpMyjdAHxE,107930
17
17
  honeybee/facetype.py,sha256=vCtWZKHp21RH-Yzs8zsHJHuFhJvczNh0yFl8wDe_RWY,4489
18
18
  honeybee/logutil.py,sha256=2gn-6RcWqFLvwdFzBHPqUwFqTj_R3iwHKALrl-2eL7M,2564
19
19
  honeybee/model.py,sha256=RZhj195_Nr5jlUauEOo7H5ZdNZDdKyBb2kwhDxRB1oI,175099
@@ -40,9 +40,9 @@ honeybee/writer/model.py,sha256=N7F_jksf-5TrdVecuxTaFWxnPVFLmQs7k8g27TsdB7Q,177
40
40
  honeybee/writer/room.py,sha256=kFghgStTU1SEJSLigXB0VjOWhZtgs4uXuAqdwd4yRQo,174
41
41
  honeybee/writer/shade.py,sha256=EpgX-vMc-s21TnMvNWvWTKyT8iAnxu1nFVXzjY1oyF8,177
42
42
  honeybee/writer/shademesh.py,sha256=Y41bLogJ7dwpvMe5cAWVRDRVqJEwo9e5hFJQjlt6UX8,189
43
- honeybee_core-1.61.22.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
44
- honeybee_core-1.61.22.dist-info/METADATA,sha256=5aj53yDHt2gno8ipT2Qtaadkm8m_qIHwx27wIiUn-cM,3317
45
- honeybee_core-1.61.22.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
46
- honeybee_core-1.61.22.dist-info/entry_points.txt,sha256=r3YqOm40goBroH3ccUhpwQjvTwu10JWLd0HIRHI1J8E,47
47
- honeybee_core-1.61.22.dist-info/top_level.txt,sha256=8ve7puCRLUA9XDEGc1Mcs-UX9sFjpPV8MeTaIMwQ_Tg,9
48
- honeybee_core-1.61.22.dist-info/RECORD,,
43
+ honeybee_core-1.61.24.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
44
+ honeybee_core-1.61.24.dist-info/METADATA,sha256=S0Yt3Q43hUt4OJzNU9IPynJF5X4Boxj0JJbxkcVQ8fA,3317
45
+ honeybee_core-1.61.24.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
46
+ honeybee_core-1.61.24.dist-info/entry_points.txt,sha256=r3YqOm40goBroH3ccUhpwQjvTwu10JWLd0HIRHI1J8E,47
47
+ honeybee_core-1.61.24.dist-info/top_level.txt,sha256=8ve7puCRLUA9XDEGc1Mcs-UX9sFjpPV8MeTaIMwQ_Tg,9
48
+ honeybee_core-1.61.24.dist-info/RECORD,,