1 .. |feature_edge.icon| image:: images/feature_edge.png
6 Edge feature creates one or several edges using shapes already existing in other objects.
8 To create edges in the active part:
10 #. select in the Main Menu *Build - > Edge* item or
11 #. click |feature_edge.icon| **Edge** button in the toolbar
13 The options to create edges:
15 .. figure:: images/edge_by_segments_32x32.png
19 **By edges** creates edges using already existing edges in other shapes or full sketches.
21 .. figure:: images/edge_by_points_32x32.png
25 **By points** creates segment between two points.
27 --------------------------------------------------------------------------------
32 .. figure:: images/Edge.png
37 Select one or several edges in the viewer. Also, the full sketch can be selected. In this case, all edges of the sketch will be processed.
38 Checkbox **Compute intersections** forces to split sketch edges in the points of intersection.
40 **Apply** button creates edges.
42 **Cancel** button cancels the operation.
46 .. py:function:: model.addEdge(Part_doc, Shapes, Intersect)
48 :param part: The current part object.
49 :param list: A list of shapes.
50 :param bool: Split edges by intersection points. False by default.
51 :return: Result object.
56 The result of the operation will be a set of edges created from the selected shapes:
58 .. figure:: images/CreateEdge.png
61 Result of the operation.
63 **See Also** a sample TUI Script of :ref:`tui_create_edge` operation.
69 .. figure:: images/EdgeByTwoPoints.png
74 Select two points in the viewer.
76 **Apply** button creates a segment.
78 **Cancel** button cancels the operation.
82 .. py:function:: model.addEdge(Part_doc, Point_1, Point_2)
84 :param part: The current part object.
85 :param object: First point.
86 :param object: Second point.
87 :return: Result object.
92 The result of the operation will be a segment bounded by selected points:
94 .. figure:: images/CreateEdgeByPoints.png
97 Result of the operation.
99 **See Also** a sample TUI Script of :ref:`tui_create_segment` operation.