Structure.add_node
- Structure.add_node(xyz, ex=[1, 0, 0], ey=[0, 1, 0], ez=[0, 0, 1], mass=0, virtual=False)[source]
Adds a node to structure.nodes at co-ordinates xyz with local frame [ex, ey, ez].
- Parameters
xyz (list) – [x, y, z] co-ordinates of the node.
ex (list) – Node’s local x axis.
ey (list) – Node’s local y axis.
ez (list) – Node’s local z axis.
mass (float) – Lumped mass at node.
virtual (bool) – Is the node virtual.
- Returns
int – Key of the added or pre-existing node.
Notes
Nodes are numbered sequentially starting from 0.