honeybee-openstudio 2.23.3 → 2.23.4
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/to_openstudio/construction/windowshade.rb +5 -5
- 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: b883c23eb45c35c5ff82b420a7eba79e2cf2f4c228603531c8f049bf19ca4478
|
4
|
+
data.tar.gz: f2776a7b81b4cb648ecc5171fd50f79face62d79574c0651801a5bad0fd388d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 005e5223dd3db47c4a86760d54ed366ed6d2e2a23c31eddb00bab5398744e95de129cac8068708f976393763228953c9ab1e9f2d01949229ca1ed980b98edb67
|
7
|
+
data.tar.gz: 050271b5e95a661bcc489303f9362040a283e891410a1cb4cd71eb3af5f793a69122cbb147cf5fada554240a0a64c88f37a0b53a06188d350406ee319d3488ae
|
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.23.
|
7
|
+
spec.version = '2.23.4'
|
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
|
|
@@ -86,13 +86,13 @@ module Honeybee
|
|
86
86
|
shd_mat_name = openstudio_model.getMaterialByName(@hash[:shade_material])
|
87
87
|
unless shd_mat_name.empty?
|
88
88
|
@shade_material = shd_mat_name.get
|
89
|
-
obj_type = @shade_material.iddObject.name
|
89
|
+
obj_type = @shade_material.iddObject.name.to_s
|
90
90
|
end
|
91
91
|
unless @shade_material.nil?
|
92
|
-
if obj_type == 'OS:WindowMaterial:StandardGlazing'
|
92
|
+
if obj_type == 'OS:WindowMaterial:StandardGlazing' || obj_type == 'OS:WindowMaterial:Glazing'
|
93
93
|
if @shade_location == 'Interior'
|
94
94
|
os_materials[-1] = @shade_material
|
95
|
-
elsif @shade_location == 'Exterior'
|
95
|
+
elsif @shade_location == 'Exterior' || os_materials.length < 2
|
96
96
|
os_materials[0] = @shade_material
|
97
97
|
else # middle glass pane
|
98
98
|
os_materials[-3] = @shade_material
|
@@ -150,9 +150,9 @@ module Honeybee
|
|
150
150
|
|
151
151
|
# figure out the shading type
|
152
152
|
unless @shade_material.nil?
|
153
|
-
obj_type = @shade_material.iddObject.name
|
153
|
+
obj_type = @shade_material.iddObject.name.to_s
|
154
154
|
end
|
155
|
-
if obj_type == 'OS:WindowMaterial:StandardGlazing'
|
155
|
+
if obj_type == 'OS:WindowMaterial:StandardGlazing' || obj_type == 'OS:WindowMaterial:Glazing'
|
156
156
|
shd_type = 'SwitchableGlazing'
|
157
157
|
elsif obj_type == 'OS:WindowMaterial:Blind'
|
158
158
|
if @shade_location == 'Between'
|
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.23.
|
4
|
+
version: 2.23.4
|
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: 2021-09-
|
14
|
+
date: 2021-09-17 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|