Salome HOME
Cosmetics. Move XML files to the separate folder inside a corresponding project in VS.
[modules/shaper.git] / src / SketchPlugin / doc / fixedFeature.rst
index 894cae0192ee8194c3e30d83de488c8a73a69c3a..693f0f374597cb83ab50dd08be7803c3c58c781a 100644 (file)
@@ -1,3 +1,4 @@
+.. |fixed.icon|    image:: images/Fixed.png
 
 Fixed constraint
 ================
@@ -9,17 +10,11 @@ The constraint can be defined for such objects as point, line, line or arc end p
 To create a Fixed constraint in the active Sketch:
 
 #. select in the Main Menu *Sketch - > Fixed* item  or
-#. click **Fixed** button in Sketch toolbar:
-
-.. image:: images/fixed.png
-   :align: center
-
-.. centered::
-   **Fixed**  button
+#. click |fixed.icon| **Fixed** button in Sketch toolbar:
 
 Property panel:
 
-.. image:: images/Fixed_panel.png
+.. figure:: images/Fixed_panel.png
    :align: center
 
 Input fields:
@@ -34,19 +29,21 @@ Selection rules:
 - To fix the whole line the segment between endpoints should be selected.
 - To fix the whole circle or arc the circumference should be selected.
 
-**TUI Command**: *Sketch_1.setFixed(Object)*
+**TUI Command**:
 
-**Arguments**:  1 object
+.. py:function:: Sketch_1.setFixed(Object)
+
+    :param object: An object.
+    :return: Result object.
 
 Result
 """"""
 
 Created Fixed constraint appears in the view.
 
-.. image:: images/Fixed_res.png
-          :align: center
+.. figure:: images/Fixed_res.png
+   :align: center
 
-.. centered::
    Created fixed constraint 
 
 **See Also** a sample TUI Script of :ref:`tui_create_fixed` operation.