From ce881b8dba870302d2fb79dab2a79dc287b5c964 Mon Sep 17 00:00:00 2001 From: Chen Kasirer Date: Fri, 28 Jul 2023 15:10:44 +0200 Subject: [PATCH] fixed typo --- src/compas_timber/connections/t_butt.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/compas_timber/connections/t_butt.py b/src/compas_timber/connections/t_butt.py index 1240cd05e..cecd1df67 100644 --- a/src/compas_timber/connections/t_butt.py +++ b/src/compas_timber/connections/t_butt.py @@ -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).