Skip to content

Commit

Permalink
named frames
Browse files Browse the repository at this point in the history
  • Loading branch information
chenkasirer committed Jul 5, 2024
1 parent 328c55b commit fcd466f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/compas_timber/elements/beam.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,12 @@ def ref_sides(self):
rs5_point = rs1_point
rs6_point = rs1_point + self.ref_frame.xaxis * self.blank_length + self.ref_frame.yaxis * self.height
return (
Frame(rs1_point, self.ref_frame.xaxis, self.ref_frame.zaxis),
Frame(rs2_point, self.ref_frame.xaxis, -self.ref_frame.yaxis),
Frame(rs3_point, self.ref_frame.xaxis, -self.ref_frame.zaxis),
Frame(rs4_point, self.ref_frame.xaxis, self.ref_frame.yaxis),
Frame(rs5_point, self.ref_frame.zaxis, self.ref_frame.yaxis),
Frame(rs6_point, self.ref_frame.zaxis, -self.ref_frame.yaxis),
Frame(rs1_point, self.ref_frame.xaxis, self.ref_frame.zaxis, name="RS_1"),
Frame(rs2_point, self.ref_frame.xaxis, -self.ref_frame.yaxis, name="RS_2"),
Frame(rs3_point, self.ref_frame.xaxis, -self.ref_frame.zaxis, name="RS_3"),
Frame(rs4_point, self.ref_frame.xaxis, self.ref_frame.yaxis, name="RS_4"),
Frame(rs5_point, self.ref_frame.zaxis, self.ref_frame.yaxis, name="RS_5"),
Frame(rs6_point, self.ref_frame.zaxis, -self.ref_frame.yaxis, name="RS_6"),
)

@property
Expand Down

0 comments on commit fcd466f

Please sign in to comment.