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 .. image:: images/edge_by_segments_32x32.png
17 **By edges** creates edges using already existing edges in other shapes or full sketches.
19 .. image:: images/edge_by_points_32x32.png
21 **By points** creates segment between two points.
27 .. image:: images/Edge.png
33 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.
34 Checkbox **Compute intersections** forces to split sketch edges in the points of intersection.
36 **Apply** button creates edges.
38 **Cancel** button cancels the operation.
42 .. py:function:: model.addEdge(Part_doc, Shapes, Intersect)
44 :param part: The current part object.
45 :param list: A list of shapes.
46 :param bool: Split edges by intersection points. False by default.
47 :return: Result object.
52 The result of the operation will be a set of edges created from the selected shapes:
54 .. image:: images/CreateEdge.png
58 Result of the operation.
60 **See Also** a sample TUI Script of :ref:`tui_create_edge` operation.
66 .. image:: images/EdgeByTwoPoints.png
72 Select two points in the viewer.
74 **Apply** button creates a segment.
76 **Cancel** button cancels the operation.
80 .. py:function:: model.addEdge(Part_doc, Point_1, Point_2)
82 :param part: The current part object.
83 :param object: First point.
84 :param object: Second point.
85 :return: Result object.
90 The result of the operation will be a segment bounded by selected points:
92 .. image:: images/CreateEdgeByPoints.png
96 Result of the operation.
98 **See Also** a sample TUI Script of :ref:`tui_create_segment` operation.