RigidPart.add_nodes

RigidPart.add_nodes(nodes: list(Node))

Add multiple nodes to the part.

Parameters:

nodes (list[compas_fea2.model.Node]) – The list of nodes.

Returns:

list[compas_fea2.model.Node] – The identifiers of the nodes in the part.

Examples

>>> part = DeformablePart()
>>> node1 = Node([1.0, 2.0, 3.0])
>>> node2 = Node([3.0, 4.0, 5.0])
>>> node3 = Node([3.0, 4.0, 5.0])
>>> nodes = part.add_nodes([node1, node2, node3])