Salome HOME
Ameliorate help pages
[modules/shaper.git] / src / SketchPlugin / doc / horizontalFeature.rst
index 12ab024fe334029da630b488910fe086d800ac6a..4974c939ac74171acb632fbf06d4ae64078bfb95 100644 (file)
@@ -1,19 +1,14 @@
+.. |horisontal.icon|    image:: images/horisontal.png
 
 Horizontal constraint
 =====================
 
-Horizontal constraint fixes lines to lie parallel to the horizontal axis.
+Horizontal constraint fixes lines as parallel to the horizontal axis.
 
-To create Horizontal constraint in the active Sketch:
+To create Horizontal constraint in the active Sketch:
 
 #. select in the Main Menu *Sketch - > Horizontal* item  or
-#. click **Horizontal** button in Sketch toolbar:
-
-.. image:: images/horisontal.png
-   :align: center
-
-.. centered::
-   **Horizontal**  button
+#. click |horisontal.icon| **Horizontal** button in Sketch toolbar:
 
 Property panel:
 
@@ -25,11 +20,14 @@ Input fields:
 - **Line** is the line selected in the view.
 
 | After the line is selected it becomes parallel to the horizontal axis in the view.
-| **H** sign added above the line.
+| **H** sign is added above the line.
+
+**TUI Command**:
 
-**TUI Command**: *Sketch_1.setHorizontal(LineObject)*
+.. py:function:: Sketch_1.setHorizontal(LineObject)
 
-**Arguments**:  1 line object
+    :param object: A line.
+    :return: Result object.
 
 Result
 """"""
@@ -42,4 +40,4 @@ Created Horizontal constraint appears in the view.
 .. centered::
    Horizontal constraint created
 
-**See Also** a sample TUI Script of :ref:`tui_create_horizontal` operation.
\ No newline at end of file
+**See Also** a sample TUI Script of :ref:`tui_create_horizontal` operation.
\ No newline at end of file