JointCandidate.create

classmethod JointCandidate.create(model, *elements, **kwargs)[source]

Creates an instance of this joint and creates the new connection in model.

elements are expected to have been added to model before calling this method.

This code does not verify that the given elements are adjacent and/or lie in a topology which allows connecting them. This is the responsibility of the calling code.

Parameters:
modelTimberModel

The model to which the elements and this joint belong.

*elementsElement

The elements to be connected by this joint. The number of elements must comply with the Joint class’s MIN_ELEMENT_COUNT and MAX_ELEMENT_COUNT attributes.

**kwargsdict

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

Returns:
compas_timber.connections.Joint

The instance of the created joint.