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.
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.
35 **Apply** button creates edges.
37 **Cancel** button cancels the operation.
41 .. py:function:: model.addEdge(Part_doc, Shapes)
43 :param part: The current part object.
44 :param list: A list of shapes.
45 :return: Result object.
50 The result of the operation will be a set of edges created from the selected shapes:
52 .. image:: images/CreateEdge.png
56 Result of the operation.
58 **See Also** a sample TUI Script of :ref:`tui_create_edge` operation.
64 .. image:: images/EdgeByTwoPoints.png
70 Select two points in the viewer.
72 **Apply** button creates a segment.
74 **Cancel** button cancels the operation.
78 .. py:function:: model.addEdge(Part_doc, Point_1, Point_2)
80 :param part: The current part object.
81 :param object: First point.
82 :param object: Second point.
83 :return: Result object.
88 The result of the operation will be a segment bounded by selected points:
90 .. image:: images/CreateEdgeByPoints.png
94 Result of the operation.
96 **See Also** a sample TUI Script of :ref:`tui_create_segment` operation.