get_equivalent_parallel_edges#

Modeler2D.get_equivalent_parallel_edges(assignment, port_on_plane=True, axis=0, start_object='', end_object='')[source]#

Create two new edges that are parallel and equal to the smallest edge given a parallel couple of edges.

Parameters:
assignmentlist

List of two parallel edges.

port_on_planebool, optional

Whether edges are to be on the plane orthogonal to the axis direction. The default is True.

axisint, optional

Axis direction. Choices are 0 through 5. The default is 0.

start_objectstr, optional

Name of the starting object. The default is "".

end_objectstr, optional

Name of the ending object. The default is "".

Returns:
list

List of two created edges.