TDovetailJoint.promote_joint_candidate

classmethod TDovetailJoint.promote_joint_candidate(model, candidate, reordered_elements=None, **kwargs)[source]

Creates an instance of this joint from a joint candidate.

Parameters:
modelTimberModel

The model to which the elements and this joint belong.

candidateJointCandidate

The joint candidate to be converted.

reordered_elementslist(Element), optional

The elements to be connected by this joint. If not provided, the elements of the generic joint will be used. This is used to explicitly define the element order.

**kwargsdict

Additional keyword arguments that are passed to the joint’s constructor.

Returns:
compas_timber.connections.Joint

The instance of the created joint.