Salome HOME
Task #3016: 3.2 To add a mode «through all» for features RevolutionCut and RevolutionFuse
[modules/shaper.git] / src / FeaturesPlugin / doc / partitionFeature.rst
index a0a262ef18724820ed936fa7fc1ae9430efa525a..7b5047ed367ae94c6b2ae16271882484f97cfc18 100644 (file)
@@ -1,3 +1,4 @@
+.. |partition_btn.icon|    image:: images/partition_btn.png
 
 Partition
 =========
@@ -7,13 +8,7 @@ Partition feature implements a boolean operation for partitioning of a set of se
 To perform a Partition in the active part:
 
 #. select in the Main Menu *Features - > Partition* item  or
-#. click **Partition** button in the toolbar
-
-.. image:: images/partition_btn.png
-   :align: center
-
-.. centered::
-   **Partition**  button 
+#. click |partition_btn.icon| **Partition** button in the toolbar
 
 The following property panel will be opened:
 
@@ -25,9 +20,13 @@ The following property panel will be opened:
 
 **Base Objects** contains a list of objects selected in the Object Browser or in the Viewer, which will be partitioned.
 
-**TUI Command**:  *model.addPartition(Part_doc, objects)*
+**TUI Command**:
+
+.. py:function:: model.addPartition(Part_doc, objects)
 
-**Arguments**:   Part + list of objects.
+    :param part: The current part object.
+    :param object: A list of objects.
+    :return: Created object.
 
 Result
 """"""