TenonMortiseJoint.promote_cluster
- classmethod TenonMortiseJoint.promote_cluster(model, cluster, reordered_elements=None, **kwargs)[source]
Creates an instance of this joint from a cluster of elements.
- Parameters:
- model
TimberModel The model to which the elements and this joint belong.
- cluster
Cluster The cluster containing the elements to be connected by this joint.
- reordered_elementslist(
Element), optional The elements to be connected by this joint. If not provided, the elements of the cluster will be used. This is used to explicitly define the element order.
- **kwargsdict
Additional keyword arguments that are passed to the joint’s constructor.
- model
- Returns:
compas_timber.connections.JointThe instance of the created joint.