Salome HOME
bos #20661 EDF 22847 - Move to the end
[modules/shaper.git] / src / SketchPlugin / doc / mirrorFeature.rst
index cf577cf7e09135315023c28b24fb93c6046f465a..56fe1f9736d5dd473874813c09817f3ffe8c2483 100644 (file)
@@ -1,26 +1,20 @@
+.. |mirror.icon|    image:: images/Mirror.png
 
 Mirror copy
 ===========
 
 Mirror copy operation mirrors sketch entities across a line.
 
-To create Mirror copy in the active Sketch:
+To create Mirror copy in the active Sketch:
 
 #. select in the Main Menu *Sketch - > Mirror copy* item  or
-#. click **Mirror copy** button in Sketch toolbar:
-
-.. image:: images/mirror.png
-   :align: center
-
-.. centered::
-   **Mirror copy**  button
+#. click |mirror.icon| **Mirror copy** button in Sketch toolbar:
 
 Property panel:
 
-.. image:: images/Mirror_panel.png
-  :align: center
+.. figure:: images/Mirror_panel.png
+   :align: center
 
-.. centered::
    Mirror copy
 
 Input fields:
@@ -28,22 +22,25 @@ Input fields:
 - **Mirror line** is the mirror line selected in the view.
 - **Segments** is the list of segments (lines, circles, arcs) selected in the view.
 
-**TUI Command**: *Sketch_1.addMirror(MirrorLine, Objects)*
+**TUI Command**:
+
+.. py:function:: Sketch_1.addMirror(MirrorLine, Objects)
 
-**Arguments**:   Mirror line and a list of objects
+    :param object: A mirror line.
+    :param listg: A list of objects.
+    :return: Result object.
 
 Result
 """"""
 
 Created Mirror copy appears in the view.
 
-| The original and a mirror copy objects are marked with the special sign.
+| The original and the mirror copy objects are marked with a special sign.
 | Copy object is drawn with a thinner line.
 
-.. image:: images/Mirror_res.png
-          :align: center
+.. figure:: images/Mirror_res.png
+   :align: center
 
-.. centered::
    Mirror copy created
 
-**See Also** a sample TUI Script of a :ref:`tui_create_mirror` operation.
\ No newline at end of file
+**See Also** a sample TUI Script of :ref:`tui_create_mirror` operation.