Structure.add_nodes
- Structure.add_nodes(nodes, ex=[1, 0, 0], ey=[0, 1, 0], ez=[0, 0, 1])[source]
Adds a list of nodes to structure.nodes at given co-ordinates all with local frame [ex, ey, ez].
- Parameters
nodes (list) – [[x, y, z], ..] co-ordinates for each node.
ex (list) – Nodes’ local x axis.
ey (list) – Nodes’ local y axis.
ez (list) – Nodes’ local z axis.
- Returns
list – Keys of the added or pre-existing nodes.
Notes
Nodes are numbered sequentially starting from 0.