- Primitives2D.find_closest_edges(start_obj, end_obj, port_direction=0)¶
Retrieve the two closest edges that are not perpendicular for two objects.
Name of the starting object.
Name of the ending object.
Direction of the port to which to give edges precedence when more than two couples are at the same distance. For example, for a coax or microstrip, precedence is given to the edges that are on the given axis direction, such as
"XNeg". Options are
"ZPos". The default is
List with two edges if present.