dragonfly-radiance 0.3.227__tar.gz → 0.3.229__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.
- {dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/PKG-INFO +2 -2
- {dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance/properties/building.py +16 -0
- {dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance/properties/room2d.py +14 -1
- {dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance.egg-info/PKG-INFO +2 -2
- {dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance.egg-info/requires.txt +1 -1
- {dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/requirements.txt +1 -1
- {dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/CODE_OF_CONDUCT.md +0 -0
- {dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/CONTRIBUTING.md +0 -0
- {dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/LICENSE +0 -0
- {dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/MANIFEST.in +0 -0
- {dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/README.md +0 -0
- {dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dev-requirements.txt +0 -0
- {dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance/__init__.py +0 -0
- {dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance/__main__.py +0 -0
- {dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance/_extend_dragonfly.py +0 -0
- {dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance/cli/__init__.py +0 -0
- {dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance/cli/translate.py +0 -0
- {dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance/gridpar.py +0 -0
- {dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance/properties/__init__.py +0 -0
- {dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance/properties/context.py +0 -0
- {dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance/properties/model.py +0 -0
- {dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance/properties/story.py +0 -0
- {dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance.egg-info/SOURCES.txt +0 -0
- {dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance.egg-info/dependency_links.txt +0 -0
- {dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance.egg-info/entry_points.txt +0 -0
- {dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance.egg-info/top_level.txt +0 -0
- {dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/setup.cfg +0 -0
- {dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dragonfly-radiance
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.229
|
|
4
4
|
Summary: Dragonfly extension for radiance simulation.
|
|
5
5
|
Home-page: https://github.com/ladybug-tools/dragonfly-radiance
|
|
6
6
|
Author: Ladybug Tools
|
|
@@ -14,7 +14,7 @@ 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: dragonfly-core==1.
|
|
17
|
+
Requires-Dist: dragonfly-core==1.59.0
|
|
18
18
|
Requires-Dist: honeybee-radiance==1.66.149
|
|
19
19
|
|
|
20
20
|

|
{dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance/properties/building.py
RENAMED
|
@@ -60,6 +60,22 @@ class BuildingRadianceProperties(object):
|
|
|
60
60
|
for room_2d in self.host.unique_room_2ds:
|
|
61
61
|
room_2d.properties.radiance.add_grid_parameter(grid_par)
|
|
62
62
|
|
|
63
|
+
def make_plenums(self, room_ids):
|
|
64
|
+
"""Turn Room2Ds on the host Building into plenums with no inside grid parameters.
|
|
65
|
+
|
|
66
|
+
Grid parameters for exterior facades will be kept. This is useful to
|
|
67
|
+
appropriately assign properties for closets, underfloor spaces, and
|
|
68
|
+
drop ceilings.
|
|
69
|
+
|
|
70
|
+
Args:
|
|
71
|
+
room_ids: A list of identifiers for Room2Ds on this Building to be
|
|
72
|
+
converted into plenums.
|
|
73
|
+
"""
|
|
74
|
+
room_ids = set(room_ids)
|
|
75
|
+
for rm in self.host.unique_room_2ds:
|
|
76
|
+
if rm.identifier in room_ids:
|
|
77
|
+
rm.properties.radiance.make_plenum()
|
|
78
|
+
|
|
63
79
|
@classmethod
|
|
64
80
|
def from_dict(cls, data, host):
|
|
65
81
|
"""Create BuildingRadianceProperties from a dictionary.
|
{dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance/properties/room2d.py
RENAMED
|
@@ -5,7 +5,7 @@ from honeybee_radiance.modifierset import ModifierSet
|
|
|
5
5
|
from honeybee_radiance.lib.modifiersets import generic_modifier_set_visible
|
|
6
6
|
|
|
7
7
|
import dragonfly_radiance.gridpar as sg_par
|
|
8
|
-
from ..gridpar import _GridParameterBase
|
|
8
|
+
from ..gridpar import _GridParameterBase, RoomGridParameter, RoomRadialGridParameter
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class Room2DRadianceProperties(object):
|
|
@@ -93,6 +93,19 @@ class Room2DRadianceProperties(object):
|
|
|
93
93
|
'Expected GridParameter. Got {}.'.format(type(grid_parameter))
|
|
94
94
|
self._grid_parameters.append(grid_parameter)
|
|
95
95
|
|
|
96
|
+
def make_plenum(self):
|
|
97
|
+
"""Turn the host Room2D into a plenum with no grid parameters inside the room.
|
|
98
|
+
|
|
99
|
+
Grid parameters for exterior facades will be kept. This is useful to
|
|
100
|
+
appropriately assign properties for closets, underfloor spaces, and
|
|
101
|
+
drop ceilings.
|
|
102
|
+
"""
|
|
103
|
+
plenum_g_par = []
|
|
104
|
+
for g_par in self._grid_parameters:
|
|
105
|
+
if not isinstance(g_par, (RoomGridParameter, RoomRadialGridParameter)):
|
|
106
|
+
plenum_g_par.append(g_par)
|
|
107
|
+
self._grid_parameters = plenum_g_par
|
|
108
|
+
|
|
96
109
|
@classmethod
|
|
97
110
|
def from_dict(cls, data, host):
|
|
98
111
|
"""Create Room2DRadianceProperties from a dictionary.
|
{dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dragonfly-radiance
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.229
|
|
4
4
|
Summary: Dragonfly extension for radiance simulation.
|
|
5
5
|
Home-page: https://github.com/ladybug-tools/dragonfly-radiance
|
|
6
6
|
Author: Ladybug Tools
|
|
@@ -14,7 +14,7 @@ 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: dragonfly-core==1.
|
|
17
|
+
Requires-Dist: dragonfly-core==1.59.0
|
|
18
18
|
Requires-Dist: honeybee-radiance==1.66.149
|
|
19
19
|
|
|
20
20
|

|
{dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance.egg-info/requires.txt
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
dragonfly-core==1.
|
|
1
|
+
dragonfly-core==1.59.0
|
|
2
2
|
honeybee-radiance==1.66.149
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
dragonfly-core==1.
|
|
1
|
+
dragonfly-core==1.59.0
|
|
2
2
|
honeybee-radiance==1.66.149
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance/_extend_dragonfly.py
RENAMED
|
File without changes
|
{dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance/cli/__init__.py
RENAMED
|
File without changes
|
{dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance/cli/translate.py
RENAMED
|
File without changes
|
|
File without changes
|
{dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance/properties/__init__.py
RENAMED
|
File without changes
|
{dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance/properties/context.py
RENAMED
|
File without changes
|
{dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance/properties/model.py
RENAMED
|
File without changes
|
{dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance/properties/story.py
RENAMED
|
File without changes
|
{dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dragonfly_radiance-0.3.227 → dragonfly_radiance-0.3.229}/dragonfly_radiance.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|