Joint.restore_beams_from_keys
- Joint.restore_beams_from_keys()[source]
Restores the reference to the beams associate with this joint.
During serialization,
compas_timber.parts.Beam
objects are serialized bycompas_timber.assembly
. To avoid circular references, Joint only stores the keys of the respective beams.This method is called by :class:`compas_timber.assembly during de-serialization to restore the references. Since the roles of the beams are joint specific (e.g. main/cross beam) this method should be implemented by the concrete implementation.
Examples