Salome HOME
Restore translations
[modules/shaper.git] / src / SketchPlugin / doc / tangentFeature.rst
index 11903d6c1618b04d4c744fd2f4e31a37d5ad8637..b4ca71dd530c098c11d620aebb86768e9f85678a 100644 (file)
@@ -1,19 +1,14 @@
+.. |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 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:
 
@@ -27,11 +22,15 @@ Input fields:
 
 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
 """"""
@@ -42,6 +41,6 @@ Created Tangent constraint appears in the view.
           :align: center
 
 .. centered::
-   Tangent constraint created
+   Created tangent constraint
 
-**See Also** a sample TUI Script of :ref:`tui_create_tangent` operation.
+**See Also** a sample TUI Script of :ref:`tui_create_tangent` operation.