Salome HOME
Ameliorate help pages
[modules/shaper.git] / src / SketchPlugin / doc / tangentFeature.rst
1 .. |tangent.icon|    image:: images/tangent.png
2
3 Tangent constraint
4 ==================
5
6 Tangent constraint fixes a circle (or an arc) and a line so that a line is tangent to a circle (or an arc).
7
8 To create a Tangent in the active Sketch:
9
10 #. select in the Main Menu *Sketch - > Tangent* item  or
11 #. click |tangent.icon| **Tangent** button in Sketch toolbar:
12
13 Property panel:
14
15 .. image:: images/Tangent_panel.png
16    :align: center
17
18 Input fields:
19
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.
22
23 Note that one of two objects should be a line.
24
25 After the objects are selected, a special sign will be added close to the tangency point in the view.
26
27 **TUI Command**:
28
29 .. py:function:: Sketch_1.setTangent(Line, CircleOrArc)
30
31     :param object: A line.
32     :param object: A circle or an arc.
33     :return: Result object.
34
35 Result
36 """"""
37
38 Created Tangent constraint appears in the view.
39
40 .. image:: images/Tangent_res.png
41            :align: center
42
43 .. centered::
44    Created tangent constraint
45
46 **See Also** a sample TUI Script of :ref:`tui_create_tangent` operation.