honeybee-grasshopper-radiance 1.34.4__py2.py3-none-any.whl → 1.34.5__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_grasshopper_radiance/src/HB Get Grids and Views.py +18 -1
- honeybee_grasshopper_radiance/user_objects/HB Get Grids and Views.ghuser and b/honeybee_grasshopper_radiance/user_objects/HB Get Grids → Views.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.34.4.dist-info → honeybee_grasshopper_radiance-1.34.5.dist-info}/METADATA +1 -1
- {honeybee_grasshopper_radiance-1.34.4.dist-info → honeybee_grasshopper_radiance-1.34.5.dist-info}/RECORD +7 -7
- {honeybee_grasshopper_radiance-1.34.4.dist-info → honeybee_grasshopper_radiance-1.34.5.dist-info}/LICENSE +0 -0
- {honeybee_grasshopper_radiance-1.34.4.dist-info → honeybee_grasshopper_radiance-1.34.5.dist-info}/WHEEL +0 -0
- {honeybee_grasshopper_radiance-1.34.4.dist-info → honeybee_grasshopper_radiance-1.34.5.dist-info}/top_level.txt +0 -0
|
@@ -14,6 +14,14 @@ in the Rhino scene.
|
|
|
14
14
|
|
|
15
15
|
Args:
|
|
16
16
|
_model: A Honeybee Model for which grids and views will be output.
|
|
17
|
+
view_filter_: Text for a view identifer or a pattern to filter the views of the
|
|
18
|
+
model that are output. For instance, `first_floor_*` will simulate
|
|
19
|
+
only the views that have an identifier that starts with `first_floor_`.
|
|
20
|
+
By default, all views in the model will be output.
|
|
21
|
+
grid_filter_: Text for a grid identifer or a pattern to filter the sensor grids of
|
|
22
|
+
the model that are output. For instance, first_floor_* will simulate
|
|
23
|
+
only the sensor grids that have an identifier that starts with
|
|
24
|
+
first_floor_. By default, all grids in the model will be output.
|
|
17
25
|
|
|
18
26
|
Returns:
|
|
19
27
|
views: A list of Honeybee-Radiance Views that are assigned to the
|
|
@@ -27,7 +35,7 @@ in the Rhino scene.
|
|
|
27
35
|
|
|
28
36
|
ghenv.Component.Name = 'HB Get Grids and Views'
|
|
29
37
|
ghenv.Component.NickName = 'GetGridsViews'
|
|
30
|
-
ghenv.Component.Message = '1.8.
|
|
38
|
+
ghenv.Component.Message = '1.8.1'
|
|
31
39
|
ghenv.Component.Category = 'HB-Radiance'
|
|
32
40
|
ghenv.Component.SubCategory = '0 :: Basic Properties'
|
|
33
41
|
ghenv.Component.AdditionalHelpFromDocStrings = '5'
|
|
@@ -42,6 +50,11 @@ try: # import core honeybee dependencies
|
|
|
42
50
|
except ImportError as e:
|
|
43
51
|
raise ImportError('\nFailed to import honeybee:\n\t{}'.format(e))
|
|
44
52
|
|
|
53
|
+
try: # import honeybee_radiance dependencies
|
|
54
|
+
from honeybee_radiance.writer import _filter_by_pattern
|
|
55
|
+
except ImportError as e:
|
|
56
|
+
raise ImportError('\nFailed to import honeybee_radiance:\n\t{}'.format(e))
|
|
57
|
+
|
|
45
58
|
try: # import ladybug_rhino dependencies
|
|
46
59
|
from ladybug_rhino.fromgeometry import from_point3d, from_mesh3d
|
|
47
60
|
from ladybug_rhino.grasshopper import all_required_inputs, list_to_data_tree
|
|
@@ -54,7 +67,11 @@ if all_required_inputs(ghenv.Component):
|
|
|
54
67
|
'Expected Honeybee Model. Got {}.'.format(type(_model))
|
|
55
68
|
# get the honeybee-radiance objects
|
|
56
69
|
views = _model.properties.radiance.views
|
|
70
|
+
if view_filter_ is not None:
|
|
71
|
+
views = _filter_by_pattern(views, view_filter_)
|
|
57
72
|
grids = _model.properties.radiance.sensor_grids
|
|
73
|
+
if grid_filter_ is not None:
|
|
74
|
+
grids = _filter_by_pattern(grids, grid_filter_)
|
|
58
75
|
|
|
59
76
|
# get the visualizable attributes
|
|
60
77
|
points = [[from_point3d(Point3D.from_array(s.pos)) for s in sg] for sg in grids]
|
|
Binary file
|
|
@@ -39,7 +39,7 @@ honeybee_grasshopper_radiance/src/HB Exterior Modifier Subset.py,sha256=D63Sxk_a
|
|
|
39
39
|
honeybee_grasshopper_radiance/src/HB Extract HDR.py,sha256=qp2wdIGXqAkHUs2Jr6w5JdjpCL9PHuP-cF4WEsNyc2c,9067
|
|
40
40
|
honeybee_grasshopper_radiance/src/HB False Color.py,sha256=LTQ2mDpJdx7Yzl1UaPMfjedUu3LXK_lAuqQ8Y44TAek,10148
|
|
41
41
|
honeybee_grasshopper_radiance/src/HB Get Dynamic Groups.py,sha256=qRumvNWJw9-z7WxuYqyJtdI8L3xeug8j4DfYnSrxTds,2191
|
|
42
|
-
honeybee_grasshopper_radiance/src/HB Get Grids and Views.py,sha256=
|
|
42
|
+
honeybee_grasshopper_radiance/src/HB Get Grids and Views.py,sha256=TbkpoHUQiFVoCI5DxfVq_TU9UkQ0NHLO_ezp_ArHP_8,3501
|
|
43
43
|
honeybee_grasshopper_radiance/src/HB Glare Postprocess.py,sha256=cUci0AwlAcVH4505nmMbHpCkVFyZy9eGNDzPxXRKCUM,10101
|
|
44
44
|
honeybee_grasshopper_radiance/src/HB Glass Modifier 3.py,sha256=xdYBijQ1ZTEzjdwvN7l_zMXVqwRJfCq-vVts9wRd-1M,2447
|
|
45
45
|
honeybee_grasshopper_radiance/src/HB Glass Modifier.py,sha256=VY5RmO1RrtnNA90YQ3P0lcSXdtmpYjlYBW44t7X8_lg,2244
|
|
@@ -121,7 +121,7 @@ honeybee_grasshopper_radiance/user_objects/HB Extract HDR.ghuser,sha256=buUshUoR
|
|
|
121
121
|
honeybee_grasshopper_radiance/user_objects/HB Face Radiance Attributes.ghuser,sha256=yU2xi4DpW03dN22Fp1uLcSx0cW9KDZ2nxa78WY9F2eg,2444
|
|
122
122
|
honeybee_grasshopper_radiance/user_objects/HB False Color.ghuser,sha256=11kvIk0XwugcILQz4gQ9u93rv6V6tWvQ_nuAz_dfnqA,9391
|
|
123
123
|
honeybee_grasshopper_radiance/user_objects/HB Get Dynamic Groups.ghuser,sha256=k9hbsvzdmfXx639l7POH9uiT89QcZ0hMWLUFIru8rGY,4744
|
|
124
|
-
honeybee_grasshopper_radiance/user_objects/HB Get Grids and Views.ghuser,sha256=
|
|
124
|
+
honeybee_grasshopper_radiance/user_objects/HB Get Grids and Views.ghuser,sha256=zHFgOGErjY8EuQInM0Ju1ep5AWAF3Rx76wX8hoBjTaM,5465
|
|
125
125
|
honeybee_grasshopper_radiance/user_objects/HB Glare Postprocess.ghuser,sha256=rrcpUBnYJA5w_NeyQ1CqjTBhfRRD8_KRizhVT_Im3VE,7101
|
|
126
126
|
honeybee_grasshopper_radiance/user_objects/HB Glass Modifier 3.ghuser,sha256=DyxxddjE5cJhw6O5Q7bn865-OfL8VlxqaDkt-YQRMUM,4767
|
|
127
127
|
honeybee_grasshopper_radiance/user_objects/HB Glass Modifier.ghuser,sha256=tc79qklvRkgdllmoxCwhkZFurbRadglPvQZ5rnJvEZ0,4122
|
|
@@ -163,8 +163,8 @@ honeybee_grasshopper_radiance/user_objects/HB Wea From EPW.ghuser,sha256=RC0YVNW
|
|
|
163
163
|
honeybee_grasshopper_radiance/user_objects/HB Wea From Tau Clear Sky.ghuser,sha256=WmcJdcy7g4zQwtR-SWYrqLZs7WA6GhtRheijykKizAU,5423
|
|
164
164
|
honeybee_grasshopper_radiance/user_objects/HB Wea from Zhang-Huang.ghuser,sha256=G86nZiRNxajZVNlfBFnSEYu5DAQ0z78v0V3IJhi18FE,4679
|
|
165
165
|
honeybee_grasshopper_radiance/user_objects/__init__.py,sha256=7BOscRVupILqwFUBWP6nAsMNgNN8lXQPsQ_zYUvGEr8,50
|
|
166
|
-
honeybee_grasshopper_radiance-1.34.
|
|
167
|
-
honeybee_grasshopper_radiance-1.34.
|
|
168
|
-
honeybee_grasshopper_radiance-1.34.
|
|
169
|
-
honeybee_grasshopper_radiance-1.34.
|
|
170
|
-
honeybee_grasshopper_radiance-1.34.
|
|
166
|
+
honeybee_grasshopper_radiance-1.34.5.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
|
167
|
+
honeybee_grasshopper_radiance-1.34.5.dist-info/METADATA,sha256=Pd-rCm2rPhxEtjgVVVix9QaMP3npQ65eESruVRF3rEk,2767
|
|
168
|
+
honeybee_grasshopper_radiance-1.34.5.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
|
|
169
|
+
honeybee_grasshopper_radiance-1.34.5.dist-info/top_level.txt,sha256=BBzJ4nJKMDfzWMqymIH91kdsQlHSptnGHSk8i6_KZ_4,30
|
|
170
|
+
honeybee_grasshopper_radiance-1.34.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|