BallNodeJoint.create
- classmethod BallNodeJoint.create(model, *elements, **kwargs)[source]
Creates an instance of the BallNodeJoint and creates the new connection in model.
This differs fom the generic Joint.create() method in that it passes the beams to the constructor of the BallNodeJoint as a list instead of as separate arguments.
beams are expected to have been added to model before calling this method.
This code does not verify that the given beams are adjacent and/or lie in a topology which allows connecting them. This is the responsibility of the calling code.
A ValueError is raised if beams contains less than two Beam objects.
- Parameters:
- model
TimberModel
The model to which the beams and this joing belong.
- beamslist(
Beam
) A list containing beams that whould be joined together
- model
- Returns:
compas_timber.connections.Joint
The instance of the created joint.