Salome HOME
Correct documentation bugs, adapt for 'Read The Docs' theme (bos #18858)
[modules/shaper.git] / src / SketchPlugin / doc / parallelFeature.rst
index 2aaa933a6d2c1859e2550f190e854f9a55b39901..96832d9c5caff7de808ff1432ce95dc5dcfb6f46 100644 (file)
@@ -1,19 +1,14 @@
+.. |parallel.icon|    image:: images/Parallel.png
 
 Parallel constraint
 ===================
 
-Parallel constraint fixes two lines to lie parallel to one another.
+Parallel constraint fixes two lines as parallel to one another.
 
-To create Parallel in the active Sketch:
+To create a Parallel constraint in the active Sketch:
 
 #. select in the Main Menu *Sketch - > Parallel* item  or
-#. click **Parallel** button in Sketch toolbar:
-
-.. image:: images/parallel.png
-   :align: center
-
-.. centered::
-   **Parallel**  button
+#. click |parallel.icon| **Parallel** button in Sketch toolbar:
 
 Property panel:
 
@@ -27,9 +22,13 @@ Input fields:
 
 After the lines are selected **||** sign will be added to each of them in the view.
 
-**TUI Command**: *Sketch_1.setParallel(Line1, Line2)*
+**TUI Command**:
+
+.. py:function:: Sketch_1.setParallel(Line1, Line2)
 
-**Arguments**:  2 line objects
+    :param object: Line 1.
+    :param object: Line 2.
+    :return: Result object.
 
 Result
 """"""
@@ -40,6 +39,6 @@ Created Parallel constraint appears in the view.
           :align: center
 
 .. centered::
-   Parallel constraint created
+   Created parallel constraint
 
-**See Also** a sample TUI Script of a :ref:`tui_create_parallel` operation.
\ No newline at end of file
+**See Also** a sample TUI Script of :ref:`tui_create_parallel` operation.