Salome HOME
Cosmetics. Move XML files to the separate folder inside a corresponding project in VS.
[modules/shaper.git] / src / SketchPlugin / doc / pointFeature.rst
index 369251fefbd446e8cf35af2d640fc7a6eae60a7e..276f020daace7e7007df039c24dcf89d25405a6a 100644 (file)
@@ -1,46 +1,43 @@
+.. |point.icon|    image:: images/Point.png
 
 Point
 =====
 
-The feature Point creates a point in the current Sketch.
+Point feature creates a point in the current Sketch.
 
-To add new Point to the Sketch:
+To add new Point to the Sketch:
 
 #. select in the Main Menu *Sketch - > Point* item  or
-#. click **Point** button in Sketch toolbar:
+#. click |point.icon| **Point** button in Sketch toolbar:
 
-.. image:: images/point.png
-   :align: center
-
-.. centered::
-   **Point**  button
-
-The following property panel appears.
+The following property panel appears:
 
-.. image:: images/Point_panel.png
-  :align: center
+.. figure:: images/Point_panel.png
+   :align: center
 
-.. centered::
    Point
 
-Clicking in the view creates a point preview. In the case of click on an existing object constraint for
+Clicking in the view creates a point preview. If an existing object is clicked, a constraint for
 the point will be created automatically.
 
 The point coordinates are displayed in the property panel.
 
-**TUI Command**:  *Sketch_1.addPoint(X, Y)*
+**TUI Command**:
+
+.. py:function:: Sketch_1.addPoint(X, Y)
 
-**Arguments**:    2 values (coordinates on the Sketch plane).
+    :param real: X value.
+    :param real: Y value.
+    :return: Result object.
 
 Result
 """"""
 
 Created point appears in the view.
 
-.. image:: images/Point_res.png
-          :align: center
+.. figure:: images/Point_res.png
+   :align: center
 
-.. centered::
    Point created
 
-**See Also** a sample TUI Script of a :ref:`tui_create_point` operation.
\ No newline at end of file
+**See Also** a sample TUI Script of :ref:`tui_create_point` operation.