Part.find_shortest_path_between_nodes

Part.find_shortest_path_between_nodes(start_node, end_node)[source]

Finds the shortest path of nodes through the mesh between two nodes.

Parameters:
start_nodecompas_fea2.model.Node

The starting node of the path.

end_nodecompas_fea2.model.Node

The ending node of the path.

Returns:
NodesGroup

A group of nodes representing the shortest path, or an empty group if no path exists.