honeybee-grasshopper-radiance 1.36.1__py3-none-any.whl → 1.36.2__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/user_objects/HB Luminaire.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.36.1.dist-info → honeybee_grasshopper_radiance-1.36.2.dist-info}/METADATA +1 -1
- {honeybee_grasshopper_radiance-1.36.1.dist-info → honeybee_grasshopper_radiance-1.36.2.dist-info}/RECORD +7 -7
- {honeybee_grasshopper_radiance-1.36.1.dist-info → honeybee_grasshopper_radiance-1.36.2.dist-info}/WHEEL +1 -1
- {honeybee_grasshopper_radiance-1.36.1.dist-info → honeybee_grasshopper_radiance-1.36.2.dist-info}/licenses/LICENSE +0 -0
- {honeybee_grasshopper_radiance-1.36.1.dist-info → honeybee_grasshopper_radiance-1.36.2.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
|
|
Binary file
|
|
@@ -51,7 +51,7 @@ 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
56
|
honeybee_grasshopper_radiance/src/HB Metal Modifier.py,sha256=BaGyK14frU4Bf-c13mQklmzXZe86UbBEh1vRF89tK6I,2845
|
|
57
57
|
honeybee_grasshopper_radiance/src/HB Mirror Modifier 3.py,sha256=kLVxghPEoqcfAdrkgLdeFrbUW5UIjMjNRGKv03TJ7lg,2077
|
|
@@ -140,7 +140,7 @@ 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
145
|
honeybee_grasshopper_radiance/user_objects/HB Metal Modifier.ghuser,sha256=yE3z40xVfYbYtVgMW5g1597VhUyiVHQsJaOSNSn2aWg,4868
|
|
146
146
|
honeybee_grasshopper_radiance/user_objects/HB Mirror Modifier 3.ghuser,sha256=QL7_Kffy_4AUpUWyYOyEH5xSmcB-pIhmXyae3oUytzA,4611
|
|
@@ -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.2.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
|
181
|
+
honeybee_grasshopper_radiance-1.36.2.dist-info/METADATA,sha256=tdzD7qBgmvn_rMbCTlEWYh4-wzc7BfmVrAO5UTH_HNU,2879
|
|
182
|
+
honeybee_grasshopper_radiance-1.36.2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
183
|
+
honeybee_grasshopper_radiance-1.36.2.dist-info/top_level.txt,sha256=BBzJ4nJKMDfzWMqymIH91kdsQlHSptnGHSk8i6_KZ_4,30
|
|
184
|
+
honeybee_grasshopper_radiance-1.36.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|