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
19 **By edges** creates edges using already existing edges in other shapes or full sketches.
21 .. image:: images/edge_by_points_32x32.png
25 **By points** creates segment between two points.
27 --------------------------------------------------------------------------------
32 .. image:: images/Edge.png
38 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.
39 Checkbox **Compute intersections** forces to split sketch edges in the points of intersection.
41 **Apply** button creates edges.
43 **Cancel** button cancels the operation.
47 .. py:function:: model.addEdge(Part_doc, Shapes, Intersect)
49 :param part: The current part object.
50 :param list: A list of shapes.
51 :param bool: Split edges by intersection points. False by default.
52 :return: Result object.
57 The result of the operation will be a set of edges created from the selected shapes:
59 .. image:: images/CreateEdge.png
63 Result of the operation.
65 **See Also** a sample TUI Script of :ref:`tui_create_edge` operation.
71 .. image:: images/EdgeByTwoPoints.png
77 Select two points in the viewer.
79 **Apply** button creates a segment.
81 **Cancel** button cancels the operation.
85 .. py:function:: model.addEdge(Part_doc, Point_1, Point_2)
87 :param part: The current part object.
88 :param object: First point.
89 :param object: Second point.
90 :return: Result object.
95 The result of the operation will be a segment bounded by selected points:
97 .. image:: images/CreateEdgeByPoints.png
101 Result of the operation.
103 **See Also** a sample TUI Script of :ref:`tui_create_segment` operation.