Skip to content

Commit

Permalink
fix(writer): Fix minor bug in Face3D writer
Browse files Browse the repository at this point in the history
This only affects Faces where the lower-left corner does not lie on the Face3D.
  • Loading branch information
chriswmackey committed May 9, 2024
1 parent 2121317 commit 30b5d7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion honeybee_doe2/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def face_3d_to_inp(face_3d, parent_name='HB object'):
# perhaps we can just say NO-SHAPE and specify AREA, VOLUME, and HEIGHT
# get the main properties that place the geometry in 3D space
pts_3d = face_3d.lower_left_counter_clockwise_boundary
llc_origin = pts_3d[0]
llc_origin = face_3d.lower_left_corner
tilt, azimuth = math.degrees(face_3d.tilt), math.degrees(face_3d.azimuth)

# get the 2D vertices in the plane of the Face
Expand Down

0 comments on commit 30b5d7d

Please sign in to comment.