PlateJoint.restore_beams_from_keys

PlateJoint.restore_beams_from_keys(*args, **kwargs)[source]

Restores the reference to the elements associated with this joint.

During serialization, compas_timber.parts.Beam objects are serialized by compas_timber.model.Model. To avoid circular references, Joint only stores the keys of the respective elements.

This method is called by compas_timber.model.TimberModel during de-serialization to restore the references. Since the roles of the elements are joint specific (e.g. main/cross beam) this method should be implemented by the concrete implementation.

Examples

See compas_timber.connections.TButtJoint.