1.2.1. 2D Node

A 2D node with three degrees of freedom, ux, uy, and rotation.

class planesections.builder.Node2D(x: float, fixity: list | str | Fixity, label: str = '')[source]

Bases: Node

Represents a node 2D. Nodes have labels and IDs and fixities. The Label is a name the user assigns to the node and will be displayed in plots.

The ID is a unique name that OpenSees will read. ID - 1 will be the position in the beam node array. As new nodes are added, the IDs will be sorted and updated so that they are always increasing from left to right.

Parameters:
  • x (float) – The postion of the node.

  • fixity ([list, str, Fixity]) –

    In 2D, the fixity can be input as either a fixtiy object, a string from the variable NAMED_RELEASES_2D, or A list of the input fixities for each possible degree of freedom.

    Each node will have three degree of freedoms; [x, y, \(\theta\)] 1 represents a fixed condition, 0 represents a free conditon.

    The passed object can be a fixity object, a string e.x. ‘pinned’, or a list of integers, e.x. [1,1,0] gives a pin conneciton that’s fixed in x/y but free in rotation.

  • label (str, optional) – A name for the node. This can be displayed in the plots. The default is ‘’.

getFixityType()[source]

Returns the type of beam fixity for supported 2D fixities. Currently only free, roller, pinned, and fixed are supported.