Model.jointelement_twonoded#
- Model.jointelement_twonoded(n1, n2, orientation, o_node1, o_node2, system1, system2, property)#
Creates a spherical or two-noded joint element.
- Parameters:
n1 (Entity) – The entity of the first node.
n2 (Entity) – The entity of the second node.
orientation (int) –
Orientation option for the element. Use:
0 - None
1 - Systems
2 - Nodes
o_node1 (Entity) – The entity of the first orientation node.
o_node2 (Entity) – The entity of the second orientation node.
system1 (Entity) – The first orientation system entity for the elements.
system2 (Entity) – The second orientation system entity for the elements.
property (hwString) – The property to which the element points.
Example#
Create a two - noded joint element from nodes with IDs 320,303, orientation nodes with IDs 322,324 and property “shells”#import hm import hm.entities as ent model = hm.Model() model.jointelement_twonoded( n1=ent.Node(model, 320), n2=ent.Node(model, 303), orientation=2, o_node1=ent.Node(model, 322), o_node2=ent.Node(model, 324), system1=None, system2=None, property="shells", )