--- /dev/null
+
+ .. _tui_create_edge:
+
+Create Edge
+===========
+
+.. literalinclude:: examples/edge.py
+ :linenos:
+ :language: python
+
+:download:`Download this script <examples/edge.py>`
+
Edge
====
+To create edges in the active part:
+
+#. select in the Main Menu *Build - > Edge* item or
+#. click **Edge** button in the toolbar
+
+.. image:: images/feature_edge.png
+ :align: center
+
+.. centered::
+ **Edge** button
+
+The following property panel will be opened:
.. image:: images/Edge.png
:align: center
.. centered::
- Create an edge
+ Create edges
+
+Select one or several edges in viewer.
+
+**Apply** button creates edges.
+
+**Cancel** button cancels operation.
+
+The result of the operation will be set of vertices created from selected shapes:
+
+.. image:: images/CreateEdge.png
+ :align: center
+
+.. centered::
+ Result of the operation.
+
+**See Also** a sample TUI Script of a :ref:`tui_create_edge` operation.
--- /dev/null
+# -*- coding: utf-8 -*-
+
+from salome.shaper import model
+
+model.begin()
+partSet = model.moduleDocument()
+Part_1 = model.addPart(partSet)
+Part_1_doc = Part_1.document()
+Box_1 = model.addBox(Part_1_doc, 10, 10, 10)
+Edge_1_objects = [model.selection("EDGE", "Box_1_1/Front&Box_1_1/Top"),
+ model.selection("EDGE", "Box_1_1/Left&Box_1_1/Top"),
+ model.selection("EDGE", "Box_1_1/Front&Box_1_1/Left")]
+Edge_1 = model.addEdge(Part_1_doc, Edge_1_objects)
+model.do()
+model.end()