Salome HOME
Task #3016: 3.2 To add a mode «through all» for features RevolutionCut and RevolutionFuse
[modules/shaper.git] / src / FeaturesPlugin / doc / unionFeature.rst
index efb06394c70ed8549203f8f640322027929705ae..3fbaf42c1bad584a0ad9441e851a3fce12307c39 100644 (file)
@@ -1,19 +1,14 @@
+.. |union_btn.icon|    image:: images/union_btn.png
 
 Union
 =====
 
-The feature Union implements a boolean operation for creation of a union of selected objects.
+Union feature implements a Boolean operation for creation of a union of selected objects.
 
-To a create boolean operation Union in the active part:
+To create a Union in the active part:
 
 #. select in the Main Menu *Features - > Union* item  or
-#. click **Union** button in the toolbar
-
-.. image:: images/union_btn.png
-   :align: center
-
-.. centered::
-   **Union**  button 
+#. click |union_btn.icon| **Union** button in the toolbar
 
 The following property panel will be opened:
 
@@ -25,13 +20,17 @@ The following property panel will be opened:
 
 Here it is necessary to select some objects. Only faces with shared edges or solids with shared faces are allowed for selection.
 
-**Apply** button creates the union shape.
+**Apply** button creates a union shape.
   
-**Cancel** button cancels operation.
+**Cancel** button cancels the operation.
+
+**TUI Command**:
 
-**TUI Command**:  *model.addUnion(Part_doc, objects)*
+.. py:function:: model.addUnion(Part_doc, objects)
 
-**Arguments**:   Part + list of objects.
+    :param part: The current part object.
+    :param list: A list of objects.
+    :return: Result object.
 
 Result
 """"""
@@ -44,4 +43,4 @@ The Result of the operation will be a shape which is a union of selected objects
 .. centered::
    **Union created**
 
-**See Also** a sample TUI Script of :ref:`tui_create_union` operation.
+**See Also** a sample TUI Script of :ref:`tui_create_union` operation.