dragonfly-radiance 0.3.31__py2.py3-none-any.whl → 0.3.33__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.
Potentially problematic release.
This version of dragonfly-radiance might be problematic. Click here for more details.
- dragonfly_radiance/properties/context.py +7 -2
- {dragonfly_radiance-0.3.31.dist-info → dragonfly_radiance-0.3.33.dist-info}/METADATA +4 -2
- {dragonfly_radiance-0.3.31.dist-info → dragonfly_radiance-0.3.33.dist-info}/RECORD +7 -7
- {dragonfly_radiance-0.3.31.dist-info → dragonfly_radiance-0.3.33.dist-info}/LICENSE +0 -0
- {dragonfly_radiance-0.3.31.dist-info → dragonfly_radiance-0.3.33.dist-info}/WHEEL +0 -0
- {dragonfly_radiance-0.3.31.dist-info → dragonfly_radiance-0.3.33.dist-info}/entry_points.txt +0 -0
- {dragonfly_radiance-0.3.31.dist-info → dragonfly_radiance-0.3.33.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
2
|
"""Context Shade Radiance Properties."""
|
|
3
|
+
from honeybee.shade import Shade
|
|
3
4
|
from honeybee_radiance.modifier import Modifier
|
|
4
5
|
from honeybee_radiance.properties.shade import ShadeRadianceProperties
|
|
6
|
+
from honeybee_radiance.properties.shademesh import ShadeMeshRadianceProperties
|
|
5
7
|
from honeybee_radiance.mutil import dict_to_modifier # imports all modifiers classes
|
|
6
8
|
from honeybee_radiance.lib.modifiers import generic_context
|
|
7
9
|
|
|
@@ -105,9 +107,12 @@ class ContextShadeRadianceProperties(object):
|
|
|
105
107
|
"""Get a honeybee version of this object.
|
|
106
108
|
|
|
107
109
|
Args:
|
|
108
|
-
new_host: A honeybee-core Shade object that will host
|
|
110
|
+
new_host: A honeybee-core Shade or ShadeMesh object that will host
|
|
111
|
+
these properties.
|
|
109
112
|
"""
|
|
110
|
-
return ShadeRadianceProperties(new_host, self._modifier)
|
|
113
|
+
return ShadeRadianceProperties(new_host, self._modifier) \
|
|
114
|
+
if isinstance(new_host, Shade) else \
|
|
115
|
+
ShadeMeshRadianceProperties(new_host, self._modifier)
|
|
111
116
|
|
|
112
117
|
def from_honeybee(self, hb_properties):
|
|
113
118
|
"""Transfer radiance attributes from a Honeybee Shade to Dragonfly ContextShade.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dragonfly-radiance
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.33
|
|
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.43.1)
|
|
18
18
|
Requires-Dist: honeybee-radiance (==1.66.42)
|
|
19
19
|
|
|
20
20
|

|
|
@@ -31,6 +31,8 @@ Dragonfly extension for Radiance simulation.
|
|
|
31
31
|
|
|
32
32
|
`pip install dragonfly-radiance`
|
|
33
33
|
|
|
34
|
+
To check if the command line interface is installed correctly use `dragonfly-radiance --help`.
|
|
35
|
+
|
|
34
36
|
## QuickStart
|
|
35
37
|
|
|
36
38
|
```python
|
|
@@ -6,13 +6,13 @@ dragonfly_radiance/cli/__init__.py,sha256=7Zx_-nOm0gIioPH5XtVyrTfGPwzniTUF3vqcCp
|
|
|
6
6
|
dragonfly_radiance/cli/translate.py,sha256=w2ljust9uJ5hQDICwGwIYsPA_NhhHG4TbXTjHhIkf2Y,3525
|
|
7
7
|
dragonfly_radiance/properties/__init__.py,sha256=h-O2WRFI5r12owvSQUrSgdLmlhM7shJAvzLFGryG3rk,37
|
|
8
8
|
dragonfly_radiance/properties/building.py,sha256=McIPA3DjjzrD8PpMPBeeKc3eBN9f_POB661I63WKV4Y,5658
|
|
9
|
-
dragonfly_radiance/properties/context.py,sha256=
|
|
9
|
+
dragonfly_radiance/properties/context.py,sha256=WshH9BOhqbwvxmILRugTMfbvTMl8u5QzIETbJiORTUk,5250
|
|
10
10
|
dragonfly_radiance/properties/model.py,sha256=mO4RB8l7fAtBi2JMOgDYmr1FZQsEfJ37DakmHA_XBWo,12529
|
|
11
11
|
dragonfly_radiance/properties/room2d.py,sha256=PTNbt5qBI6hOU7tw5OFTWOx0yT6cjolUfTXp-cPiHcU,8567
|
|
12
12
|
dragonfly_radiance/properties/story.py,sha256=htHHyAh8tNdQCGJGMvbI9Xo3RAdHdC8JPE1fnEPY-44,4519
|
|
13
|
-
dragonfly_radiance-0.3.
|
|
14
|
-
dragonfly_radiance-0.3.
|
|
15
|
-
dragonfly_radiance-0.3.
|
|
16
|
-
dragonfly_radiance-0.3.
|
|
17
|
-
dragonfly_radiance-0.3.
|
|
18
|
-
dragonfly_radiance-0.3.
|
|
13
|
+
dragonfly_radiance-0.3.33.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
|
14
|
+
dragonfly_radiance-0.3.33.dist-info/METADATA,sha256=-UIHuqo3fEKfpcA-N0-aGw0Y7J7-vzknAjMgo7-Iy-0,2319
|
|
15
|
+
dragonfly_radiance-0.3.33.dist-info/WHEEL,sha256=unfA4MOaH0icIyIA5oH6E2sn2Hq5zKtLlHsWapZGwes,110
|
|
16
|
+
dragonfly_radiance-0.3.33.dist-info/entry_points.txt,sha256=7KZdeDvrwJ-ZB0LiTJ3TBkYJAmLl6_uSXXhZnLGct4g,71
|
|
17
|
+
dragonfly_radiance-0.3.33.dist-info/top_level.txt,sha256=uvkDZDtPEVgdj7rWsDAl4vcUIuWT7GFBBVmFK4pNE4s,19
|
|
18
|
+
dragonfly_radiance-0.3.33.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
{dragonfly_radiance-0.3.31.dist-info → dragonfly_radiance-0.3.33.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|