1 .. |tangent.icon| image:: images/Tangent.png
6 Tangent constraint fixes a circle (or an arc) and a line so that a line is tangent to a circle (or an arc).
8 To create a Tangent in the active Sketch:
10 #. select in the Main Menu *Sketch - > Tangent* item or
11 #. click |tangent.icon| **Tangent** button in Sketch toolbar:
15 .. figure:: images/Tangent_panel.png
20 - **First object** is a line, a circle or an arc selected in the view.
21 - **Second object** is a line, a circle or an arc selected in the view.
23 Note that one of two objects should be a line.
25 After the objects are selected, a special sign will be added close to the tangency point in the view.
29 .. py:function:: Sketch_1.setTangent(Line, CircleOrArc)
31 :param object: A line.
32 :param object: A circle or an arc.
33 :return: Result object.
38 Created Tangent constraint appears in the view.
40 .. figure:: images/Tangent_res.png
43 Created tangent constraint
45 **See Also** a sample TUI Script of :ref:`tui_create_tangent` operation.