honeybee-grasshopper-radiance 1.35.4__tar.gz → 1.36.0__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.
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/PKG-INFO +1 -1
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Annual Average Values.py +1 -1
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Annual Cumulative Values.py +2 -2
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Annual Daylight Metrics.py +2 -2
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Annual Peak Values.py +2 -2
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Annual Results to Data.py +2 -2
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Annual Statistics.py +2 -2
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Annual Sunlight Exposure.py +2 -2
- honeybee_grasshopper_radiance-1.36.0/honeybee_grasshopper_radiance/src/HB Assign Luminaires.py +52 -0
- honeybee_grasshopper_radiance-1.36.0/honeybee_grasshopper_radiance/src/HB Custom Lamp.py +133 -0
- honeybee_grasshopper_radiance-1.36.0/honeybee_grasshopper_radiance/src/HB Get Luminaires.py +50 -0
- honeybee_grasshopper_radiance-1.36.0/honeybee_grasshopper_radiance/src/HB Luminaire Zone.py +81 -0
- honeybee_grasshopper_radiance-1.36.0/honeybee_grasshopper_radiance/src/HB Luminaire.py +71 -0
- honeybee_grasshopper_radiance-1.36.0/honeybee_grasshopper_radiance/src/HB Visualize Luminaire.py +53 -0
- honeybee_grasshopper_radiance-1.36.0/honeybee_grasshopper_radiance/user_objects/HB Annual Average Values.ghuser +0 -0
- honeybee_grasshopper_radiance-1.36.0/honeybee_grasshopper_radiance/user_objects/HB Annual Cumulative Values.ghuser +0 -0
- honeybee_grasshopper_radiance-1.36.0/honeybee_grasshopper_radiance/user_objects/HB Annual Daylight Metrics.ghuser +0 -0
- honeybee_grasshopper_radiance-1.36.0/honeybee_grasshopper_radiance/user_objects/HB Annual Peak Values.ghuser +0 -0
- honeybee_grasshopper_radiance-1.36.0/honeybee_grasshopper_radiance/user_objects/HB Annual Results to Data.ghuser +0 -0
- honeybee_grasshopper_radiance-1.36.0/honeybee_grasshopper_radiance/user_objects/HB Annual Statistics.ghuser +0 -0
- honeybee_grasshopper_radiance-1.36.0/honeybee_grasshopper_radiance/user_objects/HB Annual Sunlight Exposure.ghuser +0 -0
- honeybee_grasshopper_radiance-1.36.0/honeybee_grasshopper_radiance/user_objects/HB Assign Luminaires.ghuser +0 -0
- honeybee_grasshopper_radiance-1.36.0/honeybee_grasshopper_radiance/user_objects/HB Custom Lamp.ghuser +0 -0
- honeybee_grasshopper_radiance-1.36.0/honeybee_grasshopper_radiance/user_objects/HB Get Luminaires.ghuser +0 -0
- honeybee_grasshopper_radiance-1.36.0/honeybee_grasshopper_radiance/user_objects/HB Luminaire Zone.ghuser +0 -0
- honeybee_grasshopper_radiance-1.36.0/honeybee_grasshopper_radiance/user_objects/HB Luminaire.ghuser +0 -0
- honeybee_grasshopper_radiance-1.36.0/honeybee_grasshopper_radiance/user_objects/HB Visualize Luminaire.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance.egg-info/PKG-INFO +1 -1
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance.egg-info/SOURCES.txt +12 -0
- honeybee_grasshopper_radiance-1.35.4/honeybee_grasshopper_radiance/user_objects/HB Annual Average Values.ghuser +0 -0
- honeybee_grasshopper_radiance-1.35.4/honeybee_grasshopper_radiance/user_objects/HB Annual Cumulative Values.ghuser +0 -0
- honeybee_grasshopper_radiance-1.35.4/honeybee_grasshopper_radiance/user_objects/HB Annual Daylight Metrics.ghuser +0 -0
- honeybee_grasshopper_radiance-1.35.4/honeybee_grasshopper_radiance/user_objects/HB Annual Peak Values.ghuser +0 -0
- honeybee_grasshopper_radiance-1.35.4/honeybee_grasshopper_radiance/user_objects/HB Annual Results to Data.ghuser +0 -0
- honeybee_grasshopper_radiance-1.35.4/honeybee_grasshopper_radiance/user_objects/HB Annual Statistics.ghuser +0 -0
- honeybee_grasshopper_radiance-1.35.4/honeybee_grasshopper_radiance/user_objects/HB Annual Sunlight Exposure.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/CODE_OF_CONDUCT.md +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/CONTRIBUTING.md +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/LICENSE +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/MANIFEST.in +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/README.md +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/dev-requirements.txt +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/__init__.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Adjust HDR.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Ambient Resolution.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Annual Daylight.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Annual Glare Metrics.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Annual Irradiance.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Aperture Group Schedule.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Apply Face Modifier.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Apply ModifierSet.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Apply Shade Modifier.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Apply Window Modifier.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Assign Grids and Views.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Automatic Aperture Group.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB BSDF Modifier.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB CIE Standard Sky.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Certain Illuminance.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Check Scene.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Climatebased Sky.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Cumulative Radiation.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Custom Sky.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Daylight Control Schedule.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Daylight Factor.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Deconstruct Modifier.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Deconstruct ModifierSet Interior.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Deconstruct ModifierSet.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Deconstruct Wea.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Direct Sun Hours.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Dynamic Aperture Group.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Dynamic Shade Group.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Dynamic State Geometry.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Dynamic State.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Exterior Modifier Subset.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Extract HDR.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB False Color.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Get Dynamic Groups.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Get Grids and Views.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Glare Postprocess.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Glass Modifier 3.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Glass Modifier.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB HDR to GIF.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Imageless Annual Glare.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Interior Modifier Subset.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Metal Modifier 3.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Metal Modifier.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Mirror Modifier 3.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Mirror Modifier.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Model to Rad Folder.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB ModifierSet.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Opaque Modifier 3.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Opaque Modifier.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Point-In-Time Grid-Based.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Point-In-Time View-Based.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Radial Grid from Rooms.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Radial Sensor Grid.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Radiance Parameter.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Search Modifier Sets.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Search Modifiers.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Section Plane View.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Sensor Grid from Apertures.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Sensor Grid from Faces.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Sensor Grid from Rooms.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Sensor Grid.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Shade Modifier Subset.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Sky View.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Spatial Daylight Autonomy.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Subface Modifier Subset.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Translucent Modifier 3.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Translucent Modifier.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB View from Viewport.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB View.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Visualize Sky.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Wea From Clear Sky.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Wea From EPW.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Wea From Tau Clear Sky.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/HB Wea from Zhang-Huang.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/src/__init__.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Adjust HDR.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Ambient Resolution.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Annual Daylight.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Annual Glare Metrics.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Annual Irradiance.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Aperture Group Schedule.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Apply Face Modifier.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Apply ModifierSet.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Apply Shade Modifier.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Apply Window Modifier.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Assign Grids and Views.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Automatic Aperture Group.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB BSDF Modifier.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB CIE Standard Sky.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Certain Illuminance.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Check Scene.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Climatebased Sky.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Cumulative Radiation.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Custom Sky.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Daylight Control Schedule.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Daylight Factor.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Deconstruct Modifier.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Deconstruct ModifierSet Interior.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Deconstruct ModifierSet.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Deconstruct Wea.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Direct Sun Hours.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Dynamic Aperture Group.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Dynamic Shade Group.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Dynamic State Geometry.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Dynamic State.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Exterior Modifier Subset.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Extract HDR.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Face Radiance Attributes.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB False Color.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Get Dynamic Groups.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Get Grids and Views.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Glare Postprocess.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Glass Modifier 3.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Glass Modifier.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB HDR to GIF.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Imageless Annual Glare.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Interior Modifier Subset.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Metal Modifier 3.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Metal Modifier.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Mirror Modifier 3.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Mirror Modifier.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Model to Rad Folder.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB ModifierSet.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Opaque Modifier 3.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Opaque Modifier.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Point-In-Time Grid-Based.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Point-In-Time View-Based.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Radial Grid from Rooms.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Radial Sensor Grid.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Radiance Parameter.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Room Radiance Attributes.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Search Modifier Sets.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Search Modifiers.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Section Plane View.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Sensor Grid from Apertures.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Sensor Grid from Faces.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Sensor Grid from Rooms.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Sensor Grid.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Shade Modifier Subset.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Sky View.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Spatial Daylight Autonomy.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Subface Modifier Subset.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Translucent Modifier 3.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Translucent Modifier.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB View from Viewport.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB View.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Visualize Sky.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Wea From Clear Sky.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Wea From EPW.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Wea From Tau Clear Sky.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/HB Wea from Zhang-Huang.ghuser +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance/user_objects/__init__.py +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance.egg-info/dependency_links.txt +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/honeybee_grasshopper_radiance.egg-info/top_level.txt +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/setup.cfg +0 -0
- {honeybee_grasshopper_radiance-1.35.4 → honeybee_grasshopper_radiance-1.36.0}/setup.py +0 -0
|
@@ -46,7 +46,7 @@ hour/timestep of the simulation.
|
|
|
46
46
|
|
|
47
47
|
ghenv.Component.Name = 'HB Annual Average Values'
|
|
48
48
|
ghenv.Component.NickName = 'AvgValues'
|
|
49
|
-
ghenv.Component.Message = '1.9.
|
|
49
|
+
ghenv.Component.Message = '1.9.2'
|
|
50
50
|
ghenv.Component.Category = 'HB-Radiance'
|
|
51
51
|
ghenv.Component.SubCategory = '4 :: Results'
|
|
52
52
|
ghenv.Component.AdditionalHelpFromDocStrings = '2'
|
|
@@ -44,7 +44,7 @@ hour/timestep of the simulation.
|
|
|
44
44
|
|
|
45
45
|
ghenv.Component.Name = 'HB Annual Cumulative Values'
|
|
46
46
|
ghenv.Component.NickName = 'CumulValues'
|
|
47
|
-
ghenv.Component.Message = '1.9.
|
|
47
|
+
ghenv.Component.Message = '1.9.2'
|
|
48
48
|
ghenv.Component.Category = 'HB-Radiance'
|
|
49
49
|
ghenv.Component.SubCategory = '4 :: Results'
|
|
50
50
|
ghenv.Component.AdditionalHelpFromDocStrings = '2'
|
|
@@ -152,8 +152,8 @@ if all_required_inputs(ghenv.Component):
|
|
|
152
152
|
cmds, cwd=res_folder, shell=use_shell, env=custom_env,
|
|
153
153
|
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
|
154
154
|
stdout, stderr = process.communicate() # wait for the process to finish
|
|
155
|
+
print(stderr)
|
|
155
156
|
if process.returncode != 0:
|
|
156
|
-
print(stderr)
|
|
157
157
|
raise ValueError('Failed to compute cumulative values.')
|
|
158
158
|
avg_dir = os.path.join(res_folder, 'metrics', 'cumulative_values')
|
|
159
159
|
if os.path.isdir(avg_dir):
|
|
@@ -65,7 +65,7 @@ Calculate Annual Daylight Metrics from a result (.ill) files.
|
|
|
65
65
|
|
|
66
66
|
ghenv.Component.Name = "HB Annual Daylight Metrics"
|
|
67
67
|
ghenv.Component.NickName = 'DaylightMetrics'
|
|
68
|
-
ghenv.Component.Message = '1.9.
|
|
68
|
+
ghenv.Component.Message = '1.9.2'
|
|
69
69
|
ghenv.Component.Category = 'HB-Radiance'
|
|
70
70
|
ghenv.Component.SubCategory = '4 :: Results'
|
|
71
71
|
ghenv.Component.AdditionalHelpFromDocStrings = '1'
|
|
@@ -185,8 +185,8 @@ if all_required_inputs(ghenv.Component):
|
|
|
185
185
|
cmds, cwd=res_folder, shell=use_shell, env=custom_env,
|
|
186
186
|
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
|
187
187
|
stdout, stderr = process.communicate() # wait for the process to finish
|
|
188
|
+
print(stderr)
|
|
188
189
|
if process.returncode != 0:
|
|
189
|
-
print(stderr)
|
|
190
190
|
raise ValueError('Failed to compute annual daylight metrics.')
|
|
191
191
|
metric_dir = os.path.join(res_folder, 'metrics')
|
|
192
192
|
DA = list_to_data_tree(read_da_from_folder(os.path.join(metric_dir, 'da')))
|
|
@@ -50,7 +50,7 @@ hour/timestep of the simulation.
|
|
|
50
50
|
|
|
51
51
|
ghenv.Component.Name = 'HB Annual Peak Values'
|
|
52
52
|
ghenv.Component.NickName = 'PeakValues'
|
|
53
|
-
ghenv.Component.Message = '1.9.
|
|
53
|
+
ghenv.Component.Message = '1.9.2'
|
|
54
54
|
ghenv.Component.Category = 'HB-Radiance'
|
|
55
55
|
ghenv.Component.SubCategory = '4 :: Results'
|
|
56
56
|
ghenv.Component.AdditionalHelpFromDocStrings = '2'
|
|
@@ -174,8 +174,8 @@ if all_required_inputs(ghenv.Component):
|
|
|
174
174
|
cmds, cwd=res_folder, shell=use_shell, env=custom_env,
|
|
175
175
|
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
|
176
176
|
stdout, stderr = process.communicate() # wait for the process to finish
|
|
177
|
+
print(stderr)
|
|
177
178
|
if process.returncode != 0:
|
|
178
|
-
print(stderr)
|
|
179
179
|
raise ValueError('Failed to compute peak values.')
|
|
180
180
|
avg_dir = os.path.join(res_folder, 'metrics', 'peak_values')
|
|
181
181
|
if os.path.isdir(avg_dir):
|
|
@@ -45,7 +45,7 @@ deconstructed for detailed analysis with native Grasshopper math components.
|
|
|
45
45
|
|
|
46
46
|
ghenv.Component.Name = 'HB Annual Results to Data'
|
|
47
47
|
ghenv.Component.NickName = 'AnnualToData'
|
|
48
|
-
ghenv.Component.Message = '1.9.
|
|
48
|
+
ghenv.Component.Message = '1.9.2'
|
|
49
49
|
ghenv.Component.Category = 'HB-Radiance'
|
|
50
50
|
ghenv.Component.SubCategory = '4 :: Results'
|
|
51
51
|
ghenv.Component.AdditionalHelpFromDocStrings = '2'
|
|
@@ -196,8 +196,8 @@ if all_required_inputs(ghenv.Component):
|
|
|
196
196
|
cmds, cwd=res_folder, shell=use_shell, env=custom_env,
|
|
197
197
|
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
|
198
198
|
stdout, stderr = process.communicate() # wait for the process to finish
|
|
199
|
+
print(stderr)
|
|
199
200
|
if process.returncode != 0:
|
|
200
|
-
print(stderr)
|
|
201
201
|
raise ValueError('Failed to compute data collections.')
|
|
202
202
|
data_dicts = json.loads(stdout)
|
|
203
203
|
data = [[HourlyContinuousCollection.from_dict(d) for d in data]
|
|
@@ -56,7 +56,7 @@ Statistics can either be computed per sensor or per timestep.
|
|
|
56
56
|
|
|
57
57
|
ghenv.Component.Name = "HB Annual Statistics"
|
|
58
58
|
ghenv.Component.NickName = 'AnnualStatistics'
|
|
59
|
-
ghenv.Component.Message = '1.9.
|
|
59
|
+
ghenv.Component.Message = '1.9.2'
|
|
60
60
|
ghenv.Component.Category = 'HB-Radiance'
|
|
61
61
|
ghenv.Component.SubCategory = '4 :: Results'
|
|
62
62
|
ghenv.Component.AdditionalHelpFromDocStrings = '2'
|
|
@@ -134,8 +134,8 @@ if all_required_inputs(ghenv.Component):
|
|
|
134
134
|
cmds, cwd=res_folder, shell=use_shell, env=custom_env,
|
|
135
135
|
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
|
136
136
|
stdout, stderr = process.communicate() # wait for the process to finish
|
|
137
|
+
print(stderr)
|
|
137
138
|
if process.returncode != 0:
|
|
138
|
-
print(stderr)
|
|
139
139
|
raise ValueError('Failed to compute annual statistics values.')
|
|
140
140
|
|
|
141
141
|
res_dir = os.path.join(res_folder, 'statistics')
|
|
@@ -43,7 +43,7 @@ results with operable shading devices, then this output is NOT LEED compliant.
|
|
|
43
43
|
|
|
44
44
|
ghenv.Component.Name = "HB Annual Sunlight Exposure"
|
|
45
45
|
ghenv.Component.NickName = 'ASE'
|
|
46
|
-
ghenv.Component.Message = '1.9.
|
|
46
|
+
ghenv.Component.Message = '1.9.2'
|
|
47
47
|
ghenv.Component.Category = 'HB-Radiance'
|
|
48
48
|
ghenv.Component.SubCategory = '4 :: Results'
|
|
49
49
|
ghenv.Component.AdditionalHelpFromDocStrings = '1'
|
|
@@ -134,8 +134,8 @@ if all_required_inputs(ghenv.Component):
|
|
|
134
134
|
cmds, cwd=res_folder, shell=use_shell, env=custom_env,
|
|
135
135
|
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
|
136
136
|
stdout, stderr = process.communicate() # wait for the process to finish
|
|
137
|
+
print(stderr)
|
|
137
138
|
if process.returncode != 0:
|
|
138
|
-
print(stderr)
|
|
139
139
|
raise ValueError('Failed to compute annual sunlight exposure.')
|
|
140
140
|
metric_dir = os.path.join(res_folder, 'metrics')
|
|
141
141
|
ASE = read_ase_from_folder(os.path.join(metric_dir, 'ase'))
|
honeybee_grasshopper_radiance-1.36.0/honeybee_grasshopper_radiance/src/HB Assign Luminaires.py
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Honeybee: A Plugin for Environmental Analysis (GPL)
|
|
2
|
+
# This file is part of Honeybee.
|
|
3
|
+
#
|
|
4
|
+
# Copyright (c) 2025, Ladybug Tools.
|
|
5
|
+
# You should have received a copy of the GNU Affero General Public License
|
|
6
|
+
# along with Honeybee; If not, see <http://www.gnu.org/licenses/>.
|
|
7
|
+
#
|
|
8
|
+
# @license AGPL-3.0-or-later <https://spdx.org/licenses/AGPL-3.0-or-later>
|
|
9
|
+
|
|
10
|
+
"""
|
|
11
|
+
Add Radiance Luminaires to a Honeybee Model.
|
|
12
|
+
_
|
|
13
|
+
This assignment is necessary for any Radiance study, though whether a grid or a
|
|
14
|
+
view is required for a particular type of study is depenednet upon the recipe
|
|
15
|
+
used.
|
|
16
|
+
_
|
|
17
|
+
Multiple copies of this component can be used in series and each will add the
|
|
18
|
+
luminaires to any that already exist.
|
|
19
|
+
|
|
20
|
+
-
|
|
21
|
+
Args:
|
|
22
|
+
_model: A Honeybee Model to which the input _luminaires will be assigned.
|
|
23
|
+
_luminaires: A list of Honeybee-Radiance Luminaires, which will be assigned to
|
|
24
|
+
the input _model.
|
|
25
|
+
|
|
26
|
+
Returns:
|
|
27
|
+
model: The input Honeybee Model with the luminaires assigned to it.
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
ghenv.Component.Name = 'HB Assign Luminaires'
|
|
31
|
+
ghenv.Component.NickName = 'AssignLuminaires'
|
|
32
|
+
ghenv.Component.Message = '1.9.0'
|
|
33
|
+
ghenv.Component.Category = 'HB-Radiance'
|
|
34
|
+
ghenv.Component.SubCategory = '0 :: Basic Properties'
|
|
35
|
+
ghenv.Component.AdditionalHelpFromDocStrings = '6'
|
|
36
|
+
|
|
37
|
+
try: # import core honeybee dependencies
|
|
38
|
+
from honeybee.model import Model
|
|
39
|
+
except ImportError as e:
|
|
40
|
+
raise ImportError('\nFailed to import honeybee:\n\t{}'.format(e))
|
|
41
|
+
|
|
42
|
+
try: # import ladybug_rhino dependencies
|
|
43
|
+
from ladybug_rhino.grasshopper import all_required_inputs
|
|
44
|
+
except ImportError as e:
|
|
45
|
+
raise ImportError('\nFailed to import ladybug_rhino:\n\t{}'.format(e))
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
if all_required_inputs(ghenv.Component):
|
|
49
|
+
assert isinstance(_model, Model), \
|
|
50
|
+
'Expected Honeybee Model. Got {}.'.format(type(_model))
|
|
51
|
+
model = _model.duplicate() # duplicate to avoid editing the input
|
|
52
|
+
model.properties.radiance.add_luminaires(_luminaires)
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
# Honeybee: A Plugin for Environmental Analysis (GPL)
|
|
2
|
+
# This file is part of Honeybee.
|
|
3
|
+
#
|
|
4
|
+
# Copyright (c) 2025, Ladybug Tools.
|
|
5
|
+
# You should have received a copy of the GNU Affero General Public License
|
|
6
|
+
# along with Honeybee; If not, see <http://www.gnu.org/licenses/>.
|
|
7
|
+
#
|
|
8
|
+
# @license AGPL-3.0-or-later <https://spdx.org/licenses/AGPL-3.0-or-later>
|
|
9
|
+
|
|
10
|
+
"""
|
|
11
|
+
Create a Honeybee CustomLamp.
|
|
12
|
+
_
|
|
13
|
+
The CustomLamp can be used to set custom chromaticity, color or color temperature.
|
|
14
|
+
If only the _name is set a default CustomLamp of 3200K is created, unless the name
|
|
15
|
+
is a predefined lamp name.
|
|
16
|
+
-
|
|
17
|
+
The priority of input is from the top. This means that if, e.g., both color_temp_
|
|
18
|
+
and xy_cor_ are set by the user, the color temperature have priority and the CustomLamp
|
|
19
|
+
will be created from the color temperature.
|
|
20
|
+
|
|
21
|
+
-
|
|
22
|
+
Args:
|
|
23
|
+
_name: Set the name of the custom lamp. If the name is among the predefined
|
|
24
|
+
list of lamp names, the lamp name will override any values in the other
|
|
25
|
+
inputs.
|
|
26
|
+
_
|
|
27
|
+
The following lamp names are predefined. The values in parenthesis are
|
|
28
|
+
the x, y 1931 chromaticity coordinates and lumen depreciation values:
|
|
29
|
+
clear metal halide (0.396, 0.39, 0.8)
|
|
30
|
+
cool white (0.376, 0.368, 0.85)
|
|
31
|
+
cool white deluxe (0.376, 0.368, 0.85)
|
|
32
|
+
deluxe cool white (0.376, 0.368, 0.85)
|
|
33
|
+
deluxe warm white (0.44, 0.403, 0.85)
|
|
34
|
+
fluorescent (0.376, 0.368, 0.85)
|
|
35
|
+
halogen (0.4234, 0.399, 1)
|
|
36
|
+
incandescent (0.453, 0.405, 0.95)
|
|
37
|
+
mercury (0.373, 0.415, 0.8)
|
|
38
|
+
metal halide (0.396, 0.39, 0.8)
|
|
39
|
+
quartz (0.424, 0.399, 1)
|
|
40
|
+
sodium (0.569, 0.421, 0.93)
|
|
41
|
+
warm white (0.44, 0.403, 0.85)
|
|
42
|
+
warm white deluxe (0.44, 0.403, 0.85)
|
|
43
|
+
xenon (0.324, 0.324, 1)
|
|
44
|
+
color_temp_: Set the color temperature in Kelvin for the lamp. This is used to
|
|
45
|
+
calculate the chromaticity coordinates on the CIE 1931 xy diagram. Valid
|
|
46
|
+
color temperature values are from 1000 to 25000. Will be ignored if the
|
|
47
|
+
lamp name matches a predefined value.
|
|
48
|
+
xy_cor_: Chromaticity coordinates for the lamp. This input must be a list
|
|
49
|
+
of two values [x, y]. Will be ignored if color_temp_ is supplied. Or if
|
|
50
|
+
the lamp name matches a predefined value.
|
|
51
|
+
_color_space_: Color space for the chromaticity coordinates. The values and
|
|
52
|
+
their corresponding color spaces are
|
|
53
|
+
0 - CIE 1931 Color Space (default)
|
|
54
|
+
1 - CIE 1960 Color Space
|
|
55
|
+
2 - CIE 1976 Color Space
|
|
56
|
+
rgb_color_: Specifiy the RGB color for the lamp. This can be a color from the
|
|
57
|
+
"Colour Swatch" component or a text panel. Any alpha value of the color
|
|
58
|
+
will be multiplied with the depreciation factor. Will be ignored if
|
|
59
|
+
color_temp_ or xy_cor_ are supplied. Or if the lamp name matches a
|
|
60
|
+
predefined value.
|
|
61
|
+
_depr_fac_: A scalar multiplier applied to account for lamp lumen
|
|
62
|
+
depreciation. Must be greater than 0. Default: 1.
|
|
63
|
+
|
|
64
|
+
Returns:
|
|
65
|
+
report: Reports, errors, warnings, etc.
|
|
66
|
+
custom_lamp: A CustomLamp that can be plugged into a Luminaire.
|
|
67
|
+
"""
|
|
68
|
+
|
|
69
|
+
ghenv.Component.Name = 'HB Custom Lamp'
|
|
70
|
+
ghenv.Component.NickName = 'CustomLamp'
|
|
71
|
+
ghenv.Component.Message = '1.9.0'
|
|
72
|
+
ghenv.Component.Category = 'HB-Radiance'
|
|
73
|
+
ghenv.Component.SubCategory = '2 :: Light Sources'
|
|
74
|
+
ghenv.Component.AdditionalHelpFromDocStrings = '4'
|
|
75
|
+
|
|
76
|
+
try:
|
|
77
|
+
from honeybee_radiance.luminaire import Luminaire, LuminaireZone, CustomLamp, LAMPNAMES
|
|
78
|
+
except ImportError as e:
|
|
79
|
+
raise ImportError('\nFailed to import honeybee_radiance:\n\t{}'.format(e))
|
|
80
|
+
|
|
81
|
+
try: # import ladybug_rhino dependencies
|
|
82
|
+
from ladybug_rhino.grasshopper import all_required_inputs
|
|
83
|
+
except ImportError as e:
|
|
84
|
+
raise ImportError('\nFailed to import ladybug_rhino:\n\t{}'.format(e))
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
if all_required_inputs(ghenv.Component):
|
|
88
|
+
# set defaults
|
|
89
|
+
color_temp = color_temp_ or None
|
|
90
|
+
x_cor, y_cor = xy_cor_ or (None, None)
|
|
91
|
+
color_space = 0 if _color_space_ is None else _color_space_
|
|
92
|
+
rgb_color = rgb_color_ or None
|
|
93
|
+
depr_factor = 1 if _depr_fac_ is None else _depr_fac_
|
|
94
|
+
|
|
95
|
+
# record inputs set by user; used for printing message
|
|
96
|
+
inputs = {'_color_temp_': color_temp_, '_xy_cor_': xy_cor_, '_color_space_': _color_space_, '_rgb_color_': rgb_color_, '_depr_fac_': _depr_fac_}
|
|
97
|
+
user_inputs = {k for k in inputs if inputs[k]}
|
|
98
|
+
|
|
99
|
+
if _name in LAMPNAMES:
|
|
100
|
+
custom_lamp = CustomLamp.from_lamp_name(_name, depreciation_factor=depr_factor)
|
|
101
|
+
print('Custom lamp is a predefined lamp named "{}" with x, y chromaticity coordianes and depreciation factor: {}.'.format(_name, LAMPNAMES[_name]))
|
|
102
|
+
if user_inputs:
|
|
103
|
+
print('The input for _name will override the following inputs: {}.'.format(', '.join(user_inputs)))
|
|
104
|
+
elif color_temp:
|
|
105
|
+
custom_lamp = CustomLamp.from_color_temperature(_name, color_temp, depreciation_factor=depr_factor)
|
|
106
|
+
print('Custom lamp will be defined as per the color temperature of: {}.'.format(color_temp))
|
|
107
|
+
user_inputs.remove('_color_temp_')
|
|
108
|
+
user_inputs.remove('_depr_fac_') if '_depr_fac_' in user_inputs else None
|
|
109
|
+
if user_inputs:
|
|
110
|
+
print('The input for _color_temp_ will override the following inputs: {}.'.format(', '.join(user_inputs)))
|
|
111
|
+
elif x_cor and y_cor:
|
|
112
|
+
custom_lamp = CustomLamp.from_xy_coordinates(_name, x_cor, y_cor, depreciation_factor=depr_factor, color_space=color_space)
|
|
113
|
+
x, y, year = 'x', 'y', 1931
|
|
114
|
+
if color_space == 1:
|
|
115
|
+
x, y, year = 'u', 'v', 1960
|
|
116
|
+
elif color_space == 2:
|
|
117
|
+
x, y, year = "u'", "v'", 1976
|
|
118
|
+
print('Custom lamp will be defined as per the following chromaticity coordinates : ({}, {}) = ({}, {}) for the {} CIE Color Space.'.format(x, y, x_cor, y_cor , year))
|
|
119
|
+
user_inputs.remove('_xy_cor_')
|
|
120
|
+
user_inputs.remove('_color_space_') if '_color_space_' in user_inputs else None
|
|
121
|
+
user_inputs.remove('_depr_fac_') if '_depr_fac_' in user_inputs else None
|
|
122
|
+
if user_inputs:
|
|
123
|
+
print('The input for _xy_cor_ will override the following inputs: {}.'.format(', '.join(user_inputs)))
|
|
124
|
+
elif rgb_color:
|
|
125
|
+
custom_lamp = CustomLamp.from_rgb_colors(_name, rgb_color, depreciation_factor=depr_factor)
|
|
126
|
+
print('Custom lamp will be defined as per the RGB color: {}.'.format(rgb_color))
|
|
127
|
+
user_inputs.remove('_rgb_color_')
|
|
128
|
+
user_inputs.remove('_depr_fac_') if '_depr_fac_' in user_inputs else None
|
|
129
|
+
if user_inputs:
|
|
130
|
+
print('The input for _rgb_color_ will override the following inputs: {}.'.format(', '.join(user_inputs)))
|
|
131
|
+
else:
|
|
132
|
+
custom_lamp = CustomLamp.from_default_white(_name, depreciation_factor=depr_factor)
|
|
133
|
+
print('Custom lamp is a default lamp with color temperature of 3200K.')
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Honeybee: A Plugin for Environmental Analysis (GPL)
|
|
2
|
+
# This file is part of Honeybee.
|
|
3
|
+
#
|
|
4
|
+
# Copyright (c) 2025, Ladybug Tools.
|
|
5
|
+
# You should have received a copy of the GNU Affero General Public License
|
|
6
|
+
# along with Honeybee; If not, see <http://www.gnu.org/licenses/>.
|
|
7
|
+
#
|
|
8
|
+
# @license AGPL-3.0-or-later <https://spdx.org/licenses/AGPL-3.0-or-later>
|
|
9
|
+
|
|
10
|
+
"""
|
|
11
|
+
Get Radiance Luminaires from a Honeybee Model.
|
|
12
|
+
-
|
|
13
|
+
Args:
|
|
14
|
+
_model: A Honeybee Model for which luminaires will be output.
|
|
15
|
+
|
|
16
|
+
Returns:
|
|
17
|
+
luminaires: A list of Honeybee-Radiance Luminaires that are assigned to the
|
|
18
|
+
input _model.
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
ghenv.Component.Name = 'HB Get Luminaires'
|
|
22
|
+
ghenv.Component.NickName = 'GetLuminaires'
|
|
23
|
+
ghenv.Component.Message = '1.9.0'
|
|
24
|
+
ghenv.Component.Category = 'HB-Radiance'
|
|
25
|
+
ghenv.Component.SubCategory = '0 :: Basic Properties'
|
|
26
|
+
ghenv.Component.AdditionalHelpFromDocStrings = '6'
|
|
27
|
+
|
|
28
|
+
try: # import core honeybee dependencies
|
|
29
|
+
from honeybee.model import Model
|
|
30
|
+
except ImportError as e:
|
|
31
|
+
raise ImportError('\nFailed to import honeybee:\n\t{}'.format(e))
|
|
32
|
+
|
|
33
|
+
try: # import honeybee_radiance dependencies
|
|
34
|
+
from honeybee_radiance.writer import _filter_by_pattern
|
|
35
|
+
except ImportError as e:
|
|
36
|
+
raise ImportError('\nFailed to import honeybee_radiance:\n\t{}'.format(e))
|
|
37
|
+
|
|
38
|
+
try: # import ladybug_rhino dependencies
|
|
39
|
+
from ladybug_rhino.grasshopper import all_required_inputs
|
|
40
|
+
except ImportError as e:
|
|
41
|
+
raise ImportError('\nFailed to import ladybug_rhino:\n\t{}'.format(e))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
if all_required_inputs(ghenv.Component):
|
|
45
|
+
assert isinstance(_model, Model), \
|
|
46
|
+
'Expected Honeybee Model. Got {}.'.format(type(_model))
|
|
47
|
+
# get the honeybee-radiance objects
|
|
48
|
+
luminaires = _model.properties.radiance.luminaires
|
|
49
|
+
if luminaire_filter_ is not None:
|
|
50
|
+
luminaires = _filter_by_pattern(luminaires, luminaire_filter_)
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# Honeybee: A Plugin for Environmental Analysis (GPL)
|
|
2
|
+
# This file is part of Honeybee.
|
|
3
|
+
#
|
|
4
|
+
# Copyright (c) 2025, Ladybug Tools.
|
|
5
|
+
# You should have received a copy of the GNU Affero General Public License
|
|
6
|
+
# along with Honeybee; If not, see <http://www.gnu.org/licenses/>.
|
|
7
|
+
#
|
|
8
|
+
# @license AGPL-3.0-or-later <https://spdx.org/licenses/AGPL-3.0-or-later>
|
|
9
|
+
|
|
10
|
+
"""
|
|
11
|
+
Create a Honeybee LuminaireZone of LuminaireInstances.
|
|
12
|
+
_
|
|
13
|
+
It is recommended to apply the rotation in the following order: spin, tilt, rotation.
|
|
14
|
+
If an aiming point is added it will override any spin, tilt, and rotation values.
|
|
15
|
+
-
|
|
16
|
+
Args:
|
|
17
|
+
_points: A point or list of points that will be used to position the luminaires.
|
|
18
|
+
_spin_: Rotation about the local vertical axis (degrees), This axis is
|
|
19
|
+
also called the G0 axis. Default: 0.
|
|
20
|
+
_tilt_: Tilt angle around the Y axis (degrees). Default: 0.
|
|
21
|
+
_rotation_: Rotation angle around the Z axis (degrees). Default: 0.
|
|
22
|
+
aiming_point: A point representing the location at which the photometric
|
|
23
|
+
axis of the luminaires should be aimed. This can also be a list of
|
|
24
|
+
points that matches the length of _points.
|
|
25
|
+
|
|
26
|
+
Returns:
|
|
27
|
+
report: Reports, errors, warnings, etc.
|
|
28
|
+
luminaire_zone: A LuminaireZone that can be plugged into a Luminaire.
|
|
29
|
+
"""
|
|
30
|
+
|
|
31
|
+
ghenv.Component.Name = 'HB Luminaire Zone'
|
|
32
|
+
ghenv.Component.NickName = 'LuminaireZone'
|
|
33
|
+
ghenv.Component.Message = '1.9.0'
|
|
34
|
+
ghenv.Component.Category = 'HB-Radiance'
|
|
35
|
+
ghenv.Component.SubCategory = '2 :: Light Sources'
|
|
36
|
+
ghenv.Component.AdditionalHelpFromDocStrings = '4'
|
|
37
|
+
|
|
38
|
+
try:
|
|
39
|
+
from ladybug_rhino.togeometry import to_point3d
|
|
40
|
+
from ladybug_rhino.grasshopper import all_required_inputs
|
|
41
|
+
except ImportError as e:
|
|
42
|
+
raise ImportError('\nFailed to import ladybug_rhino:\n\t{}'.format(e))
|
|
43
|
+
|
|
44
|
+
try:
|
|
45
|
+
from honeybee_radiance.luminaire import LuminaireZone, LuminaireInstance
|
|
46
|
+
except ImportError as e:
|
|
47
|
+
raise ImportError('\nFailed to import honeybee_radiance:\n\t{}'.format(e))
|
|
48
|
+
|
|
49
|
+
try: # import ladybug_rhino dependencies
|
|
50
|
+
from ladybug_rhino.grasshopper import all_required_inputs
|
|
51
|
+
except ImportError as e:
|
|
52
|
+
raise ImportError('\nFailed to import ladybug_rhino:\n\t{}'.format(e))
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
if all_required_inputs(ghenv.Component):
|
|
56
|
+
# set defaults
|
|
57
|
+
points = [to_point3d(pt) for pt in _points]
|
|
58
|
+
_spin = [0]*len(points) if not _spin_ else _spin_
|
|
59
|
+
_tilt = [0]*len(points) if not _tilt_ else _tilt_
|
|
60
|
+
_rotation = [0]*len(points) if not _rotation_ else _rotation_
|
|
61
|
+
_aiming_point = aiming_point_ or None
|
|
62
|
+
|
|
63
|
+
if _aiming_point:
|
|
64
|
+
if len(_aiming_point) == 1: # all instances point to same aiming point
|
|
65
|
+
_aiming_point = _aiming_point * len(points)
|
|
66
|
+
|
|
67
|
+
lum_instances = []
|
|
68
|
+
for idx, point in enumerate(points):
|
|
69
|
+
spin = _spin[idx]
|
|
70
|
+
tilt = _tilt[idx]
|
|
71
|
+
rotation = _rotation[idx]
|
|
72
|
+
|
|
73
|
+
if _aiming_point:
|
|
74
|
+
aiming_point = _aiming_point[idx]
|
|
75
|
+
lum_instance = LuminaireInstance.from_aiming_point(point, aiming_point, spin=spin, tilt=tilt, rotation=rotation)
|
|
76
|
+
else:
|
|
77
|
+
lum_instance = LuminaireInstance(point, spin, tilt, rotation)
|
|
78
|
+
|
|
79
|
+
lum_instances.append(lum_instance)
|
|
80
|
+
|
|
81
|
+
luminaire_zone = LuminaireZone(lum_instances)
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# Honeybee: A Plugin for Environmental Analysis (GPL)
|
|
2
|
+
# This file is part of Honeybee.
|
|
3
|
+
#
|
|
4
|
+
# Copyright (c) 2025, Ladybug Tools.
|
|
5
|
+
# You should have received a copy of the GNU Affero General Public License
|
|
6
|
+
# along with Honeybee; If not, see <http://www.gnu.org/licenses/>.
|
|
7
|
+
#
|
|
8
|
+
# @license AGPL-3.0-or-later <https://spdx.org/licenses/AGPL-3.0-or-later>
|
|
9
|
+
|
|
10
|
+
"""
|
|
11
|
+
Create a Honeybee Luminaire.
|
|
12
|
+
_
|
|
13
|
+
The Luminaire object stores the photometric data of a light fixture and
|
|
14
|
+
provides methods to:
|
|
15
|
+
- Parse IES LM-63 photometric data
|
|
16
|
+
- Generate Radiance geometry via ies2rad
|
|
17
|
+
- Generate photometric web geometry
|
|
18
|
+
- Place and orient luminaire instances in space via a LuminaireZone
|
|
19
|
+
_
|
|
20
|
+
The Luminaire must be added to the Honeybee Model. The translation through ies2rad
|
|
21
|
+
happens in the recipe.
|
|
22
|
+
-
|
|
23
|
+
Args:
|
|
24
|
+
_ies: Path to an IES LM-63 photometric file or a string of the file contents.
|
|
25
|
+
_name_: Optional name of the luminaire. If None the IES file is used as
|
|
26
|
+
the luminaire name. If the Honeybee Model includes multiple luminaires,
|
|
27
|
+
each luminaire must have an unique name.
|
|
28
|
+
_luminaire_zone: A Honeybee LuminaireZone. The LuminaireZone specifices
|
|
29
|
+
the location and rotation of the luminaire instances.
|
|
30
|
+
custom_lamp_: A Honeybee CustomLamp. This can be used to specify custom
|
|
31
|
+
chromaticity, color or color temperature.
|
|
32
|
+
_loss_fac_: A scalar multiplier applied to account for lamp lumen
|
|
33
|
+
depreciation, dirt depreciation, or other system losses. Must be
|
|
34
|
+
greater than 0 (default: 1).
|
|
35
|
+
_cand_mult_: Additional scalar multiplier applied to candela values
|
|
36
|
+
after parsing the IES file. Must be greater than 0 (default: 1).
|
|
37
|
+
|
|
38
|
+
Returns:
|
|
39
|
+
report: Reports, errors, warnings, etc.
|
|
40
|
+
luminaire: A Honeybee Luminaire that can be used in a recipe.
|
|
41
|
+
"""
|
|
42
|
+
|
|
43
|
+
ghenv.Component.Name = 'HB Luminaire'
|
|
44
|
+
ghenv.Component.NickName = 'Luminaire'
|
|
45
|
+
ghenv.Component.Message = '1.9.0'
|
|
46
|
+
ghenv.Component.Category = 'HB-Radiance'
|
|
47
|
+
ghenv.Component.SubCategory = '2 :: Light Sources'
|
|
48
|
+
ghenv.Component.AdditionalHelpFromDocStrings = '4'
|
|
49
|
+
|
|
50
|
+
try:
|
|
51
|
+
from honeybee_radiance.luminaire import Luminaire, LuminaireZone
|
|
52
|
+
except ImportError as e:
|
|
53
|
+
raise ImportError('\nFailed to import honeybee_radiance:\n\t{}'.format(e))
|
|
54
|
+
|
|
55
|
+
try: # import ladybug_rhino dependencies
|
|
56
|
+
from ladybug_rhino.grasshopper import all_required_inputs
|
|
57
|
+
except ImportError as e:
|
|
58
|
+
raise ImportError('\nFailed to import ladybug_rhino:\n\t{}'.format(e))
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
if all_required_inputs(ghenv.Component):
|
|
62
|
+
# set defaults
|
|
63
|
+
name = _name_ or None
|
|
64
|
+
light_loss_factor = 1 if _loss_fac_ is None else _loss_fac_
|
|
65
|
+
candela_multiplier = 1 if _cand_mult_ is None else _cand_mult_
|
|
66
|
+
custom_lamp = custom_lamp_ or None
|
|
67
|
+
|
|
68
|
+
# create luminaire
|
|
69
|
+
luminaire = Luminaire(
|
|
70
|
+
_ies, identifier=name, luminaire_zone=_luminaire_zone, custom_lamp=custom_lamp,
|
|
71
|
+
light_loss_factor=light_loss_factor,candela_multiplier=candela_multiplier)
|
honeybee_grasshopper_radiance-1.36.0/honeybee_grasshopper_radiance/src/HB Visualize Luminaire.py
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Honeybee: A Plugin for Environmental Analysis (GPL)
|
|
2
|
+
# This file is part of Honeybee.
|
|
3
|
+
#
|
|
4
|
+
# Copyright (c) 2025, Ladybug Tools.
|
|
5
|
+
# You should have received a copy of the GNU Affero General Public License
|
|
6
|
+
# along with Honeybee; If not, see <http://www.gnu.org/licenses/>.
|
|
7
|
+
#
|
|
8
|
+
# @license AGPL-3.0-or-later <https://spdx.org/licenses/AGPL-3.0-or-later>
|
|
9
|
+
|
|
10
|
+
"""
|
|
11
|
+
Visualize a Luminaire.
|
|
12
|
+
_
|
|
13
|
+
This is useful to check if the the spin, tilt, and rotation is applied correctly.
|
|
14
|
+
|
|
15
|
+
-
|
|
16
|
+
Args:
|
|
17
|
+
_luminaire: A Honeybee Luminaire.
|
|
18
|
+
_scale_: A scalar value to scale the geometry. By default the geometry
|
|
19
|
+
is normalized to Rhino model units as a base scale. The scalar value
|
|
20
|
+
is multiplied with this base scale.
|
|
21
|
+
|
|
22
|
+
Returns:
|
|
23
|
+
report: Reports, errors, warnings, etc.
|
|
24
|
+
lum_poly: Geometric representation of the luminous opening.
|
|
25
|
+
lum_web: Geometric representation of the candela distribution of the luminaire.
|
|
26
|
+
lum_axes: Line representation of the C0-G0 axes of the luminaire.
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
ghenv.Component.Name = 'HB Visualize Luminaire'
|
|
30
|
+
ghenv.Component.NickName = 'VizLuminaire'
|
|
31
|
+
ghenv.Component.Message = '1.9.0'
|
|
32
|
+
ghenv.Component.Category = 'HB-Radiance'
|
|
33
|
+
ghenv.Component.SubCategory = '2 :: Light Sources'
|
|
34
|
+
ghenv.Component.AdditionalHelpFromDocStrings = '4'
|
|
35
|
+
|
|
36
|
+
try:
|
|
37
|
+
from ladybug_rhino.config import conversion_to_meters
|
|
38
|
+
from ladybug_rhino.fromobjects import luminaire_objects
|
|
39
|
+
from ladybug_rhino.grasshopper import all_required_inputs, list_to_data_tree, \
|
|
40
|
+
give_warning
|
|
41
|
+
except ImportError as e:
|
|
42
|
+
raise ImportError('\nFailed to import ladybug_rhino:\n\t{}'.format(e))
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
if all_required_inputs(ghenv.Component):
|
|
46
|
+
base_scale = 1 / conversion_to_meters()
|
|
47
|
+
scale = base_scale if _scale_ is None else base_scale * _scale_
|
|
48
|
+
|
|
49
|
+
luminaire_web, luminaire_poly, luminaire_axes = luminaire_objects(_luminaire, scale)
|
|
50
|
+
|
|
51
|
+
lum_web = list_to_data_tree(luminaire_web)
|
|
52
|
+
lum_poly = list_to_data_tree(luminaire_poly)
|
|
53
|
+
lum_axes = list_to_data_tree(luminaire_axes)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
honeybee_grasshopper_radiance-1.36.0/honeybee_grasshopper_radiance/user_objects/HB Luminaire.ghuser
ADDED
|
Binary file
|
|
Binary file
|