dragonfly-radiance 0.4.29__tar.gz → 0.4.30__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.
Potentially problematic release.
This version of dragonfly-radiance might be problematic. Click here for more details.
- {dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/PKG-INFO +2 -2
- {dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/dragonfly_radiance/cli/translate.py +5 -5
- {dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/dragonfly_radiance/properties/model.py +34 -0
- {dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/dragonfly_radiance.egg-info/PKG-INFO +2 -2
- dragonfly_radiance-0.4.30/dragonfly_radiance.egg-info/requires.txt +2 -0
- dragonfly_radiance-0.4.30/requirements.txt +2 -0
- dragonfly_radiance-0.4.29/dragonfly_radiance.egg-info/requires.txt +0 -2
- dragonfly_radiance-0.4.29/requirements.txt +0 -2
- {dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/CODE_OF_CONDUCT.md +0 -0
- {dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/CONTRIBUTING.md +0 -0
- {dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/LICENSE +0 -0
- {dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/MANIFEST.in +0 -0
- {dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/README.md +0 -0
- {dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/dev-requirements.txt +0 -0
- {dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/dragonfly_radiance/__init__.py +0 -0
- {dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/dragonfly_radiance/__main__.py +0 -0
- {dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/dragonfly_radiance/_extend_dragonfly.py +0 -0
- {dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/dragonfly_radiance/cli/__init__.py +0 -0
- {dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/dragonfly_radiance/gridpar.py +0 -0
- {dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/dragonfly_radiance/properties/__init__.py +0 -0
- {dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/dragonfly_radiance/properties/building.py +0 -0
- {dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/dragonfly_radiance/properties/context.py +0 -0
- {dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/dragonfly_radiance/properties/room2d.py +0 -0
- {dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/dragonfly_radiance/properties/story.py +0 -0
- {dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/dragonfly_radiance.egg-info/SOURCES.txt +0 -0
- {dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/dragonfly_radiance.egg-info/dependency_links.txt +0 -0
- {dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/dragonfly_radiance.egg-info/entry_points.txt +0 -0
- {dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/dragonfly_radiance.egg-info/top_level.txt +0 -0
- {dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/setup.cfg +0 -0
- {dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dragonfly-radiance
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.30
|
|
4
4
|
Summary: Dragonfly extension for radiance simulation.
|
|
5
5
|
Home-page: https://github.com/ladybug-tools/dragonfly-radiance
|
|
6
6
|
Author: Ladybug Tools
|
|
@@ -15,7 +15,7 @@ Classifier: Operating System :: OS Independent
|
|
|
15
15
|
Description-Content-Type: text/markdown
|
|
16
16
|
License-File: LICENSE
|
|
17
17
|
Requires-Dist: dragonfly-core==1.65.28
|
|
18
|
-
Requires-Dist: honeybee-radiance==1.66.
|
|
18
|
+
Requires-Dist: honeybee-radiance==1.66.176
|
|
19
19
|
|
|
20
20
|

|
|
21
21
|
|
|
@@ -99,8 +99,8 @@ def model_to_rad_folder_cli(
|
|
|
99
99
|
|
|
100
100
|
\b
|
|
101
101
|
Args:
|
|
102
|
-
model_file: Full path to a Model JSON file (
|
|
103
|
-
pkl (
|
|
102
|
+
model_file: Full path to a Model JSON file (DFJSON) or a Model
|
|
103
|
+
pkl (DFpkl) file. This can also be a zipped version of a Radiance
|
|
104
104
|
folder, in which case this command will simply unzip the file
|
|
105
105
|
into the --folder and no other operations will be performed on it.
|
|
106
106
|
"""
|
|
@@ -131,8 +131,8 @@ def model_to_rad_folder(
|
|
|
131
131
|
"""Translate a Model file into a Radiance Folder.
|
|
132
132
|
|
|
133
133
|
Args:
|
|
134
|
-
model_file: Full path to a Model JSON file (
|
|
135
|
-
pkl (
|
|
134
|
+
model_file: Full path to a Model JSON file (DFJSON) or a Model
|
|
135
|
+
pkl (DFpkl) file. This can also be a zipped version of a Radiance
|
|
136
136
|
folder, in which case this command will simply unzip the file
|
|
137
137
|
into the --folder and no other operations will be performed on it.
|
|
138
138
|
folder: Folder into which the model Radiance folders will be written.
|
|
@@ -293,7 +293,7 @@ def model_to_rad(
|
|
|
293
293
|
correctly account for dynamic objects, model-to-rad-folder should be used.
|
|
294
294
|
|
|
295
295
|
Args:
|
|
296
|
-
model_file: Full path to a Model JSON file (
|
|
296
|
+
model_file: Full path to a Model JSON file (DFJSON) or a Model pkl (DFpkl) file.
|
|
297
297
|
full_geometry: Boolean to note if the multipliers on each Building story
|
|
298
298
|
will be passed along to the generated Honeybee Room objects or if
|
|
299
299
|
full geometry objects should be written for each story in the
|
{dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/dragonfly_radiance/properties/model.py
RENAMED
|
@@ -151,6 +151,38 @@ class ModelRadianceProperties(object):
|
|
|
151
151
|
raise ValueError(full_msg)
|
|
152
152
|
return full_msg
|
|
153
153
|
|
|
154
|
+
def check_generic(self, raise_exception=True, detailed=False):
|
|
155
|
+
"""Check generic of the aspects of the Model radiance properties.
|
|
156
|
+
|
|
157
|
+
This includes checks for everything except duplicate identifiers for
|
|
158
|
+
modifiers and modifier sets. Typically, these checks just add to the
|
|
159
|
+
validation time without providing useful information since extension
|
|
160
|
+
objects with duplicate IDs are lost during HBJSON serialization.
|
|
161
|
+
|
|
162
|
+
Args:
|
|
163
|
+
raise_exception: Boolean to note whether a ValueError should be raised
|
|
164
|
+
if any errors are found. If False, this method will simply
|
|
165
|
+
return a text string with all errors that were found.
|
|
166
|
+
detailed: Boolean for whether the returned object is a detailed list of
|
|
167
|
+
dicts with error info or a string with a message. (Default: False).
|
|
168
|
+
|
|
169
|
+
Returns:
|
|
170
|
+
A text string with all errors that were found or a list if detailed is True.
|
|
171
|
+
This string (or list) will be empty if no errors were found.
|
|
172
|
+
"""
|
|
173
|
+
# set up defaults to ensure the method runs correctly
|
|
174
|
+
detailed = False if raise_exception else detailed
|
|
175
|
+
msgs = []
|
|
176
|
+
# perform checks for specific radiance simulation rules
|
|
177
|
+
# output a final report of errors or raise an exception
|
|
178
|
+
full_msgs = [msg for msg in msgs if msg]
|
|
179
|
+
if detailed:
|
|
180
|
+
return [m for msg in full_msgs for m in msg]
|
|
181
|
+
full_msg = '\n'.join(full_msgs)
|
|
182
|
+
if raise_exception and len(full_msgs) != 0:
|
|
183
|
+
raise ValueError(full_msg)
|
|
184
|
+
return full_msg
|
|
185
|
+
|
|
154
186
|
def check_all(self, raise_exception=True, detailed=False):
|
|
155
187
|
"""Check all of the aspects of the Model radiance properties.
|
|
156
188
|
|
|
@@ -168,6 +200,8 @@ class ModelRadianceProperties(object):
|
|
|
168
200
|
# set up defaults to ensure the method runs correctly
|
|
169
201
|
detailed = False if raise_exception else detailed
|
|
170
202
|
msgs = []
|
|
203
|
+
# perform checks for duplicate identifiers
|
|
204
|
+
msgs.append(self.check_all_duplicate_identifiers(False, detailed))
|
|
171
205
|
# perform checks for specific radiance simulation rules
|
|
172
206
|
# output a final report of errors or raise an exception
|
|
173
207
|
full_msgs = [msg for msg in msgs if msg]
|
{dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/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.4.
|
|
3
|
+
Version: 0.4.30
|
|
4
4
|
Summary: Dragonfly extension for radiance simulation.
|
|
5
5
|
Home-page: https://github.com/ladybug-tools/dragonfly-radiance
|
|
6
6
|
Author: Ladybug Tools
|
|
@@ -15,7 +15,7 @@ Classifier: Operating System :: OS Independent
|
|
|
15
15
|
Description-Content-Type: text/markdown
|
|
16
16
|
License-File: LICENSE
|
|
17
17
|
Requires-Dist: dragonfly-core==1.65.28
|
|
18
|
-
Requires-Dist: honeybee-radiance==1.66.
|
|
18
|
+
Requires-Dist: honeybee-radiance==1.66.176
|
|
19
19
|
|
|
20
20
|

|
|
21
21
|
|
|
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.4.29 → dragonfly_radiance-0.4.30}/dragonfly_radiance/_extend_dragonfly.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/dragonfly_radiance/properties/__init__.py
RENAMED
|
File without changes
|
{dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/dragonfly_radiance/properties/building.py
RENAMED
|
File without changes
|
{dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/dragonfly_radiance/properties/context.py
RENAMED
|
File without changes
|
{dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/dragonfly_radiance/properties/room2d.py
RENAMED
|
File without changes
|
{dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/dragonfly_radiance/properties/story.py
RENAMED
|
File without changes
|
{dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/dragonfly_radiance.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/dragonfly_radiance.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{dragonfly_radiance-0.4.29 → dragonfly_radiance-0.4.30}/dragonfly_radiance.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|