Model.jointelement_sixnoded#

Model.jointelement_sixnoded(type, n1, n2, n3, n4, n5, n6, orientation, system1, system2, property)#

Creates a six-noded joint element.

Parameters:
  • type (int) – The type of the element (6 or 7 ONLY).

  • n1 (Entity) – The entity of the first node.

  • n2 (Entity) – The entity of the second node.

  • n3 (Entity) – The entity of the third node.

  • n4 (Entity) – The entity of the forth node.

  • n5 (Entity) – The entity of the fifth node.

  • n6 (Entity) – The entity of the sixth node.

  • orientation (int) –

    Orientation option for the element. Use:

    0 - None

    1 - Systems

  • 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 six - noded joint element from nodes with IDs 464,457,456,455,463,462 and orientation systems with IDs 1596, 1592#
import hm
import hm.entities as ent

model = hm.Model()

model.jointelement_sixnoded(
    type=1,
    n1=ent.Node(model, 464),
    n2=ent.Node(model, 457),
    n3=ent.Node(model, 456),
    n4=ent.Node(model, 455),
    n5=ent.Node(model, 463),
    n6=ent.Node(model, 462),
    orientation=1,
    system1=ent.System(model, 1596),
    system2=ent.System(model, 1592),
    property="",
)