Salome HOME
[bos #42437] fixed problem where sketch validation icons in toolbar were not activated
[modules/shaper.git] / src / BuildPlugin / doc / fillingFeature.rst
index da0b5ca242dfa3eb5adb5a09949e9993e6095e88..7d90d5131146cb81169fa23e438d275feb4064cb 100644 (file)
@@ -1,3 +1,4 @@
+.. |feature_filling.icon|    image:: images/feature_filling.png
 
 Filling
 =======
@@ -7,20 +8,13 @@ Filling feature creates one or several faces using shapes already existing in ot
 To create a filling in the active part:
 
 #. select in the Main Menu *Build - > Filling* item  or
-#. click **Filling** button in the toolbar
-
-.. image:: images/feature_filling.png
-  :align: center
-
-.. centered::
-  **Filling** button
+#. click |feature_filling.icon| **Filling** button in the toolbar
 
 The following property panel will be opened:
 
-.. image:: images/Filling.png
+.. figure:: images/Filling.png
   :align: center
 
-.. centered::
   Create a filling
 
 Select two or more edges in the viewer.
@@ -31,19 +25,22 @@ Select two or more edges in the viewer.
 
 **Cancel** button cancels the operation.
 
-**TUI Command**:  *model.addFilling(Part_doc, Edges)*
+**TUI Command**:
+
+.. py:function:: model.addFilling(Part_doc, Edges)
 
-**Arguments**:   Part document + list of edges.
+    :param part: The current part object.
+    :param list: A list of shapes.
+    :return: Result object.
 
 Result
 """"""
 
 The result of the operation will be a set of faces created from the selected shapes:
 
-.. image:: images/CreateFilling.png
+.. figure:: images/CreateFilling.png
   :align: center
 
-.. centered::
   Result of the operation.
 
 **See Also** a sample TUI Script of :ref:`tui_create_filling` operation.