Salome HOME
[bos #42437] fixed problem where sketch validation icons in toolbar were not activated
[modules/shaper.git] / src / BuildPlugin / doc / fillingFeature.rst
index dd68b770908c6ce1b4a655fd1fdc0d9cb1b63294..7d90d5131146cb81169fa23e438d275feb4064cb 100644 (file)
@@ -1,49 +1,46 @@
+.. |feature_filling.icon|    image:: images/feature_filling.png
 
 Filling
 =======
 
-The Filling feature creates one or several faces using already existing edges or wires in other objects.
+Filling feature creates one or several faces using shapes already existing in other objects.
 
-To create filling in the active part:
+To create 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 a viewer.
+Select two or more edges in the viewer.
 
-**Advanced options** lets to manage filling process.
+**Advanced options** manage filling process.
 
 **Apply** button creates a filling.
 
-**Cancel** button cancels operation.
+**Cancel** button cancels the operation.
+
+**TUI Command**:
 
-**TUI Command**:  *model.addFilling(Part_doc, Edges)*
+.. 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 set of faces created from selected shapes:
+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.
+**See Also** a sample TUI Script of :ref:`tui_create_filling` operation.