Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
chenkasirer committed Jul 28, 2023
1 parent 687b267 commit ce881b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/compas_timber/connections/t_butt.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ def cutting_plane(self):
cfr = Frame(cfr.point, cfr.yaxis, cfr.xaxis) # flip normal towards the inside of main beam
return cfr

def restore_beams_from_keys(self, assemly):
def restore_beams_from_keys(self, assembly): # TODO: fix typo
"""After de-serialization, resotres references to the main and cross beams saved in the assembly."""
self.main_beam = assemly.find_by_key(self.main_beam_key)
self.cross_beam = assemly.find_by_key(self.cross_beam_key)
self.main_beam = assembly.find_by_key(self.main_beam_key)
self.cross_beam = assembly.find_by_key(self.cross_beam_key)

def add_features(self):
"""Adds the trimming plane to the main beam (no features for the cross beam).
Expand Down

0 comments on commit ce881b8

Please sign in to comment.