honeybee-core 1.64.7__py3-none-any.whl → 1.64.9__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/model.py +3 -13
- {honeybee_core-1.64.7.dist-info → honeybee_core-1.64.9.dist-info}/METADATA +2 -2
- {honeybee_core-1.64.7.dist-info → honeybee_core-1.64.9.dist-info}/RECORD +7 -7
- {honeybee_core-1.64.7.dist-info → honeybee_core-1.64.9.dist-info}/WHEEL +0 -0
- {honeybee_core-1.64.7.dist-info → honeybee_core-1.64.9.dist-info}/entry_points.txt +0 -0
- {honeybee_core-1.64.7.dist-info → honeybee_core-1.64.9.dist-info}/licenses/LICENSE +0 -0
- {honeybee_core-1.64.7.dist-info → honeybee_core-1.64.9.dist-info}/top_level.txt +0 -0
honeybee/model.py
CHANGED
|
@@ -14,8 +14,7 @@ except ImportError: # wea are in cPython
|
|
|
14
14
|
import pickle
|
|
15
15
|
|
|
16
16
|
from ladybug_geometry.geometry2d import Polygon2D
|
|
17
|
-
from ladybug_geometry.geometry3d import Vector3D,
|
|
18
|
-
Mesh3D, Polyface3D
|
|
17
|
+
from ladybug_geometry.geometry3d import Vector3D, Plane, Face3D, Mesh3D, Polyface3D
|
|
19
18
|
from ladybug_geometry.bounding import overlapping_bounding_boxes
|
|
20
19
|
from ladybug_geometry.interop.stl import STL
|
|
21
20
|
|
|
@@ -2407,23 +2406,14 @@ class Model(_Base):
|
|
|
2407
2406
|
high that floating point tolerance interferes with the proper
|
|
2408
2407
|
representation of the model's details.
|
|
2409
2408
|
|
|
2410
|
-
In addition to moving the model such that the new_origin sets the
|
|
2411
|
-
coordinate values of the geometry, this method will also set the
|
|
2412
|
-
reference_vector of this object such that any models added into this
|
|
2413
|
-
one from the original source coordinate system respect the new system.
|
|
2414
|
-
|
|
2415
2409
|
Args:
|
|
2416
2410
|
new_origin: A Point3D in the model's current coordinate system that
|
|
2417
2411
|
will become the origin of the new coordinate system. If unspecified,
|
|
2418
2412
|
the minimum of the bounding box around the model geometry will
|
|
2419
|
-
be used
|
|
2420
|
-
set the Z coordinate. (Default: None).
|
|
2413
|
+
be used. (Default: None).
|
|
2421
2414
|
"""
|
|
2422
|
-
# compute the new_origin from the bounding box around the geometry
|
|
2423
2415
|
if new_origin is None:
|
|
2424
|
-
|
|
2425
|
-
z_val = self.average_height - self.average_height_above_ground
|
|
2426
|
-
new_origin = Point3D(min_2d.x, min_2d.y, z_val)
|
|
2416
|
+
new_origin = self.min
|
|
2427
2417
|
# move the geometry using a vector that is the inverse of the origin
|
|
2428
2418
|
ref_vec = Vector3D(-new_origin.x, -new_origin.y, -new_origin.z)
|
|
2429
2419
|
self.move(ref_vec)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: honeybee-core
|
|
3
|
-
Version: 1.64.
|
|
3
|
+
Version: 1.64.9
|
|
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,7 +18,7 @@ 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.
|
|
21
|
+
Requires-Dist: ladybug-core==0.44.30
|
|
22
22
|
Requires-Dist: ladybug-geometry-polyskel==1.7.35
|
|
23
23
|
Requires-Dist: honeybee-schema==1.59.1; python_version >= "3.7"
|
|
24
24
|
Dynamic: author
|
|
@@ -16,7 +16,7 @@ honeybee/extensionutil.py,sha256=DDQYhM7tFD3avRSCOjwTzLqX9ldUxl5GzY79V3_sATE,964
|
|
|
16
16
|
honeybee/face.py,sha256=BOL2tlFLErxY27euixVWFzL1z-xtABtzvMmLIpzMqcE,111961
|
|
17
17
|
honeybee/facetype.py,sha256=vCtWZKHp21RH-Yzs8zsHJHuFhJvczNh0yFl8wDe_RWY,4489
|
|
18
18
|
honeybee/logutil.py,sha256=2gn-6RcWqFLvwdFzBHPqUwFqTj_R3iwHKALrl-2eL7M,2564
|
|
19
|
-
honeybee/model.py,sha256=
|
|
19
|
+
honeybee/model.py,sha256=tMF9Gjph2BbdPcn2b7P2B2cRnIgNGrKDUVbrUYCPmeY,204103
|
|
20
20
|
honeybee/orientation.py,sha256=GogGblASW9OU-fobfDaQ7w5yRbEAFdJJuHwg2fadhKI,5046
|
|
21
21
|
honeybee/properties.py,sha256=ok976fbUdXzLDR2XiPNf8Q5ejfOM-PArqm5CVUbFiCc,34316
|
|
22
22
|
honeybee/room.py,sha256=ptwpQPx6FpWgu7A0XhM2rekZY6dXMZCC62kwpn00JAY,169215
|
|
@@ -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.64.
|
|
44
|
-
honeybee_core-1.64.
|
|
45
|
-
honeybee_core-1.64.
|
|
46
|
-
honeybee_core-1.64.
|
|
47
|
-
honeybee_core-1.64.
|
|
48
|
-
honeybee_core-1.64.
|
|
43
|
+
honeybee_core-1.64.9.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
|
44
|
+
honeybee_core-1.64.9.dist-info/METADATA,sha256=OS9Xj4aqFuwbmwj9PwNzOp9k_dPEkzFNoOt494bfJnQ,3729
|
|
45
|
+
honeybee_core-1.64.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
46
|
+
honeybee_core-1.64.9.dist-info/entry_points.txt,sha256=r3YqOm40goBroH3ccUhpwQjvTwu10JWLd0HIRHI1J8E,47
|
|
47
|
+
honeybee_core-1.64.9.dist-info/top_level.txt,sha256=8ve7puCRLUA9XDEGc1Mcs-UX9sFjpPV8MeTaIMwQ_Tg,9
|
|
48
|
+
honeybee_core-1.64.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|