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:
- assignment
list
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
.- axis
int
,optional
Axis direction. Choices are
0
through5
. The default is0
.- start_object
str
,optional
Name of the starting object. The default is
""
.- end_object
str
,optional
Name of the ending object. The default is
""
.
- assignment
- Returns:
list
List of two created edges.