lib/to_openstudio/geometry/shade.rb in honeybee-openstudio-2.28.1 vs lib/to_openstudio/geometry/shade.rb in honeybee-openstudio-2.28.2
- old
+ new
@@ -53,12 +53,11 @@
# create the openstudio shading surface
os_vertices = OpenStudio::Point3dVector.new
hb_verts.each do |vertex|
os_vertices << OpenStudio::Point3d.new(vertex[0], vertex[1], vertex[2])
end
- reordered_vertices = OpenStudio.reorderULC(os_vertices)
- os_shading_surface = OpenStudio::Model::ShadingSurface.new(reordered_vertices, openstudio_model)
+ os_shading_surface = OpenStudio::Model::ShadingSurface.new(os_vertices, openstudio_model)
os_shading_surface.setName(@hash[:identifier])
unless @hash[:display_name].nil?
os_shading_surface.setDisplayName(@hash[:display_name])
end
# assign the construction if it exists