honeybee-openstudio 2.3.1 → 2.3.2
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.
- checksums.yaml +4 -4
- data/honeybee-openstudio.gemspec +1 -1
- data/lib/from_honeybee/construction/windowshade.rb +7 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 439e9933614d79f4f3c3657e4a9719f14e25a548325f9ef9e924e1f8c644ea51
|
|
4
|
+
data.tar.gz: 159a0b788d83a25cae21646285821742d212655ce6d9929695c7203a4b420ba2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4fe4189debb249e9005a4ca960c59ebd32d019696271dc2e4cce7c80ab4acafbcaca359d1670bd170561f0a0c1e55b58d29892aa31f79f2bbc948a7b6061527f
|
|
7
|
+
data.tar.gz: 8f7f684379c1087c949cfbb3d427fe26a3fb0e996990d79aa4ea3d36c41a098a6624024d61312cb107b9a3c0012ff7f9d962fe5954959dc6a454d7d694482710
|
data/honeybee-openstudio.gemspec
CHANGED
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = 'honeybee-openstudio'
|
|
7
|
-
spec.version = '2.3.
|
|
7
|
+
spec.version = '2.3.2'
|
|
8
8
|
spec.authors = ['Tanushree Charan', 'Dan Macumber', 'Chris Mackey', 'Mostapha Sadeghipour Roudsari']
|
|
9
9
|
spec.email = ['tanushree.charan@nrel.gov', 'chris@ladybug.tools']
|
|
10
10
|
|
|
@@ -97,9 +97,10 @@ module FromHoneybee
|
|
|
97
97
|
shd_mat_name = openstudio_model.getMaterialByName(@hash[:shade_material])
|
|
98
98
|
unless shd_mat_name.empty?
|
|
99
99
|
@shade_material = shd_mat_name.get
|
|
100
|
+
obj_type = @shade_material.iddObject.name
|
|
100
101
|
end
|
|
101
102
|
unless @shade_material.nil?
|
|
102
|
-
if
|
|
103
|
+
if obj_type == 'OS:WindowMaterial:StandardGlazing'
|
|
103
104
|
if @shade_location == 'Interior'
|
|
104
105
|
os_materials[-1] = @shade_material
|
|
105
106
|
elsif @shade_location == 'Exterior' | os_materials.length < 2
|
|
@@ -159,9 +160,12 @@ module FromHoneybee
|
|
|
159
160
|
os_shade_control = OpenStudio::Model::ShadingControl.new(@shade_construction)
|
|
160
161
|
|
|
161
162
|
# figure out the shading type
|
|
162
|
-
|
|
163
|
+
unless @shade_material.nil?
|
|
164
|
+
obj_type = @shade_material.iddObject.name
|
|
165
|
+
end
|
|
166
|
+
if obj_type == 'OS:WindowMaterial:StandardGlazing'
|
|
163
167
|
shd_type = 'SwitchableGlazing'
|
|
164
|
-
elsif
|
|
168
|
+
elsif obj_type == 'OS:WindowMaterial:Blind'
|
|
165
169
|
if @shade_location == 'Between'
|
|
166
170
|
shd_type = 'BetweenGlassBlind'
|
|
167
171
|
else
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: honeybee-openstudio
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.3.
|
|
4
|
+
version: 2.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tanushree Charan
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: exe
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2020-07-
|
|
14
|
+
date: 2020-07-13 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: bundler
|