get_equivalent_parallel_edges

Primitives2D.get_equivalent_parallel_edges(edgelist, portonplane=True, axisdir=0, startobj='', endobject='')

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

Parameters
edgelistlist

List of two parallel edges.

portonplanebool, optional

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

axisdirint, optional

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

startobjstr, optional

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

endobjectstr, optional

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

Returns
list

List of two created edges.