honeybee-grasshopper-radiance 1.34.2__tar.gz → 1.34.4__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.
Files changed (182) hide show
  1. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/PKG-INFO +1 -1
  2. honeybee_grasshopper_radiance-1.34.4/dev-requirements.txt +5 -0
  3. honeybee_grasshopper_radiance-1.34.4/honeybee_grasshopper_radiance/src/HB Automatic Aperture Group.py +100 -0
  4. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB False Color.py +2 -2
  5. honeybee_grasshopper_radiance-1.34.4/honeybee_grasshopper_radiance/user_objects/HB Automatic Aperture Group.ghuser +0 -0
  6. honeybee_grasshopper_radiance-1.34.4/honeybee_grasshopper_radiance/user_objects/HB False Color.ghuser +0 -0
  7. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance.egg-info/PKG-INFO +1 -1
  8. honeybee-grasshopper-radiance-1.34.2/dev-requirements.txt +0 -8
  9. honeybee-grasshopper-radiance-1.34.2/honeybee_grasshopper_radiance/src/HB Automatic Aperture Group.py +0 -218
  10. honeybee-grasshopper-radiance-1.34.2/honeybee_grasshopper_radiance/user_objects/HB Automatic Aperture Group.ghuser +0 -0
  11. honeybee-grasshopper-radiance-1.34.2/honeybee_grasshopper_radiance/user_objects/HB False Color.ghuser +0 -0
  12. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/CODE_OF_CONDUCT.md +0 -0
  13. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/CONTRIBUTING.md +0 -0
  14. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/LICENSE +0 -0
  15. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/MANIFEST.in +0 -0
  16. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/README.md +0 -0
  17. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/__init__.py +0 -0
  18. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Adjust HDR.py +0 -0
  19. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Ambient Resolution.py +0 -0
  20. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Annual Average Values.py +0 -0
  21. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Annual Cumulative Values.py +0 -0
  22. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Annual Daylight Metrics.py +0 -0
  23. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Annual Daylight.py +0 -0
  24. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Annual Glare Metrics.py +0 -0
  25. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Annual Irradiance.py +0 -0
  26. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Annual Peak Values.py +0 -0
  27. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Annual Results to Data.py +0 -0
  28. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Annual Sunlight Exposure.py +0 -0
  29. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Aperture Group Schedule.py +0 -0
  30. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Apply Face Modifier.py +0 -0
  31. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Apply ModifierSet.py +0 -0
  32. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Apply Shade Modifier.py +0 -0
  33. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Apply Window Modifier.py +0 -0
  34. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Assign Grids and Views.py +0 -0
  35. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB BSDF Modifier.py +0 -0
  36. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB CIE Standard Sky.py +0 -0
  37. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Certain Illuminance.py +0 -0
  38. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Check Scene.py +0 -0
  39. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Climatebased Sky.py +0 -0
  40. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Cumulative Radiation.py +0 -0
  41. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Custom Sky.py +0 -0
  42. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Daylight Control Schedule.py +0 -0
  43. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Daylight Factor.py +0 -0
  44. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Deconstruct Modifier.py +0 -0
  45. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Deconstruct ModifierSet Interior.py +0 -0
  46. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Deconstruct ModifierSet.py +0 -0
  47. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Deconstruct Wea.py +0 -0
  48. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Direct Sun Hours.py +0 -0
  49. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Dynamic Aperture Group.py +0 -0
  50. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Dynamic Shade Group.py +0 -0
  51. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Dynamic State Geometry.py +0 -0
  52. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Dynamic State.py +0 -0
  53. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Exterior Modifier Subset.py +0 -0
  54. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Extract HDR.py +0 -0
  55. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Get Dynamic Groups.py +0 -0
  56. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Get Grids and Views.py +0 -0
  57. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Glare Postprocess.py +0 -0
  58. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Glass Modifier 3.py +0 -0
  59. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Glass Modifier.py +0 -0
  60. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB HDR to GIF.py +0 -0
  61. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Imageless Annual Glare.py +0 -0
  62. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Interior Modifier Subset.py +0 -0
  63. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Metal Modifier 3.py +0 -0
  64. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Metal Modifier.py +0 -0
  65. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Mirror Modifier 3.py +0 -0
  66. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Mirror Modifier.py +0 -0
  67. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Model to Rad Folder.py +0 -0
  68. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB ModifierSet.py +0 -0
  69. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Opaque Modifier 3.py +0 -0
  70. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Opaque Modifier.py +0 -0
  71. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Point-In-Time Grid-Based.py +0 -0
  72. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Point-In-Time View-Based.py +0 -0
  73. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Radial Grid from Rooms.py +0 -0
  74. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Radial Sensor Grid.py +0 -0
  75. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Radiance Parameter.py +0 -0
  76. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Search Modifier Sets.py +0 -0
  77. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Search Modifiers.py +0 -0
  78. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Section Plane View.py +0 -0
  79. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Sensor Grid from Apertures.py +0 -0
  80. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Sensor Grid from Faces.py +0 -0
  81. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Sensor Grid from Rooms.py +0 -0
  82. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Sensor Grid.py +0 -0
  83. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Shade Modifier Subset.py +0 -0
  84. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Sky View.py +0 -0
  85. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Spatial Daylight Autonomy.py +0 -0
  86. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Subface Modifier Subset.py +0 -0
  87. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Translucent Modifier 3.py +0 -0
  88. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Translucent Modifier.py +0 -0
  89. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB View from Viewport.py +0 -0
  90. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB View.py +0 -0
  91. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Visualize Sky.py +0 -0
  92. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Wea From Clear Sky.py +0 -0
  93. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Wea From EPW.py +0 -0
  94. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Wea From Tau Clear Sky.py +0 -0
  95. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/HB Wea from Zhang-Huang.py +0 -0
  96. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/src/__init__.py +0 -0
  97. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Adjust HDR.ghuser +0 -0
  98. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Ambient Resolution.ghuser +0 -0
  99. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Annual Average Values.ghuser +0 -0
  100. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Annual Cumulative Values.ghuser +0 -0
  101. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Annual Daylight Metrics.ghuser +0 -0
  102. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Annual Daylight.ghuser +0 -0
  103. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Annual Glare Metrics.ghuser +0 -0
  104. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Annual Irradiance.ghuser +0 -0
  105. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Annual Peak Values.ghuser +0 -0
  106. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Annual Results to Data.ghuser +0 -0
  107. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Annual Sunlight Exposure.ghuser +0 -0
  108. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Aperture Group Schedule.ghuser +0 -0
  109. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Apply Face Modifier.ghuser +0 -0
  110. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Apply ModifierSet.ghuser +0 -0
  111. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Apply Shade Modifier.ghuser +0 -0
  112. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Apply Window Modifier.ghuser +0 -0
  113. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Assign Grids and Views.ghuser +0 -0
  114. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB BSDF Modifier.ghuser +0 -0
  115. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB CIE Standard Sky.ghuser +0 -0
  116. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Certain Illuminance.ghuser +0 -0
  117. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Check Scene.ghuser +0 -0
  118. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Climatebased Sky.ghuser +0 -0
  119. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Cumulative Radiation.ghuser +0 -0
  120. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Custom Sky.ghuser +0 -0
  121. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Daylight Control Schedule.ghuser +0 -0
  122. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Daylight Factor.ghuser +0 -0
  123. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Deconstruct Modifier.ghuser +0 -0
  124. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Deconstruct ModifierSet Interior.ghuser +0 -0
  125. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Deconstruct ModifierSet.ghuser +0 -0
  126. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Deconstruct Wea.ghuser +0 -0
  127. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Direct Sun Hours.ghuser +0 -0
  128. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Dynamic Aperture Group.ghuser +0 -0
  129. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Dynamic Shade Group.ghuser +0 -0
  130. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Dynamic State Geometry.ghuser +0 -0
  131. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Dynamic State.ghuser +0 -0
  132. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Exterior Modifier Subset.ghuser +0 -0
  133. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Extract HDR.ghuser +0 -0
  134. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Face Radiance Attributes.ghuser +0 -0
  135. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Get Dynamic Groups.ghuser +0 -0
  136. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Get Grids and Views.ghuser +0 -0
  137. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Glare Postprocess.ghuser +0 -0
  138. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Glass Modifier 3.ghuser +0 -0
  139. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Glass Modifier.ghuser +0 -0
  140. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB HDR to GIF.ghuser +0 -0
  141. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Imageless Annual Glare.ghuser +0 -0
  142. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Interior Modifier Subset.ghuser +0 -0
  143. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Metal Modifier 3.ghuser +0 -0
  144. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Metal Modifier.ghuser +0 -0
  145. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Mirror Modifier 3.ghuser +0 -0
  146. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Mirror Modifier.ghuser +0 -0
  147. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Model to Rad Folder.ghuser +0 -0
  148. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB ModifierSet.ghuser +0 -0
  149. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Opaque Modifier 3.ghuser +0 -0
  150. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Opaque Modifier.ghuser +0 -0
  151. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Point-In-Time Grid-Based.ghuser +0 -0
  152. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Point-In-Time View-Based.ghuser +0 -0
  153. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Radial Grid from Rooms.ghuser +0 -0
  154. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Radial Sensor Grid.ghuser +0 -0
  155. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Radiance Parameter.ghuser +0 -0
  156. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Room Radiance Attributes.ghuser +0 -0
  157. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Search Modifier Sets.ghuser +0 -0
  158. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Search Modifiers.ghuser +0 -0
  159. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Section Plane View.ghuser +0 -0
  160. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Sensor Grid from Apertures.ghuser +0 -0
  161. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Sensor Grid from Faces.ghuser +0 -0
  162. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Sensor Grid from Rooms.ghuser +0 -0
  163. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Sensor Grid.ghuser +0 -0
  164. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Shade Modifier Subset.ghuser +0 -0
  165. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Sky View.ghuser +0 -0
  166. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Spatial Daylight Autonomy.ghuser +0 -0
  167. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Subface Modifier Subset.ghuser +0 -0
  168. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Translucent Modifier 3.ghuser +0 -0
  169. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Translucent Modifier.ghuser +0 -0
  170. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB View from Viewport.ghuser +0 -0
  171. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB View.ghuser +0 -0
  172. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Visualize Sky.ghuser +0 -0
  173. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Wea From Clear Sky.ghuser +0 -0
  174. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Wea From EPW.ghuser +0 -0
  175. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Wea From Tau Clear Sky.ghuser +0 -0
  176. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/HB Wea from Zhang-Huang.ghuser +0 -0
  177. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance/user_objects/__init__.py +0 -0
  178. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance.egg-info/SOURCES.txt +0 -0
  179. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance.egg-info/dependency_links.txt +0 -0
  180. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/honeybee_grasshopper_radiance.egg-info/top_level.txt +0 -0
  181. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/setup.cfg +0 -0
  182. {honeybee-grasshopper-radiance-1.34.2 → honeybee_grasshopper_radiance-1.34.4}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: honeybee-grasshopper-radiance
3
- Version: 1.34.2
3
+ Version: 1.34.4
4
4
  Summary: Honeybee Radiance plugin for Grasshopper.
5
5
  Home-page: https://github.com/ladybug-tools/honeybee-grasshopper-radiance
6
6
  Author: Ladybug Tools
@@ -0,0 +1,5 @@
1
+ pytest==8.3.2
2
+ twine==5.1.1
3
+ wheel==0.44.0
4
+ setuptools==75.1.0
5
+ importlib-metadata==8.5.0
@@ -0,0 +1,100 @@
1
+ # Honeybee: A Plugin for Environmental Analysis (GPL)
2
+ # This file is part of Honeybee.
3
+ #
4
+ # Copyright (c) 2024, 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
+ Calculate Aperture groups for exterior Apertures.
12
+ _
13
+ The Apertures are grouped by orientation unless _view_factor_ is set to True.
14
+ _
15
+ If grouping based on view factor the component calculates view factor from
16
+ Apertures to sky patches (rfluxmtx). Each Aperture is represented by a sensor
17
+ grid, and the view factor for the whole Aperture is the average of the grid. The
18
+ RMSE of the view factor to each sky patch is calculated between all Apertures.
19
+ Agglomerative hierarchical clustering (with complete-linkage method) is used to
20
+ group the Apertures by using a distance matrix of the RMSE values.
21
+
22
+ The view factor approach is Radiance-based (and slower) and will likely group
23
+ Apertures more accurately considering the context geometry of the Honeybee
24
+ Model.
25
+ -
26
+
27
+ Args:
28
+ _model: A Honeybee Model for which Apertures will be grouped automatically.
29
+ Note that this model must have Apertures with Outdoors boundary
30
+ condition assigned to it.
31
+ _room_based_: A boolean to note whether the Apertures should be grouped on a
32
+ room basis. If grouped on a room basis Apertures from different
33
+ room cannot be in the same group. (Default: True).
34
+ _view_factor_: A boolean to note whether the Apertures should be grouped by
35
+ calculating view factors for the Apertures to a discretized sky or
36
+ simply by the normal orientation of the Apertures. (Default: False).
37
+ _size_: Aperture grid size for view factor calculation. A lower number
38
+ will give a finer grid and more accurate results but the calculation
39
+ time will increase. This option is only used if _view_factor_ is set
40
+ to True. (Default: 0.2).
41
+ vert_tolerance_: A float value for vertical tolerance between two Apertures.
42
+ If the vertical distance between two Apertures is larger than this
43
+ tolerance the Apertures cannot be grouped. If no value is given the
44
+ vertical grouping will be skipped. (Default: None).
45
+ states_: An optional list of Honeybee State objects to be applied to all the generated groups.
46
+ These states should be ordered based on how they will be switched on.
47
+ The first state is the default state and, typically, higher states
48
+ are more shaded. If the objects in the group have no states, the
49
+ modifiers already assigned the apertures will be used for all states.
50
+ _run: Set to True to run the automatic Aperture grouping.
51
+
52
+ Returns:
53
+ model: The input Honeybee Model object where all Apertures with Outdoors
54
+ boundary condition have been assigned a dynamic group identifier.
55
+ """
56
+
57
+ ghenv.Component.Name = 'HB Automatic Aperture Group'
58
+ ghenv.Component.NickName = 'AutoGroup'
59
+ ghenv.Component.Message = '1.8.1'
60
+ ghenv.Component.Category = 'HB-Radiance'
61
+ ghenv.Component.SubCategory = '0 :: Basic Properties'
62
+ ghenv.Component.AdditionalHelpFromDocStrings = '2'
63
+
64
+ try:
65
+ from honeybee.model import Model
66
+ except ImportError as e:
67
+ raise ImportError('\nFailed to import honeybee:\n\t{}'.format(e))
68
+
69
+ try: # import honeybee_radiance_command dependencies
70
+ from honeybee_radiance_command.oconv import Oconv
71
+ except ImportError as e:
72
+ raise ImportError('\nFailed to import honeybee_radiance_command:\n\t{}'.format(e))
73
+
74
+ try:
75
+ from honeybee_radiance.dynamic.multiphase import automatic_aperture_grouping
76
+ except ImportError as e:
77
+ raise ImportError('\nFailed to import honeybee_radiance:\n\t{}'.format(e))
78
+
79
+ try:
80
+ from ladybug_rhino.grasshopper import all_required_inputs
81
+ except ImportError as e:
82
+ raise ImportError('\nFailed to import ladybug_rhino:\n\t{}'.format(e))
83
+
84
+
85
+ if all_required_inputs(ghenv.Component) and _run:
86
+ assert isinstance(_model, Model), \
87
+ 'Input _model must be a Model. Got {}'.format(type(_model))
88
+ # duplicate model
89
+ model = _model.duplicate()
90
+
91
+ # set defaults
92
+ room_based = True if _room_based_ is None else _room_based_
93
+ view_factor = False if _view_factor_ is None else _view_factor_
94
+ size = 0.2 if _size_ is None else _size_
95
+ vertical_tolerance = None if vert_tolerance_ is None else vert_tolerance_
96
+
97
+ # automatically assign groups
98
+ automatic_aperture_grouping(
99
+ model, size=size, room_based=room_based, view_factor_or_orientation=view_factor,
100
+ vertical_tolerance=vertical_tolerance, states=states_)
@@ -52,7 +52,7 @@ Convert a High Dynamic Range (HDR) image file into a falsecolor version of itsel
52
52
 
53
53
  ghenv.Component.Name = 'HB False Color'
54
54
  ghenv.Component.NickName = 'FalseColor'
55
- ghenv.Component.Message = '1.8.0'
55
+ ghenv.Component.Message = '1.8.1'
56
56
  ghenv.Component.Category = 'HB-Radiance'
57
57
  ghenv.Component.SubCategory = '4 :: Results'
58
58
  ghenv.Component.AdditionalHelpFromDocStrings = '3'
@@ -242,5 +242,5 @@ if all_required_inputs(ghenv.Component):
242
242
  'go=m*gi(1);' \
243
243
  'bo=m*bi(1)'.format(xw, yw)
244
244
  pcomb = Pcomb(input=out_img, output=new_image)
245
- pcomb.options.e = expression
245
+ pcomb.options.e = '"{}"'.format(expression)
246
246
  pcomb.run(env, cwd=img_dir)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: honeybee-grasshopper-radiance
3
- Version: 1.34.2
3
+ Version: 1.34.4
4
4
  Summary: Honeybee Radiance plugin for Grasshopper.
5
5
  Home-page: https://github.com/ladybug-tools/honeybee-grasshopper-radiance
6
6
  Author: Ladybug Tools
@@ -1,8 +0,0 @@
1
- coverage==5.5
2
- coveralls==3.1.0
3
- pytest==6.2.4
4
- pytest-cov==2.12.0
5
- twine==3.4.1
6
- wheel==0.38.1
7
- setuptools==65.5.1
8
- importlib-metadata==4.0.1
@@ -1,218 +0,0 @@
1
- # Honeybee: A Plugin for Environmental Analysis (GPL)
2
- # This file is part of Honeybee.
3
- #
4
- # Copyright (c) 2024, 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
- Calculate Aperture groups for exterior Apertures.
12
- _
13
- The Apertures are grouped by orientation unless _view_factor_ is set to True.
14
- _
15
- If grouping based on view factor the component calculates view factor from
16
- Apertures to sky patches (rfluxmtx). Each Aperture is represented by a sensor
17
- grid, and the view factor for the whole Aperture is the average of the grid. The
18
- RMSE of the view factor to each sky patch is calculated between all Apertures.
19
- Agglomerative hierarchical clustering (with complete-linkage method) is used to
20
- group the Apertures by using a distance matrix of the RMSE values.
21
-
22
- The view factor approach is Radiance-based (and slower) and will likely group
23
- Apertures more accurately considering the context geometry of the Honeybee
24
- Model.
25
- -
26
-
27
- Args:
28
- _model: A Honeybee Model for which Apertures will be grouped automatically.
29
- Note that this model must have Apertures with Outdoors boundary
30
- condition assigned to it.
31
- _room_based_: A boolean to note whether the Apertures should be grouped on a
32
- room basis. If grouped on a room basis Apertures from different
33
- room cannot be in the same group. (Default: True).
34
- _view_factor_: A boolean to note whether the Apertures should be grouped by
35
- calculating view factors for the Apertures to a discretized sky or
36
- simply by the normal orientation of the Apertures. (Default: False).
37
- _size_: Aperture grid size for view factor calculation. A lower number
38
- will give a finer grid and more accurate results but the calculation
39
- time will increase. This option is only used if _view_factor_ is set
40
- to True. (Default: 0.2).
41
- vert_tolerance_: A float value for vertical tolerance between two Apertures.
42
- If the vertical distance between two Apertures is larger than this
43
- tolerance the Apertures cannot be grouped. If no value is given the
44
- vertical grouping will be skipped. (Default: None).
45
- states_: An optional list of Honeybee State objects to be applied to all the generated groups.
46
- These states should be ordered based on how they will be switched on.
47
- The first state is the default state and, typically, higher states
48
- are more shaded. If the objects in the group have no states, the
49
- modifiers already assigned the apertures will be used for all states.
50
- _run: Set to True to run the automatic Aperture grouping.
51
-
52
- Returns:
53
- model: The input Honeybee Model object where all Apertures with Outdoors
54
- boundary condition have been assigned a dynamic group identifier.
55
- """
56
-
57
- ghenv.Component.Name = 'HB Automatic Aperture Group'
58
- ghenv.Component.NickName = 'AutoGroup'
59
- ghenv.Component.Message = '1.8.0'
60
- ghenv.Component.Category = 'HB-Radiance'
61
- ghenv.Component.SubCategory = '0 :: Basic Properties'
62
- ghenv.Component.AdditionalHelpFromDocStrings = '2'
63
-
64
- import os
65
- import json
66
-
67
- try: # import honeybee_radiance dependencies
68
- from ladybug.futil import write_to_file_by_name
69
- except ImportError as e:
70
- raise ImportError('\nFailed to import ladybug:\n\t{}'.format(e))
71
-
72
- try:
73
- from honeybee.model import Model
74
- from honeybee.boundarycondition import Outdoors
75
- from honeybee.config import folders
76
- except ImportError as e:
77
- raise ImportError('\nFailed to import honeybee:\n\t{}'.format(e))
78
-
79
- try: # import honeybee_radiance_command dependencies
80
- from honeybee_radiance_command.oconv import Oconv
81
- except ImportError as e:
82
- raise ImportError('\nFailed to import honeybee_radiance_command:\n\t{}'.format(e))
83
-
84
- try:
85
- from honeybee_radiance.config import folders as rad_folders
86
- from honeybee_radiance.dynamic.multiphase import aperture_view_factor, \
87
- aperture_view_factor_postprocess, cluster_view_factor, \
88
- cluster_orientation, cluster_output
89
- from honeybee_radiance.lightsource.sky.skydome import SkyDome
90
- except ImportError as e:
91
- raise ImportError('\nFailed to import honeybee_radiance:\n\t{}'.format(e))
92
-
93
- try:
94
- from ladybug_rhino.grasshopper import all_required_inputs
95
- except ImportError as e:
96
- raise ImportError('\nFailed to import ladybug_rhino:\n\t{}'.format(e))
97
-
98
-
99
- if all_required_inputs(ghenv.Component) and _run:
100
- assert isinstance(_model, Model), \
101
- 'Input _model must be a Model. Got {}'.format(type(_model))
102
- # duplicate model
103
- model = _model.duplicate()
104
-
105
- # set defaults
106
- room_based = True if _room_based_ is None else _room_based_
107
- view_factor = False if _view_factor_ is None else _view_factor_
108
- size = 0.2 if _size_ is None else _size_
109
- vertical_tolerance = None if vert_tolerance_ is None else vert_tolerance_
110
-
111
- # create directory
112
- folder_dir = os.path.join(folders.default_simulation_folder, 'aperture_groups')
113
- if not os.path.isdir(folder_dir):
114
- os.makedirs(folder_dir)
115
-
116
- apertures = []
117
- room_apertures = {}
118
- # get all room-based apertures with Outdoors boundary condition
119
- for room in model.rooms:
120
- for face in room.faces:
121
- for ap in face.apertures:
122
- if isinstance(ap.boundary_condition, Outdoors):
123
- apertures.append(ap)
124
- if not room.identifier in room_apertures:
125
- room_apertures[room.identifier] = {}
126
- if not 'apertures' in room_apertures[room.identifier]:
127
- room_apertures[room.identifier]['apertures'] = \
128
- [ap]
129
- else:
130
- room_apertures[room.identifier]['apertures'].append(ap)
131
- if not 'display_name' in room_apertures[room.identifier]:
132
- room_apertures[room.identifier]['display_name'] = \
133
- room.display_name
134
- assert len(apertures) != 0, \
135
- 'Found no apertures. There should at least be one aperture ' \
136
- 'in your model.'
137
-
138
- if view_factor:
139
- # write octree
140
- model_content, modifier_content = model.to.rad(model, minimal=True)
141
- scene_file, mat_file = 'scene.rad', 'scene.mat'
142
- write_to_file_by_name(folder_dir, scene_file, model_content)
143
- write_to_file_by_name(folder_dir, mat_file, modifier_content)
144
-
145
- octree = 'scene.oct'
146
- oconv = Oconv(inputs=[mat_file, scene_file], output=octree)
147
- oconv.options.f = True
148
-
149
- # run Oconv command
150
- env = None
151
- if rad_folders.env != {}:
152
- env = rad_folders.env
153
- env = dict(os.environ, **env) if env else None
154
- oconv.run(env, cwd=folder_dir)
155
-
156
- rflux_sky = SkyDome()
157
- rflux_sky = rflux_sky.to_file(folder_dir, name='rflux_sky.sky')
158
-
159
- # calculate view factor
160
- mtx_file, ap_dict = aperture_view_factor(
161
- folder_dir, apertures, size=size, ambient_division=1000,
162
- receiver=rflux_sky, octree=octree, calc_folder=folder_dir
163
- )
164
- rmse = aperture_view_factor_postprocess(
165
- mtx_file, ap_dict, room_apertures, room_based
166
- )
167
-
168
- # cluster apertures into groups
169
- if view_factor:
170
- ap_groups = cluster_view_factor(
171
- rmse, room_apertures, apertures, 0.001, room_based, vertical_tolerance)
172
- else:
173
- ap_groups = cluster_orientation(
174
- room_apertures, apertures, room_based, vertical_tolerance
175
- )
176
-
177
- # process clusters
178
- group_names, group_dict = \
179
- cluster_output(ap_groups, room_apertures, room_based)
180
-
181
- # write aperture groups to JSON file
182
- dyn_gr = os.path.join(folder_dir, 'aperture_groups.json')
183
- with open(dyn_gr, 'w') as fp:
184
- json.dump(group_names, fp, indent=2)
185
-
186
- # write dynamic group identifiers to JSON file
187
- dyn_gr_ids = os.path.join(folder_dir, 'dynamic_group_identifiers.json')
188
- with open(dyn_gr_ids, 'w') as fp:
189
- json.dump(group_dict, fp, indent=2)
190
-
191
- # assign dynamic group identifiers for each aperture
192
- group_ap_dict = {}
193
- for room in model.rooms:
194
- for face in room.faces:
195
- for ap in face.apertures:
196
- if isinstance(ap.boundary_condition, Outdoors):
197
- dyn_group_id = group_dict[ap.identifier]
198
- ap.properties.radiance.dynamic_group_identifier = \
199
- dyn_group_id
200
- try:
201
- group_ap_dict[dyn_group_id].append(ap)
202
- except KeyError:
203
- group_ap_dict[dyn_group_id] = [ap]
204
-
205
- # assign any states if they are connected
206
- if len(states_) != 0:
207
- for group_aps in group_ap_dict.values():
208
- # assign states (including shades) to the first aperture
209
- group_aps[0].properties.radiance.states = [state.duplicate() for state in states_]
210
- # remove shades from following apertures to ensure they aren't double-counted
211
- states_wo_shades = []
212
- for state in states_:
213
- new_state = state.duplicate()
214
- new_state.remove_shades()
215
- states_wo_shades.append(new_state)
216
- for ap in group_aps[1:]:
217
- ap.properties.radiance.states = \
218
- [state.duplicate() for state in states_wo_shades]