Skip to content

Commit 121f046

Browse files
chriswmackeyChris Mackey
authored andcommitted
fix(model): Small fix for Face3Ds with holes
1 parent df02634 commit 121f046

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

honeybee_display/model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -427,8 +427,8 @@ def _process_wireframe(face3d, wireframe, line_width=1):
427427
for seg in face3d.boundary_segments:
428428
wireframe.append(DisplayLineSegment3D(seg, line_width=line_width))
429429
if face3d.has_holes:
430-
for hole in face3d.holes:
431-
for seg in face3d.boundary_segments:
430+
for hole in face3d.hole_segments:
431+
for seg in hole:
432432
wireframe.append(DisplayLineSegment3D(seg, line_width=line_width))
433433

434434
# loop through all of the objects and add their wire frames

0 commit comments

Comments
 (0)