Model.add_rollerX_bc

Model.add_rollerX_bc(nodes, frame=None, **kwargs)[source]

Add a :class=`compas_fea2.model.bcs.RollerBCX` to the given nodes.

This boundary condition clamps all degrees of freedom except displacement in the local X-direction.

Parameters:
nodeslist[:class=`compas_fea2.model.Node`] or :class=`compas_fea2.model.NodesGroup`

List or Group with the nodes where the boundary condition is assigned.

framecompas.geometry.Frame, optional

The frame in which the boundary condition is defined, by default None (global frame).