Salome HOME
Copyright update 2022
[modules/shaper.git] / src / SketchPlugin / doc / coincedentFeature.rst
index 48aaf291e05538d4ad07034184136aeffda6bd1a..31121057d368b17cf3b4ab17c964fdfd583473f3 100644 (file)
@@ -1,4 +1,5 @@
 .. _sketchCoincident:
+.. |coincedence.icon|    image:: images/coincedence.png
 
 Coincident constraint
 =====================
@@ -8,17 +9,11 @@ Coincident constraint forces two points to be coincident, or one point to lie on
 To create a Coincident constraint in the active Sketch:
 
 #. select in the Main Menu *Sketch - > Coincident* item  or
-#. click **Coincident** button in Sketch toolbar:
-
-.. image:: images/coincedence.png
-   :align: center
-
-.. centered::
-   **Coincident**  button
+#. click |coincedence.icon| **Coincident** button in Sketch toolbar:
 
 Property panel:
 
-.. image:: images/Coincident_panel.png
+.. figure:: images/Coincident_panel.png
    :align: center
 
 Input fields:
@@ -30,19 +25,22 @@ Note that one of two objects should be a point (i.e. a point, a line or an arc e
 
 After the objects are selected, the point is highlighted in yellow in the view.
 
-**TUI Command**: *Sketch_1.setCoincident(Object1, Object2)*
+**TUI Command**:
 
-**Arguments**:  2 objects (one of them is a point, the second one is a point, a circle, an arc or a line)
+.. py:function:: Sketch_1.setCoincident(Object1, Object2)
+
+    :param object: First object.
+    :param object: Second object.
+    :return: Result object.
 
 Result
 """"""
 
 Created Coincident constraint appears in the view.
 
-.. image:: images/Coincident_res.png
-          :align: center
+.. figure:: images/Coincident_res.png
+   :align: center
 
-.. centered::
    Created coincident constraint
 
 **See Also** a sample TUI Script of :ref:`tui_create_coincident` operation.
\ No newline at end of file