Joint.restore_beams_from_keys

Joint.restore_beams_from_keys(model)[source]

Restores the reference to the beams associate with this joint.

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

This method is called by compas_timber.model 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

See compas_timber.connections.TButtJoint.