+.. |tangent.icon| image:: images/tangent.png
Tangent constraint
==================
Tangent constraint fixes a circle (or an arc) and a line so that a line is tangent to a circle (or an arc).
-To create Tangent in the active Sketch:
+To create a Tangent in the active Sketch:
#. select in the Main Menu *Sketch - > Tangent* item or
-#. click **Tangent** button in Sketch toolbar:
-
-.. image:: images/tangent.png
- :align: center
-
-.. centered::
- **Tangent** button
+#. click |tangent.icon| **Tangent** button in Sketch toolbar:
Property panel:
Note that one of two objects should be a line.
-After the objects are selected the special sign will be added close to the tangency point in the view.
+After the objects are selected, a special sign will be added close to the tangency point in the view.
+
+**TUI Command**:
-**TUI Command**: *Sketch_1.setTangent(Line, CircleOrArc)*
+.. py:function:: Sketch_1.setTangent(Line, CircleOrArc)
-**Arguments**: 2 objects (the first is a line, the second one is a circle or an arc)
+ :param object: A line.
+ :param object: A circle or an arc.
+ :return: Result object.
Result
""""""
:align: center
.. centered::
- Tangent constraint created
+ Created tangent constraint
-**See Also** a sample TUI Script of a :ref:`tui_create_tangent` operation.
+**See Also** a sample TUI Script of :ref:`tui_create_tangent` operation.