honeybee-grasshopper-radiance 1.36.1__py3-none-any.whl → 1.36.3__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 Luminaire.py +11 -3
- honeybee_grasshopper_radiance/src/HB Metal Modifier.py +2 -2
- honeybee_grasshopper_radiance/user_objects/HB Luminaire.ghuser +0 -0
- honeybee_grasshopper_radiance/user_objects/HB Metal Modifier.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.36.1.dist-info → honeybee_grasshopper_radiance-1.36.3.dist-info}/METADATA +1 -1
- {honeybee_grasshopper_radiance-1.36.1.dist-info → honeybee_grasshopper_radiance-1.36.3.dist-info}/RECORD +9 -9
- {honeybee_grasshopper_radiance-1.36.1.dist-info → honeybee_grasshopper_radiance-1.36.3.dist-info}/WHEEL +1 -1
- {honeybee_grasshopper_radiance-1.36.1.dist-info → honeybee_grasshopper_radiance-1.36.3.dist-info}/licenses/LICENSE +0 -0
- {honeybee_grasshopper_radiance-1.36.1.dist-info → honeybee_grasshopper_radiance-1.36.3.dist-info}/top_level.txt +0 -0
|
@@ -42,11 +42,16 @@ happens in the recipe.
|
|
|
42
42
|
|
|
43
43
|
ghenv.Component.Name = 'HB Luminaire'
|
|
44
44
|
ghenv.Component.NickName = 'Luminaire'
|
|
45
|
-
ghenv.Component.Message = '1.9.
|
|
45
|
+
ghenv.Component.Message = '1.9.1'
|
|
46
46
|
ghenv.Component.Category = 'HB-Radiance'
|
|
47
47
|
ghenv.Component.SubCategory = '2 :: Light Sources'
|
|
48
48
|
ghenv.Component.AdditionalHelpFromDocStrings = '4'
|
|
49
49
|
|
|
50
|
+
try: # import the core honeybee dependencies
|
|
51
|
+
from honeybee.typing import clean_rad_string
|
|
52
|
+
except ImportError as e:
|
|
53
|
+
raise ImportError('\nFailed to import honeybee:\n\t{}'.format(e))
|
|
54
|
+
|
|
50
55
|
try:
|
|
51
56
|
from honeybee_radiance.luminaire import Luminaire, LuminaireZone
|
|
52
57
|
except ImportError as e:
|
|
@@ -60,12 +65,15 @@ except ImportError as e:
|
|
|
60
65
|
|
|
61
66
|
if all_required_inputs(ghenv.Component):
|
|
62
67
|
# set defaults
|
|
63
|
-
|
|
68
|
+
display_name = None if _name_ is None else _name_
|
|
69
|
+
identifier = None if _name_ is None else clean_rad_string(display_name)
|
|
64
70
|
light_loss_factor = 1 if _loss_fac_ is None else _loss_fac_
|
|
65
71
|
candela_multiplier = 1 if _cand_mult_ is None else _cand_mult_
|
|
66
72
|
custom_lamp = custom_lamp_ or None
|
|
67
73
|
|
|
68
74
|
# create luminaire
|
|
69
75
|
luminaire = Luminaire(
|
|
70
|
-
_ies, identifier=
|
|
76
|
+
_ies, identifier=identifier, luminaire_zone=_luminaire_zone, custom_lamp=custom_lamp,
|
|
71
77
|
light_loss_factor=light_loss_factor,candela_multiplier=candela_multiplier)
|
|
78
|
+
if display_name is not None:
|
|
79
|
+
luminaire.display_name = display_name
|
|
@@ -14,7 +14,7 @@ Create a metal radiance modifier from a single reflectance.
|
|
|
14
14
|
Args:
|
|
15
15
|
_name_: Text to set the name for the modifier and to be incorporated into
|
|
16
16
|
a unique modifier identifier.
|
|
17
|
-
|
|
17
|
+
_diff_: A number between 0 and 1 for the absolute diffuse metal reflectance.
|
|
18
18
|
This reflectance will be the same for the red, green and blue
|
|
19
19
|
channels. (Default: 0)
|
|
20
20
|
_spec_: A number between 0 and 1 for the absolute specular reflectance of the modifier.
|
|
@@ -32,7 +32,7 @@ Create a metal radiance modifier from a single reflectance.
|
|
|
32
32
|
|
|
33
33
|
ghenv.Component.Name = 'HB Metal Modifier'
|
|
34
34
|
ghenv.Component.NickName = 'MetalMod'
|
|
35
|
-
ghenv.Component.Message = '1.9.
|
|
35
|
+
ghenv.Component.Message = '1.9.1'
|
|
36
36
|
ghenv.Component.Category = 'HB-Radiance'
|
|
37
37
|
ghenv.Component.SubCategory = '1 :: Modifiers'
|
|
38
38
|
ghenv.Component.AdditionalHelpFromDocStrings = '2'
|
|
Binary file
|
|
Binary file
|
|
@@ -51,9 +51,9 @@ honeybee_grasshopper_radiance/src/HB HDR to GIF.py,sha256=pdtGsDEb5L9UYZJ3VWDp11
|
|
|
51
51
|
honeybee_grasshopper_radiance/src/HB Imageless Annual Glare.py,sha256=XYeAod6F_a68gNsOqYU6kghw6W4s7N8fcjw1T0NA8tY,5699
|
|
52
52
|
honeybee_grasshopper_radiance/src/HB Interior Modifier Subset.py,sha256=vZAqeeJsUO9FP6j1fpjU2O8v7aVt0qoVgl5XnlyCveM,3465
|
|
53
53
|
honeybee_grasshopper_radiance/src/HB Luminaire Zone.py,sha256=SmDGqyiFy8I8hhHe5QKBzPlWQ-3ESpo3E7mRDcI1uB0,3214
|
|
54
|
-
honeybee_grasshopper_radiance/src/HB Luminaire.py,sha256=
|
|
54
|
+
honeybee_grasshopper_radiance/src/HB Luminaire.py,sha256=mmqCRIQ7TOhxtXqcCf1tSypwdJXZi1ES-oLRBuguacc,3355
|
|
55
55
|
honeybee_grasshopper_radiance/src/HB Metal Modifier 3.py,sha256=S59Tzp9bc-sKIXo3yTT2xvkR8qNV8KgQ75EDG2k_Iws,3074
|
|
56
|
-
honeybee_grasshopper_radiance/src/HB Metal Modifier.py,sha256=
|
|
56
|
+
honeybee_grasshopper_radiance/src/HB Metal Modifier.py,sha256=4Fvuwp7pLkHeJ4N4P799qebzdOyxblcDIlw_KMhGMSg,2846
|
|
57
57
|
honeybee_grasshopper_radiance/src/HB Mirror Modifier 3.py,sha256=kLVxghPEoqcfAdrkgLdeFrbUW5UIjMjNRGKv03TJ7lg,2077
|
|
58
58
|
honeybee_grasshopper_radiance/src/HB Mirror Modifier.py,sha256=FlnaiE29uokvRvMVG8amNRwXyychKxFadEZtc50962k,2033
|
|
59
59
|
honeybee_grasshopper_radiance/src/HB Model to Rad Folder.py,sha256=ERr4GXa3FD6GE4pulfuKwaB0c8Afb9Mg2DuzTiKYTJE,2837
|
|
@@ -140,9 +140,9 @@ honeybee_grasshopper_radiance/user_objects/HB HDR to GIF.ghuser,sha256=TiTKrEBuc
|
|
|
140
140
|
honeybee_grasshopper_radiance/user_objects/HB Imageless Annual Glare.ghuser,sha256=TzlT0llpgtWojoRGQwBt5VIWKuXDFTv-lYrX3nW2HyM,7174
|
|
141
141
|
honeybee_grasshopper_radiance/user_objects/HB Interior Modifier Subset.ghuser,sha256=g7S5F3bRviH-DXbB8yoerZBiaxxPg87NxFALn0TcFAo,4206
|
|
142
142
|
honeybee_grasshopper_radiance/user_objects/HB Luminaire Zone.ghuser,sha256=j5iXs8mVLf4U2e8xiLDmcaKFwfq4Q6AbelccIXEb2dI,4351
|
|
143
|
-
honeybee_grasshopper_radiance/user_objects/HB Luminaire.ghuser,sha256=
|
|
143
|
+
honeybee_grasshopper_radiance/user_objects/HB Luminaire.ghuser,sha256=TBVZq2y1rMvPf4Ir8JZdX6v_IpZvFjNhYP2tg5Q1q48,5044
|
|
144
144
|
honeybee_grasshopper_radiance/user_objects/HB Metal Modifier 3.ghuser,sha256=ftJH5ek_syV3wGYPGZSz1B6_KiAW454Z9EQU_8e_t7U,5300
|
|
145
|
-
honeybee_grasshopper_radiance/user_objects/HB Metal Modifier.ghuser,sha256=
|
|
145
|
+
honeybee_grasshopper_radiance/user_objects/HB Metal Modifier.ghuser,sha256=X_oPcG6Krmgz05tlGbNLdPd6C9Y63poN1xly7QFPNCY,4837
|
|
146
146
|
honeybee_grasshopper_radiance/user_objects/HB Mirror Modifier 3.ghuser,sha256=QL7_Kffy_4AUpUWyYOyEH5xSmcB-pIhmXyae3oUytzA,4611
|
|
147
147
|
honeybee_grasshopper_radiance/user_objects/HB Mirror Modifier.ghuser,sha256=rqtY62iBoQyeOD4P7MeUArlLecD6dbxBUOZy7Lhmfhg,3885
|
|
148
148
|
honeybee_grasshopper_radiance/user_objects/HB Model to Rad Folder.ghuser,sha256=gQA2p81l2w_LSnkVNvmpqRZ_T2Uixjwj7meCW0BycPM,6509
|
|
@@ -177,8 +177,8 @@ honeybee_grasshopper_radiance/user_objects/HB Wea From EPW.ghuser,sha256=PcjwWzO
|
|
|
177
177
|
honeybee_grasshopper_radiance/user_objects/HB Wea From Tau Clear Sky.ghuser,sha256=du9nzM95d3uL2-1sf1fFll_QfRloVaL4Q_JGd7Nb5NI,5367
|
|
178
178
|
honeybee_grasshopper_radiance/user_objects/HB Wea from Zhang-Huang.ghuser,sha256=9KMXIDn5sfhk0h4QfZoKfFuHvI6x0bXVDJ3Ozd2CWNg,4678
|
|
179
179
|
honeybee_grasshopper_radiance/user_objects/__init__.py,sha256=7BOscRVupILqwFUBWP6nAsMNgNN8lXQPsQ_zYUvGEr8,50
|
|
180
|
-
honeybee_grasshopper_radiance-1.36.
|
|
181
|
-
honeybee_grasshopper_radiance-1.36.
|
|
182
|
-
honeybee_grasshopper_radiance-1.36.
|
|
183
|
-
honeybee_grasshopper_radiance-1.36.
|
|
184
|
-
honeybee_grasshopper_radiance-1.36.
|
|
180
|
+
honeybee_grasshopper_radiance-1.36.3.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
|
181
|
+
honeybee_grasshopper_radiance-1.36.3.dist-info/METADATA,sha256=iH4Y2J1IQFMeRrWuRnw2-fXBKSoxlPAj61syiw6icng,2879
|
|
182
|
+
honeybee_grasshopper_radiance-1.36.3.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
183
|
+
honeybee_grasshopper_radiance-1.36.3.dist-info/top_level.txt,sha256=BBzJ4nJKMDfzWMqymIH91kdsQlHSptnGHSk8i6_KZ_4,30
|
|
184
|
+
honeybee_grasshopper_radiance-1.36.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|