Model.rigid#
- Model.rigid(node1, node2, dofs)#
Creates a rigid element between two nodes.
- Parameters:
node1 (Entity) – The object describing the independent node of the element.
node2 (Entity) – The object describing the dependent node of the element.
dofs (hwBoolList) – The degrees of freedom for which the element is active (list of six Boolean values representing the 1-6 DoFs).
Example#
Create a rigid element between node ID 100 and 101 in all six degrees of freedom#import hm import hm.entities as ent model = hm.Model() model.rigid( node1=ent.Node(model,100), node1=ent.Node(model,101), dofs=[True,True,True,True,True,True,] )