+.. |feature_wire.icon| image:: images/feature_wire.png
Wire
====
-The Wire feature creates a wire using already existing edges in other objects.
+Wire feature creates a wire using edges already existing in other objects.
-To create wire in the active part:
+To create a wire in the active part:
#. select in the Main Menu *Build - > Wire* item or
-#. click **Wire** button in the toolbar
-
-.. image:: images/feature_wire.png
- :align: center
-
-.. centered::
- **Wire** button
+#. click |feature_wire.icon| **Wire** button in the toolbar
The following property panel will be opened:
.. centered::
Create a wire
-Select one or several edges in viewer. For automatic selection of closed contour starting from a selected edge it is necessary to press **Add contour** button.
+Select one or several edges in the viewer. For automatic selection of a closed contour starting from the selected edge it is necessary to press **Add contour** button.
+
+**Apply** button creates a wire.
-**Apply** button creates wire.
+**Cancel** button cancels the operation.
-**Cancel** button cancels operation.
+**TUI Command**:
-**TUI Command**: *model.addWire(Part_doc, Shapes)*
+.. py:function:: model.addWire(Part_doc, Shapes)
-**Arguments**: Part document + list of shapes.
+ :param part: The current part object.
+ :param list: A list of shapes.
+ :return: Result object.
Result
""""""
-The result of the operation will be a wire created from selected shapes:
+The result of the operation will be a wire created from the selected shapes:
.. image:: images/CreateWire.png
:align: center
.. centered::
Result of the operation.
-**See Also** a sample TUI Script of a :ref:`tui_create_wire` operation.
+**See Also** a sample TUI Script of :ref:`tui_create_wire` operation.